Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_npod_trade_py_mosek (from gpkit.tests.from_paths.TestFiles-20180501110440)

Failing for the past 1 build (Since Failed #124 )
Took 18 sec.

Error Message

The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%

Stacktrace

Traceback (most recent call last):
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 39, in test_fn
    mod.test()
  File "npod_trade.py", line 81, in test
  File "npod_trade.py", line 26, in pods
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 122, in solvefn
    self.program, progsolve = genfunction(self)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 79, in programify
    prog = program(self.cost, self, constants, **kwargs)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 64, in __init__
    self._gp = self.init_gp(self.substitutions)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 186, in init_gp
    gp = GeometricProgram(self.cost, [gpconstrs, spapproxs], substitutions)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\gp.py", line 72, in __init__
    self.posynomials.extend(self.as_posyslt1(self.substitutions))
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 498, in as_posyslt1
    hmap = self._simplify_posy_ineq(hmap, self.pmap)
  File "d:\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 442, in _simplify_posy_ineq
    " %f%%" % (self, -coeff*100))
ValueError: The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%
		

Standard Output

Beginning signomial solve.
Solving took 9 GP solves and 4.77 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9643 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9967 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6215 but bound is 50000.0000
Beginning signomial solve.
Beginning signomial solve.
Solving took 9 GP solves and 4.61 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9645 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9969 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6215 but bound is 50000.0000
Beginning signomial solve.
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.14 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7357 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.26 seconds.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6153 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.05 seconds.
Allowing negative dual variable(s) as small as -2.127108981574838e-11.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.5990 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.11 seconds.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5080 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.55 seconds.
Allowing negative dual variable(s) as small as -5.702947968932598e-14.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7361 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.29 seconds.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6530 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.06 seconds.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.5991 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.01 seconds.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5080 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 4.65 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365008.3903 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9534 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544275051 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543947856 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.2760682166 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606474063 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

Beginning signomial solve.
Solving took 9 GP solves and 4.72 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365008.4107 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9534 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544275109 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543947914 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.27606821665 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606474069 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

	

Standard Error

D:\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
D:\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: divide by zero encountered in divide
  tau = np.exp(-0.175/costhsun)