Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_solar_solar_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20171110164718)

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

Error Message

'Wing' object has no attribute 'loading'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys/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/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/optimizer/mosek/gpkit/gpkit/tests/from_paths.py", line 41, in test_fn
    mod.test()
  File "solar.py", line 361, in test
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys/optimizer/mosek/gpkit/gpkit/constraints/model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 319, in setup
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys/optimizer/mosek/gpkit/gpkit/constraints/model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 271, in setup
AttributeError: 'Wing' object has no attribute 'loading'
		

Standard Output

Using solver 'mosek'
Solving for 79 variables.
Solving took 0.891 seconds.
Using solver 'mosek_cli'
Solving for 79 variables.
Solving took 0.439 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.214978984961 but the right hand side evaluated to 0.214969920711 (Allowable error: 0.0001%, Actual error: 0.0042%)

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

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

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

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

	

Standard Error

/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys/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)