Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_sens_chart_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200305002142)

Failing for the past 1 build (Since Failed #429 )
Took 3 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/solar/solar/sens_chart.py", line 97, in test
    result = model.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


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.67 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 1.38 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.41 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 1.76 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 1.76 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 1.33 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.00018% 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.

SGP not convergent: Cost rose by 0.0014% on GP solve 6. 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.08470235987166212, not 1
Solving took 3.82 seconds and 8 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 1632909.1468 but bound is 600000.0000
Warning: Variable Mission.Climb.AircraftDrag.TailAero1.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1259326.5793 but bound is 1000000.0000
Using solver 'mosek_cli'
 for 7672 free variables
  in 10814 posynomial inequalities.
Solving took 3.52 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 5.66 seconds.
Solution check warning: Dual variables associated with objective sum to 0.006639716358768567, 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 839133.3714 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 1.37 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.04202429954818225, not 1
Solving took 1.85 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 1119115.9418 but bound is 600000.0000
	

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/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/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)