Skip to content

Failed

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

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

Error Message

'Wing' object has no attribute 'loading'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/tests/helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/tests/from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/tests/from_paths.py", line 41, in test_fn
    mod.test()
  File "gas.py", line 211, in test
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/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 "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/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 0.0186 seconds.
Using solver 'mosek_cli'
Solving for 79 variables.
Solving took 0.0857 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.214980024535 (Allowable error: 0.0001%, Actual error: 0.00068%)

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.201770977408 but the right hand side evaluated to 0.201783454441 (Allowable error: 0.0001%, Actual error: 0.0062%)

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.197679120917 (Allowable error: 0.0001%, Actual error: 0.0047%)

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.201783454441 (Allowable error: 0.0001%, Actual error: 0.0062%)

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.214969275803 (Allowable error: 0.0001%, Actual error: 0.0044%)

	

Standard Error

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