Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_npod_trade_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20180501110031)

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

Error Message

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

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/gpkit_ResearchModel_solar_PR/mosek/gpkit/gpkit/tests/helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "/Users/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 "/Users/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 "/Users/jenkins/workspace/gpkit_ResearchModel_solar_PR/mosek/gpkit/gpkit/constraints/prog_factories.py", line 122, in solvefn
    self.program, progsolve = genfunction(self)
  File "/Users/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 "/Users/jenkins/workspace/gpkit_ResearchModel_solar_PR/mosek/gpkit/gpkit/constraints/sgp.py", line 64, in __init__
    self._gp = self.init_gp(self.substitutions)
  File "/Users/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 "/Users/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 "/Users/jenkins/workspace/gpkit_ResearchModel_solar_PR/mosek/gpkit/gpkit/constraints/set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "/Users/jenkins/workspace/gpkit_ResearchModel_solar_PR/mosek/gpkit/gpkit/constraints/set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "/Users/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 "/Users/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 5.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 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.9642 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 5.46 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.9968 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 4.35 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.7359 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.67 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 3.47 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.5990 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 1.73 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.45 seconds.
Allowing negative dual variable(s) as small as -3.906440278640393e-13.
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.7492 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.03 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 3.18 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.5990 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.42 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.5081 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 3.39 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.4000 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.11544275077 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543947881 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.27606821662 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606474066 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

Beginning signomial solve.
Solving took 9 GP solves and 3.3 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.4187 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.11544275134 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543947938 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.2760682167 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606474073 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

	

Standard Error

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