Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_gas_gas_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20210425180646)

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

Error Message

None

Stacktrace

Traceback (most recent call last):
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\tests\helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\tests\from_paths.py", line 48, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\tests\from_paths.py", line 37, in test_fn
    mod.test()
  File "C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\gassolar\gassolar\gas\gas.py", line 204, in test
    model.solve()
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\constraints\prog_factories.py", line 132, in solvefn
    result = progsolve(solver, verbosity=verbosity, **solveargs)
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\constraints\gp.py", line 247, in solve
    self._result = self.generate_result(solver_out, verbosity=verbosity-2)
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\constraints\gp.py", line 263, in generate_result
    result = self._compile_result(solver_out)  # NOTE: SIDE EFFECTS
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\constraints\gp.py", line 361, in _compile_result
    dlogv_dlogc = dv_dc * result["constants"][c]/val
  File "c:\users\jenkins\workspace\ce_gpkit_pr_research_models\buildnode\windows10x64\optimizer\mosek\gpkit\keydict.py", line 176, in __getitem__
    raise KeyError(key)
KeyError: None
		

Standard Output

Using solver 'mosek_cli'
 for 592 free variables
  in 918 posynomial inequalities.
Solving took 0.651 seconds.
		

Standard Error

C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\venv_gpkit\lib\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"])]
C:\Anaconda3\lib\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)
C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)
C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\venv_gpkit\lib\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"])]
C:\Anaconda3\lib\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)
C:\Users\jenkins\workspace\CE_gpkit_PR_research_models\buildnode\windows10x64\optimizer\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped.
  warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning)