Skip to content

Failed

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

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

Error Message

None

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 55, 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 368, in test
    m.solve()
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/prog_factories.py", line 132, in solvefn
    result = progsolve(solver, verbosity=verbosity, **solveargs)
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/gp.py", line 247, in solve
    self._result = self.generate_result(solver_out, verbosity=verbosity-2)
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/gp.py", line 263, in generate_result
    result = self._compile_result(solver_out)  # NOTE: SIDE EFFECTS
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/gp.py", line 361, in _compile_result
    dlogv_dlogc = dv_dc * result["constants"][c]/val
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/keydict.py", line 176, in __getitem__
    raise KeyError(key)
KeyError: None
		

Standard Output

Warning: skipped auto-differentiation of linked variable Mission.Aircraft.Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission.Aircraft.Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission.Aircraft.Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Using solver 'mosek_cli'
 for 592 free variables
  in 918 posynomial inequalities.
Solving took 0.0901 seconds.
Warning: skipped auto-differentiation of linked variable Mission1.Aircraft.Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission1.Aircraft.Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission1.Aircraft.Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Using solver 'mosek_conif'
 for 592 free variables
  in 918 posynomial inequalities.
Solving took 0.242 seconds.
Warning: skipped auto-differentiation of linked variable Mission2.Aircraft.Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission2.Aircraft.Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission2.Aircraft.Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Using solver 'mosek_cli'
 for 1250 free variables
  in 1872 posynomial inequalities.
Solving took 0.27 seconds.
Warning: skipped auto-differentiation of linked variable Mission3.Aircraft.Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission3.Aircraft.Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Warning: skipped auto-differentiation of linked variable Mission3.Aircraft.Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly.

Using solver 'mosek_conif'
 for 1250 free variables
  in 1872 posynomial inequalities.
Solving took 0.308 seconds.
	

Standard Error

<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gpfit/fit_constraintset.py:46: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  for k in range(fitdata["K"])]
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)
<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gpfit/fit_constraintset.py:46: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  for k in range(fitdata["K"])]
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)
<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gpfit/fit_constraintset.py:46: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  for k in range(fitdata["K"])]
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)
<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/gpfit/fit_constraintset.py:46: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  for k in range(fitdata["K"])]
/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)
/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/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)