Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_solar_solar_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200305001928)

Failing for the past 1 build (Since Failed #429 )
Took 11 sec.

Error Message

gpkit.PosynomialInequality(SGP.PCCPslack >= 1)

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/tests/helpers.py", line 59, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/tests/from_paths.py", line 48, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/tests/from_paths.py", line 37, in test_fn
    mod.test()
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gassolar/gassolar/solar/solar.py", line 371, in test
    m.localsolve()
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/prog_factories.py", line 126, in solvefn
    result = progsolve(solver, verbosity=verbosity, **kwargs)
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/sgp.py", line 223, in localsolve
    del self.result["sensitivities"]["constraints"][slackconstraint]
KeyError: gpkit.PosynomialInequality(SGP.PCCPslack >= 1)
		

Standard Output

Using solver 'mosek_cli'
 for 592 free variables
  in 918 posynomial inequalities.
Solving took 0.216 seconds.
Warning: Variable Mission.Climb.FlightSegment.AircraftPerf.EnginePerf.P_{total}[:]/Mission.Climb.FlightSegment.Aircraf could cause inaccurate result because it is above upper bound. Solution is 1.0000 but bound is 0.9685
Starting a sequence of GP solves
 for 5 free variables
  in 2 signomial constraints
  and for 600 free variables
       in 926 posynomial inequalities.
Solving took 0.804 seconds and 4 GP solves.
Warning: Variable Mission1.Climb.FlightSegment.AircraftPerf.EnginePerf.P_{total}[:]/Mission1.Climb.FlightSegment.Aircr could cause inaccurate result because it is above upper bound. Solution is 1.0000 but bound is 0.9685
Using solver 'mosek_conif'
 for 592 free variables
  in 918 posynomial inequalities.
Solving took 0.173 seconds.
Solution check warning: Dual variables associated with objective sum to 0.08821787390634958, not 1
Warning: Variable Mission.Climb.FlightSegment.AircraftPerf.EnginePerf.P_{total}[:]/Mission.Climb.FlightSegment.Aircraf could cause inaccurate result because it is above upper bound. Solution is 1.0000 but bound is 0.9685
Starting a sequence of GP solves
 for 5 free variables
  in 2 signomial constraints
  and for 600 free variables
       in 926 posynomial inequalities.
Solution check warning: Dual variables associated with objective sum to 0.02096601669284706, not 1
Solving took 0.913 seconds and 4 GP solves.
Warning: Variable Mission1.Climb.FlightSegment.AircraftPerf.EnginePerf.P_{total}[:]/Mission1.Climb.FlightSegment.Aircr could cause inaccurate result because it is above upper bound. Solution is 1.0000 but bound is 0.9685
Using solver 'mosek_cli'
 for 1250 free variables
  in 1872 posynomial inequalities.
Solving took 0.454 seconds.
Warning: Variable Mission2.FlightSegment.AircraftPerf.WingAero.Re could cause inaccurate result because it is below lower bound. Solution is 102558.6388 but bound is 150000.0000
Warning: Variable Mission2.FlightSegment10.AircraftPerf.WingAero.Re could cause inaccurate result because it is below lower bound. Solution is 102558.6388 but bound is 150000.0000
Starting a sequence of GP solves
 for 25 free variables
  in 12 signomial constraints
  and for 1298 free variables
       in 1930 posynomial inequalities.
Solving took 2.25 seconds and 4 GP solves.
Warning: Variable Mission3.FlightSegment.AircraftPerf.WingAero.Re could cause inaccurate result because it is below lower bound. Solution is 103379.2971 but bound is 150000.0000
Warning: Variable Mission3.FlightSegment10.AircraftPerf.WingAero.Re could cause inaccurate result because it is below lower bound. Solution is 103406.1793 but bound is 150000.0000
Using solver 'mosek_conif'
 for 1250 free variables
  in 1872 posynomial inequalities.
Solving took 0.58 seconds.
Solution check warning: Dual variables associated with objective sum to 3.134853621238748, not 1
Starting a sequence of GP solves
 for 25 free variables
  in 12 signomial constraints
  and for 1298 free variables
       in 1930 posynomial inequalities.
Solution check warning: Dual variables associated with objective sum to 0.06018829639737835, not 1
Solving took 5.41 seconds and 4 GP solves.
	

Standard Error

/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)