Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_gas_gas_py_mosek (from gpkit.tests.from_paths.TestFiles-20171110165325)

Failing for the past 1 build (Since Failed #50 )
Took 2.3 sec.

Error Message

'Wing' object has no attribute 'loading'

Stacktrace

Traceback (most recent call last):
  File "c:\users\jenkins\workspace\gplibrary_pr_models\buildnode\windows10x64\optimizer\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\buildnode\windows10x64\optimizer\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "c:\users\jenkins\workspace\gplibrary_pr_models\buildnode\windows10x64\optimizer\mosek\gpkit\gpkit\tests\from_paths.py", line 41, in test_fn
    mod.test()
  File "gas.py", line 211, in test
  File "c:\users\jenkins\workspace\gplibrary_pr_models\buildnode\windows10x64\optimizer\mosek\gpkit\gpkit\constraints\model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "gas.py", line 186, in setup
  File "gas.py", line 70, in loading
  File "c:\users\jenkins\workspace\gplibrary_pr_models\buildnode\windows10x64\optimizer\mosek\gpkit\gpkit\constraints\model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "gas.py", line 76, in setup
AttributeError: 'Wing' object has no attribute 'loading'
		

Standard Output

Using solver 'mosek'
Solving for 79 variables.
Solving took 1.04 seconds.
Allowing negative dual variable(s) as small as -6.75666383954e-10.
Using solver 'mosek_cli'
Solving for 79 variables.
Solving took 1.69 seconds.
Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(0,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(0,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.214978555003 but the right hand side evaluated to 0.214969275803 (Allowable error: 0.0001%, Actual error: 0.0043%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(1,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(1,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.201770775637 but the right hand side evaluated to 0.201773365521 (Allowable error: 0.0001%, Actual error: 0.0013%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(2,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(2,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.197669862696 but the right hand side evaluated to 0.197669237208 (Allowable error: 0.0001%, Actual error: 0.00032%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(3,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(3,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.201770977408 but the right hand side evaluated to 0.201773365521 (Allowable error: 0.0001%, Actual error: 0.0012%)

Warning: Constraint [z_{bre}_Mission/Loiter/FlightSegment/BreguetEndurance_(4,)... >= 2.45*BSFC_Mission/Loiter/FlightSegment/AircraftPerf_(4,)*P_{total}_Mission/Loiter/FlightSegment/Airc...] is not tight because the left hand side evaluated to 0.214978769982 but the right hand side evaluated to 0.214990773805 (Allowable error: 0.0001%, Actual error: 0.0056%)

	

Standard Error

C:\Users\jenkins\workspace\gplibrary_PR_Models\buildnode\windows10x64\optimizer\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)