Skip to content

Failed

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

Failing for the past 1 build (Since Failed #61 )
Took 11 sec.

Error Message

setup() takes exactly 4 arguments (5 given)

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/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_Sierra/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_Sierra/optimizer/mosek/gpkit/gpkit/tests/from_paths.py", line 39, in test_fn
    mod.test()
  File "solar.py", line 486, in test
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/constraints/model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 467, in setup
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/constraints/model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "solar.py", line 85, in setup
  File "/Users/jenkins/workspace/gplibrary_PR_Models/buildnode/macys_Sierra/optimizer/mosek/gpkit/gpkit/constraints/model.py", line 59, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
TypeError: setup() takes exactly 4 arguments (5 given)
		

Standard Output

Using solver 'mosek'
Solving for 5670 variables.
Solving took 1.77 seconds.
Allowing negative dual variable(s) as small as -1.51856643698e-10.
Warning: Variable Re_Mission/FlightSegment.38/AircraftPerf.38/WingAero.38 could cause inaccurate result because it is below lower bound. Solution is 120042.1842 but bound is 125000.0000
Warning: Variable Re_Mission/FlightSegment.39/AircraftPerf.39/WingAero.39 could cause inaccurate result because it is below lower bound. Solution is 121471.1931 but bound is 125000.0000
Using solver 'mosek'
Solving for 5670 variables.
Solving took 1.95 seconds.
Allowing negative dual variable(s) as small as -1.04691609372e-11.
Warning: Variable Re_Mission.1/FlightSegment.78/AircraftPerf.78/WingAero.78 could cause inaccurate result because it is below lower bound. Solution is 122823.1054 but bound is 125000.0000
Warning: Variable Re_Mission.1/FlightSegment.79/AircraftPerf.79/WingAero.79 could cause inaccurate result because it is below lower bound. Solution is 123244.7116 but bound is 125000.0000
Using solver 'mosek'
Solving for 5670 variables.
Solving took 1.41 seconds.
Allowing negative dual variable(s) as small as -2.83325409485e-10.
Using solver 'mosek'
Solving for 2910 variables.
Solving took 0.682 seconds.
Allowing negative dual variable(s) as small as -2.62694790375e-12.
Using solver 'mosek'
Solving for 5670 variables.
Solving took 1.79 seconds.
Allowing negative dual variable(s) as small as -1.51856643698e-10.
Warning: Variable Re_Mission/FlightSegment.38/AircraftPerf.38/WingAero.38 could cause inaccurate result because it is below lower bound. Solution is 120042.1842 but bound is 125000.0000
Warning: Variable Re_Mission/FlightSegment.39/AircraftPerf.39/WingAero.39 could cause inaccurate result because it is below lower bound. Solution is 121471.1931 but bound is 125000.0000
Using solver 'mosek'
Solving for 5670 variables.
Solving took 2.09 seconds.
Allowing negative dual variable(s) as small as -6.44466381796e-12.
Warning: Variable Re_Mission.1/FlightSegment.78/AircraftPerf.78/WingAero.78 could cause inaccurate result because it is below lower bound. Solution is 122823.1054 but bound is 125000.0000
Warning: Variable Re_Mission.1/FlightSegment.79/AircraftPerf.79/WingAero.79 could cause inaccurate result because it is below lower bound. Solution is 123244.7114 but bound is 125000.0000
Using solver 'mosek'
Solving for 5670 variables.
Solving took 1.44 seconds.
Allowing negative dual variable(s) as small as -2.85751144415e-10.
Using solver 'mosek'
Solving for 2910 variables.
Solving took 0.684 seconds.
Allowing negative dual variable(s) as small as -2.62694790375e-12.
Using solver 'mosek'
Solving for 288 variables.
Solving took 0.073 seconds.
Warning: Variable Re_Mission/FlightSegment/AircraftPerf/WingAero could cause inaccurate result because it is below lower bound. Solution is 122179.8905 but bound is 125000.0000
Using solver 'mosek'
Solving for 288 variables.
Solving took 0.0735 seconds.
Warning: Variable Re_Mission/FlightSegment/AircraftPerf/WingAero could cause inaccurate result because it is below lower bound. Solution is 122179.8905 but bound is 125000.0000
Using solver 'mosek'
Solving for 2910 variables.
Solving took 0.672 seconds.
Allowing negative dual variable(s) as small as -2.63203686037e-12.
Using solver 'mosek_cli'
Solving for 2910 variables.
Solving took 0.887 seconds.
Allowing negative dual variable(s) as small as -2.765133e-12.
	

Standard Error

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