Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_solar_py_mosek (from gpkit.tests.from_paths.TestFiles-20180428102213)

Failing for the past 1 build (Since Failed #90 )
Took 5.6 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 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.2743 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.11826075492 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781344 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.63010986522 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574807 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.911985264135 meter ** 2 / second ** 2 but the right hand side evaluated to 0.91198381452 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 3.52 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.2708 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.11826075492 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781344 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.63010986523 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574808 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.911985264138 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814523 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.04 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.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.8203 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.13 seconds.
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.4707 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.3 seconds.
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.3290 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 0.731 seconds.
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.0310 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 1.98 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.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.8234 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.05 seconds.
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.4816 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 2.4 seconds.
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.3407 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 0.674 seconds.
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.0311 but bound is 600000.0000
Beginning signomial solve.
Solving took 10 GP solves and 3.38 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.2738 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.1182607549 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781342 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.63010986521 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574806 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.911985264131 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814516 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 3.22 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.3769 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.11826075524 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781376 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.63010986523 meter ** 2 / second ** 2 but the right hand side evaluated to 1.63010574808 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.911985264139 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814524 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 702 variables.
Solving took 0.0963 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.5118 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 2.7 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.7226 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.5639 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.39813215992 meter ** 2 / second ** 2 but the right hand side evaluated to 1.39812954853 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.803919027519 meter ** 2 / second ** 2 but the right hand side evaluated to 0.803918046084 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00012%)

Using solver 'mosek_cli'
Solving for 702 variables.
Solving took 0.286 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 4.22 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)