Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_season_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20210425161422)

Failing for the past 1 build (Since Failed #484 )
Took 8.7 sec.

Error Message

None

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/tests/helpers.py", line 55, 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/season.py", line 60, in test
    _ = season(lats=[20], days=[355])
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/solar/solar/season.py", line 24, in season
    sol = M.solve()
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/prog_factories.py", line 132, in solvefn
    result = progsolve(solver, verbosity=verbosity, **solveargs)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/gp.py", line 247, in solve
    self._result = self.generate_result(solver_out, verbosity=verbosity-2)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/gp.py", line 263, in generate_result
    result = self._compile_result(solver_out)  # NOTE: SIDE EFFECTS
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/gp.py", line 361, in _compile_result
    dlogv_dlogc = dv_dc * result["constants"][c]/val
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/keydict.py", line 176, in __getitem__
    raise KeyError(key)
KeyError
		

Standard Output


N=1
Warning: skipped auto-differentiation of linked variable Mission.Climb.rho[0,0] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: linked function for Mission.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Starting a sequence of GP solves
 for 85 free variables
  in 21 locally-GP constraints
  and for 980 free variables
       in 1300 posynomial inequalities.

N=1
Warning: skipped auto-differentiation of linked variable Mission1.Climb.rho[0,3] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: linked function for Mission1.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Starting a sequence of GP solves
 for 85 free variables
  in 21 locally-GP constraints
  and for 980 free variables
       in 1300 posynomial inequalities.
Warning: skipped auto-differentiation of linked variable Mission2.Climb.rho[0,3] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: linked function for Mission2.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Using solver 'mosek_cli'
 for 7672 free variables
  in 10814 posynomial inequalities.
Solving took 2.35 seconds.
Warning: skipped auto-differentiation of linked variable Mission3.Climb.rho[0,4] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: linked function for Mission3.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Using solver 'mosek_conif'
 for 7672 free variables
  in 10814 posynomial inequalities.
Solving took 4.63 seconds.
Warning: linked function for Mission4.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Warning: skipped auto-differentiation of linked variable Mission4.Climb.rho[0,2] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Starting a sequence of GP solves
 for 85 free variables
  in 21 locally-GP constraints
  and for 954 free variables
       in 1269 posynomial inequalities.
Warning: skipped auto-differentiation of linked variable Mission5.Climb.rho[0,4] because ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()',) was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: linked function for Mission5.Climb.dh did not return a united value. Modifying it to do so (e.g. by using `()` instead of `[]` to access variables) would reduce the risk of errors.
Starting a sequence of GP solves
 for 85 free variables
  in 21 locally-GP constraints
  and for 954 free variables
       in 1269 posynomial inequalities.
	

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