Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_solar_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20180428072208)

Failing for the past 1 build (Since Failed #90 )
Took 7.4 sec.

Error Message

'SparLoading' object has no attribute 'Sout'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/gplibrary_PR_Models/mosek/gpkit/gpkit/tests/helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/gplibrary_PR_Models/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/mosek/gpkit/gpkit/tests/from_paths.py", line 39, in test_fn
    mod.test()
  File "solar.py", line 654, in test
  File "/Users/jenkins/workspace/gplibrary_PR_Models/mosek/gpkit/gpkit/constraints/model.py", line 61, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 633, in setup
  File "/Users/jenkins/workspace/gplibrary_PR_Models/mosek/gpkit/gpkit/constraints/model.py", line 61, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 536, in setup
AttributeError: 'SparLoading' object has no attribute 'Sout'
		

Standard Output

Beginning signomial solve.
Solving took 10 GP solves and 2.84 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0537 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1372945.2828 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 79493.7395 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 2.11826075044 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825780895 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00014%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 1.63010986173 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574456 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00025%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**...] is not tight because the left hand side evaluated to 0.911985262776 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983813153 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 3.48 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0537 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1372945.2757 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 79493.7395 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 2.11826075193 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781042 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00014%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 1.63010986176 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574456 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00025%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**...] is not tight because the left hand side evaluated to 0.911985261792 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983812159 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.19 seconds.
Allowing negative dual variable(s) as small as -1.1904637912072809e-11.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.2985 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 720429.8058 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.28 seconds.
Allowing negative dual variable(s) as small as -5.283025099585275e-12.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2521 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 791679.4704 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.65 seconds.
Allowing negative dual variable(s) as small as -7.68172360036268e-11.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.1920 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 883741.3375 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 0.994 seconds.
Allowing negative dual variable(s) as small as -6.279278758531821e-12.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.1637 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 933393.0274 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.23 seconds.
Allowing negative dual variable(s) as small as -5.219840225957957e-11.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.2985 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 720429.8191 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.23 seconds.
Allowing negative dual variable(s) as small as -5.283025099585275e-12.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2521 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 791679.4704 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.65 seconds.
Allowing negative dual variable(s) as small as -1.3031981917633612e-10.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.1920 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 883741.3429 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 0.985 seconds.
Allowing negative dual variable(s) as small as -6.279278758531821e-12.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.1637 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 933393.0274 but bound is 600000.0000
Beginning signomial solve.
Solving took 10 GP solves and 3.45 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0537 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1372945.2740 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 79493.7395 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 2.118260752 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781049 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00014%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 1.63010986182 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574462 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00025%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**...] is not tight because the left hand side evaluated to 0.911985261814 meter ** 2 / second ** 2 but the right hand side evaluated to 0.91198381218 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 2.91 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0537 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1372749.4581 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 79493.7398 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 2.11826036749 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825742602 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00014%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 1.630109848 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010573087 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00025%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(2,)**...] is not tight because the left hand side evaluated to 0.911985254817 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983805206 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 702 variables.
Solving took 0.123 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.2555 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 773120.5089 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 2.68 seconds.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.2/WingAero.2_(0,), CL_Mission.1/Climb.1/AircraftDrag.2/WingAero.2 could cause inaccurate result because it is below lower bound. Solution is 1.0784 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.2/WingAero.2_(0,), Re_Mission.1/Climb.1/AircraftDrag.2/WingAero.2 could cause inaccurate result because it is above upper bound. Solution is 1002038.1154 but bound is 600000.0000
Warning: Variable [Re_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(0,),  could cause inaccurate result because it is below lower bound. Solution is 76735.5640 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(1... >= 0.00633*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_...] is not tight because the left hand side evaluated to 1.39813215563 meter ** 2 / second ** 2 but the right hand side evaluated to 1.39812954424 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00019%)

Warning: Constraint [0.151*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(2... >= 0.00633*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_...] is not tight because the left hand side evaluated to 0.803919025219 meter ** 2 / second ** 2 but the right hand side evaluated to 0.803918043783 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00012%)

Using solver 'mosek_cli'
Solving for 702 variables.
Solving took 0.209 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.2555 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 773120.3442 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 3.77 seconds.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.2/WingAero.2_(0,), CL_Mission.1/Climb.1/AircraftDrag.2/WingAero.2 could cause inaccurate result because it is below lower bound. Solution is 1.0784 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.2/WingAero.2_(0,), Re_Mission.1/Climb.1/AircraftDrag.2/WingAero.2 could cause inaccurate result because it is above upper bound. Solution is 1002041.5231 but bound is 600000.0000
Warning: Constraint [dQ_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(0,) [N... >= B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(0,)*G_M...] is not tight because the left hand side evaluated to 0.0359295931977 meter * newton but the right hand side evaluated to 0.0359295529168 kilogram * meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Variable [Re_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(0,),  could cause inaccurate result because it is below lower bound. Solution is 76735.5213 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_(1... >= 0.00633*B_Mission.1/FlightSegment.1/AircraftPerf.1/AircraftDrag.3/BladeElementProp/BladeElementPerf_...] is not tight because the left hand side evaluated to 1.39813162962 meter ** 2 / second ** 2 but the right hand side evaluated to 1.39812837496 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00023%)

	

Standard Error

/Users/jenkins/workspace/gplibrary_PR_Models/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)
/Users/jenkins/workspace/gplibrary_PR_Models/mosek/venv2_gpkit/lib/python2.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: divide by zero encountered in divide
  tau = np.exp(-0.175/costhsun)