Skip to content

Failed

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

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

Error Message

'SparLoading' object has no attribute 'Sout'

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/gplibrary_PR_Models/mosek/gpkit/gpkit/tests/helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "/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 "/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 "/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 "/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 7.08 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.2787 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.11826075494 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781346 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%)

Beginning signomial solve.
Solving took 10 GP solves and 6.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.2768 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.11826075497 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781349 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.63010986525 meter ** 2 / second ** 2 but the right hand side evaluated to 1.6301057481 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.911985264148 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814533 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 12129 variables.
Solving took 3.39 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.8205 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 3.56 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.4792 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.44 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.3147 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 1.52 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.0315 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 3.56 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.8216 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 3.92 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.4787 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.29 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.3243 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 1.56 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 6.23 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.2753 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.11825781345 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%)

Beginning signomial solve.
Solving took 10 GP solves and 6.55 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.2741 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.11825781345 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.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.911985264136 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814521 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Using solver 'mosek'
Solving for 702 variables.
Solving took 0.354 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 6.05 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.7370 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.803919027515 meter ** 2 / second ** 2 but the right hand side evaluated to 0.80391804608 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00012%)

Using solver 'mosek_cli'
Solving for 702 variables.
Solving took 0.609 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 8.32 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

/jenkins/workspace/gplibrary_PR_Models/mosek/venv2_gpkit/local/lib/python2.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
/jenkins/workspace/gplibrary_PR_Models/mosek/venv2_gpkit/local/lib/python2.7/site-packages/gassolar/environment/solar_irradiance.py:40: RuntimeWarning: divide by zero encountered in divide
  tau = np.exp(-0.175/costhsun)