Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_npod_trade_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200305000802)

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

Error Message

gpkit.PosynomialInequality(SGP.PCCPslack >= 1)

Stacktrace

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

Standard Output


N=1
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 980 free variables
       in 1300 posynomial inequalities.
Solving took 1.78 seconds and 4 GP solves.
Warning: Variable Mission.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 0.8904 but bound is 0.9465
Warning: Variable Mission.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1632919.3776 but bound is 600000.0000
Warning: Variable Mission.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1259329.5070 but bound is 1000000.0000

N=3
Starting a sequence of GP solves
 for 67 free variables
  in 23 signomial constraints
  and for 1032 free variables
       in 1384 posynomial inequalities.
Solving took 2.11 seconds and 4 GP solves.
Warning: Variable Mission1.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.1135 but bound is 0.9465
Warning: Variable Mission1.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1036209.6021 but bound is 600000.0000
Warning: Variable Mission1.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1006641.3990 but bound is 1000000.0000

N=5
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 1084 free variables
       in 1492 posynomial inequalities.
Solving took 1.79 seconds and 4 GP solves.
Warning: Variable Mission2.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.0043 but bound is 0.9465
Warning: Variable Mission2.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1329202.9037 but bound is 600000.0000
Warning: Variable Mission2.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1208149.0070 but bound is 1000000.0000

N=7
Starting a sequence of GP solves
 for 71 free variables
  in 27 signomial constraints
  and for 1136 free variables
       in 1624 posynomial inequalities.
Solving took 2.07 seconds and 4 GP solves.
Warning: Variable Mission3.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.1643 but bound is 0.9465
Warning: Variable Mission3.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 976138.7332 but bound is 600000.0000
Warning: Variable Mission3.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1042059.9154 but bound is 1000000.0000

N=9
Starting a sequence of GP solves
 for 73 free variables
  in 29 signomial constraints
  and for 1188 free variables
       in 1780 posynomial inequalities.
Solving took 2.11 seconds and 4 GP solves.
Warning: Variable Mission4.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.1567 but bound is 0.9465
Warning: Variable Mission4.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1007396.6632 but bound is 600000.0000
Warning: Variable Mission4.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1092544.5684 but bound is 1000000.0000

N=0
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 954 free variables
       in 1269 posynomial inequalities.
Solving took 6.43 seconds and 4 GP solves.
Warning: Variable Mission5.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.0536 but bound is 0.9465
Warning: Variable Mission5.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1119116.3963 but bound is 600000.0000

N=1
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 980 free variables
       in 1300 posynomial inequalities.
SGP not convergent: Cost rose by 0.00014% on GP solve 4. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities.

Solution check warning: Dual variables associated with objective sum to 0.08470093570553418, not 1
Solving took 3.54 seconds and 6 GP solves.
Warning: Variable Mission.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 0.8904 but bound is 0.9465
Warning: Variable Mission.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1632916.0064 but bound is 600000.0000
Warning: Variable Mission.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1259330.3647 but bound is 1000000.0000
Using solver 'mosek_cli'
 for 7672 free variables
  in 10814 posynomial inequalities.
Solving took 2.72 seconds.
Warning: Variable Mission1.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable Mission1.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 839120.8369 but bound is 600000.0000
Using solver 'mosek_conif'
 for 7672 free variables
  in 10814 posynomial inequalities.
Solving took 4.89 seconds.
Solution check warning: Dual variables associated with objective sum to 0.006639730406499449, not 1
Warning: Variable Mission.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable Mission.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 839122.6716 but bound is 600000.0000
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 954 free variables
       in 1269 posynomial inequalities.
Solving took 2.18 seconds and 4 GP solves.
Warning: Variable Mission.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.0536 but bound is 0.9465
Warning: Variable Mission.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1119116.3963 but bound is 600000.0000
Starting a sequence of GP solves
 for 63 free variables
  in 21 signomial constraints
  and for 954 free variables
       in 1269 posynomial inequalities.
Solution check warning: Dual variables associated with objective sum to 0.04202197791360725, not 1
Solving took 3.73 seconds and 4 GP solves.
Warning: Variable Mission.Climb.AircraftDrag.WingAero.CL[:] could cause inaccurate result because it is below lower bound. Solution is 1.0536 but bound is 0.9465
Warning: Variable Mission.Climb.AircraftDrag.WingAero.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1119117.1855 but bound is 600000.0000
	

Standard Error

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