Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 190.6 kB / 22.85 MB, free: 5.645 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.017/1.017, allocations: 149.5 MB / 456.3 MB, free: 1.27 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime")
translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003231/0.003231, allocations: 73.39 kB / 0.6324 GB, free: 9.168 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2309, allocations: 87.87 MB / 0.7182 GB, free: 1.215 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002479/0.2334, allocations: 0.8879 MB / 0.7191 GB, free: 340 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.003756/0.2371, allocations: 2.486 MB / 0.7215 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2372, allocations: 0 / 0.7215 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.2373, allocations: 15.75 kB / 0.7215 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.2376, allocations: 51.56 kB / 0.7216 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.2393, allocations: 0.4905 MB / 0.722 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000478/0.2397, allocations: 319.2 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.2398, allocations: 9.812 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.2402, allocations: 151.6 kB / 0.7225 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.2405, allocations: 151.5 kB / 0.7226 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.2406, allocations: 24 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008937/0.2415, allocations: 375.7 kB / 0.723 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2416, allocations: 71.8 kB / 0.7231 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2417, allocations: 115.5 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001086/0.2428, allocations: 0.545 MB / 0.7237 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2428, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.773e-06/0.2428, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.105e-05/0.2428, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 32
 * Number of variables: 32
Notification: Performance of Generate backend data structure: time 0.001776/0.2446, allocations: 0.6037 MB / 0.7243 GB, free: 10.89 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2446, allocations: 12.62 kB / 0.7243 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2447, allocations: 24.84 kB / 0.7244 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2449, allocations: 128 kB / 0.7245 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.2451, allocations: 127.4 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.2452, allocations: 28.3 kB / 0.7246 GB, free: 10.53 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.2456, allocations: 235.9 kB / 0.7248 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2457, allocations: 4 kB / 0.7249 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2457, allocations: 7.984 kB / 0.7249 GB, free: 10.24 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2457, allocations: 4 kB / 0.7249 GB, free: 10.24 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.246, allocations: 115.7 kB / 0.725 GB, free: 10.12 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.2465, allocations: 378.2 kB / 0.7253 GB, free: 9.68 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.2483, allocations: 487.2 kB / 0.7258 GB, free: 9.094 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2486, allocations: 154.2 kB / 0.7259 GB, free: 8.906 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.2486, allocations: 12 kB / 0.726 GB, free: 8.895 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005609/0.2492, allocations: 311.6 kB / 0.7263 GB, free: 8.539 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=40): time 2.975e-06/0.2492, allocations: 0 / 0.7263 GB, free: 8.539 MB / 0.545 GB
Notification: Performance of matching and sorting (n=40): time 0.0009716/0.2501, allocations: 417 kB / 0.7267 GB, free: 8.125 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002406/0.2504, allocations: 358.6 kB / 0.727 GB, free: 7.695 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2506, allocations: 165.4 kB / 0.7272 GB, free: 7.523 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.2506, allocations: 45.69 kB / 0.7272 GB, free: 7.473 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.2507, allocations: 93.09 kB / 0.7273 GB, free: 7.375 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2508, allocations: 115 kB / 0.7274 GB, free: 7.262 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.251, allocations: 102.1 kB / 0.7275 GB, free: 7.156 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001835/0.2512, allocations: 338.8 kB / 0.7278 GB, free: 6.816 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.2515, allocations: 108.9 kB / 0.7279 GB, free: 6.711 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.2518, allocations: 172.3 kB / 0.7281 GB, free: 6.531 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.2525, allocations: 269 kB / 0.7283 GB, free: 6.262 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2525, allocations: 4 kB / 0.7283 GB, free: 6.258 MB / 0.545 GB
Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008695/0.2533, allocations: 376.5 kB / 0.7287 GB, free: 5.887 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2534, allocations: 4 kB / 0.7287 GB, free: 5.883 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2534, allocations: 4 kB / 0.7287 GB, free: 5.879 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2534, allocations: 0 / 0.7287 GB, free: 5.879 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.2538, allocations: 83.81 kB / 0.7288 GB, free: 5.797 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2538, allocations: 4 kB / 0.7288 GB, free: 5.793 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.2542, allocations: 47.75 kB / 0.7288 GB, free: 5.746 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.2542, allocations: 19.98 kB / 0.7289 GB, free: 5.727 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (56):
 * Single equations (assignments): 56
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.2544, allocations: 154.8 kB / 0.729 GB, free: 5.566 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.2545, allocations: 27.8 kB / 0.729 GB, free: 5.539 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.2553, allocations: 367.1 kB / 0.7294 GB, free: 5.18 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.2553, allocations: 8 kB / 0.7294 GB, free: 5.172 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.2553, allocations: 8 kB / 0.7294 GB, free: 5.164 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.2553, allocations: 11.92 kB / 0.7294 GB, free: 5.152 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.2558, allocations: 316.3 kB / 0.7297 GB, free: 4.801 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.2558, allocations: 7.938 kB / 0.7297 GB, free: 4.793 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.2561, allocations: 79.83 kB / 0.7298 GB, free: 4.715 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.2561, allocations: 4 kB / 0.7298 GB, free: 4.711 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.2562, allocations: 19.98 kB / 0.7298 GB, free: 4.691 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2562, allocations: 4 kB / 0.7298 GB, free: 4.688 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2562, allocations: 4 kB / 0.7298 GB, free: 4.684 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.2571, allocations: 0.4924 MB / 0.7303 GB, free: 4.133 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.2573, allocations: 71.56 kB / 0.7304 GB, free: 4.062 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.2573, allocations: 19.98 kB / 0.7304 GB, free: 4.043 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.2576, allocations: 27.98 kB / 0.7304 GB, free: 4.016 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2577, allocations: 67.72 kB / 0.7305 GB, free: 3.949 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.2578, allocations: 20 kB / 0.7305 GB, free: 3.93 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001215/0.2579, allocations: 131.2 kB / 0.7306 GB, free: 3.801 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2579, allocations: 0 / 0.7306 GB, free: 3.801 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0007188/0.2586, allocations: 219.2 kB / 0.7308 GB, free: 3.586 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp)
 * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (60):
 * Single equations (assignments): 52
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 8
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007142/0.2593, allocations: 329.2 kB / 0.7312 GB, free: 3.254 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0008055/0.2602, allocations: 319.3 kB / 0.7315 GB, free: 2.938 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2602, allocations: 4 kB / 0.7315 GB, free: 2.934 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.2605, allocations: 163.7 kB / 0.7316 GB, free: 2.773 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2608, allocations: 36.48 kB / 0.7317 GB, free: 2.738 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.262, allocations: 0.5524 MB / 0.7322 GB, free: 2.129 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.2625, allocations: 0.7688 MB / 0.7329 GB, free: 1.332 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0002198/0.2627, allocations: 59.34 kB / 0.733 GB, free: 1.277 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2629, allocations: 47.41 kB / 0.733 GB, free: 1.23 MB / 0.545 GB
Notification: Performance of SimCode: time 9.22e-07/0.2629, allocations: 0 / 0.733 GB, free: 1.23 MB / 0.545 GB
Notification: Performance of Templates: time 0.01261/0.2755, allocations: 5.88 MB / 0.7388 GB, free: 11.37 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.791418858803809]
Failed to read output from testmodel.py, exit status != 0:
0.2877564039081335 0.670919254 0.42350950099999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f25d805d7b0>