Skip to content

Failed

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

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

Error Message

'SparLoading' object has no attribute 'Sout'

Stacktrace

Traceback (most recent call last):
  File "d:\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "d:\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 "d:\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 "d:\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 "d:\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 6.69 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 1372946.1519 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.1182607574 meter ** 2 / second ** 2 but the right hand side evaluated to 2.11825781592 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.63010986524 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.911985264156 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814541 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 6.73 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.2779 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.11826075493 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.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 12129 variables.
Solving took 4.16 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.8177 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.08 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.4824 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.77 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.3351 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 1.62 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 4.36 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.8204 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.25 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.4808 but bound is 600000.0000
Using solver 'mosek'
Solving for 12129 variables.
Solving took 4.74 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.3340 but bound is 600000.0000
Using solver 'mosek'
Solving for 6269 variables.
Solving took 1.45 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.0312 but bound is 600000.0000
Beginning signomial solve.
Solving took 10 GP solves and 6.59 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.2718 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.11826075491 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.911985264137 meter ** 2 / second ** 2 but the right hand side evaluated to 0.911983814522 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00016%)

Beginning signomial solve.
Solving took 10 GP solves and 6.59 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.11826075493 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%)

Using solver 'mosek'
Solving for 702 variables.
Solving took 0.311 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 7.2 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.7300 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.39812954852 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.803919027516 meter ** 2 / second ** 2 but the right hand side evaluated to 0.803918046081 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00012%)

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

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