Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.77/4.77, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002535/0.002534, allocations: 361.1 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.223/4.223, allocations: 410.7 MB / 1.113 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0019/0.0019, allocations: 183.3 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004873, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7224, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.9165, allocations: 138.7 MB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9168, allocations: 77.73 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.04812/0.965, allocations: 10.07 MB / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/0.965, allocations: 0.9062 kB / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.965, allocations: 4 kB / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001638/0.9667, allocations: 0.6339 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.9667, allocations: 16.16 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.9668, allocations: 24.16 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.967, allocations: 190.2 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.9671, allocations: 130.7 kB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.9672, allocations: 23.98 kB / 1.608 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.9677, allocations: 243.5 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9677, allocations: 3.938 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.9678, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.9678, allocations: 14.05 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.9681, allocations: 115.8 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.9691, allocations: 0.9596 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.9714, allocations: 482.4 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.9717, allocations: 160.6 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.9718, allocations: 14.05 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.9724, allocations: 306.8 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 3.657e-06/0.9724, allocations: 0 / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.001143/0.9735, allocations: 406.8 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/0.9737, allocations: 355.7 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.9738, allocations: 170.6 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.9739, allocations: 42.27 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.974, allocations: 106.8 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.9741, allocations: 118.4 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.9741, allocations: 4 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.9742, allocations: 334.8 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.9746, allocations: 101.9 kB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.9751, allocations: 183 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.9756, allocations: 117.6 kB / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9756, allocations: 0 / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001104/0.9767, allocations: 368 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9767, allocations: 8 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.9768, allocations: 0 / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.9768, allocations: 5.156 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.9775, allocations: 83.83 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.9775, allocations: 7.938 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.978, allocations: 58.97 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.9781, allocations: 23.98 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.9783, allocations: 151.8 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.9784, allocations: 32.05 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.9794, allocations: 356.6 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.9795, allocations: 11.97 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.9795, allocations: 11.89 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.9795, allocations: 11.92 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.98, allocations: 349.3 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.98, allocations: 4 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.9805, allocations: 79.83 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.9806, allocations: 4 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.9806, allocations: 16 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.9806, allocations: 8 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9806, allocations: 0 / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.9816, allocations: 492.3 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.9818, allocations: 152.5 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.9819, allocations: 16.64 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.9823, allocations: 37.64 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.9824, allocations: 57.84 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.9825, allocations: 20 kB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9826, allocations: 134.7 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9827, allocations: 0.6562 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008779/0.9835, allocations: 215.7 kB / 1.614 GB, free: 127.1 MB / 0.8542 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006988/0.9843, allocations: 323.5 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.9852, allocations: 311.9 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9852, allocations: 0 / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.9856, allocations: 180.5 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.986, allocations: 37.31 kB / 1.615 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.9873, allocations: 0.6382 MB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.9875, allocations: 0.7648 MB / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003782/0.9879, allocations: 62.2 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.9881, allocations: 43.98 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.9881, allocations: 0 / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01251/1.001, allocations: 4.699 MB / 1.621 GB, free: 120.2 MB / 0.8542 GB