Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 289.7 MB / 302.2 MB, free: 2.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 182.1 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000976/0.0009766, allocations: 94.19 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.476e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3174, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9352/1.253, allocations: 139.7 MB / 1.116 GB, free: 44.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/1.253, allocations: 73.2 kB / 1.116 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02971/1.283, allocations: 10.35 MB / 1.126 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/1.283, allocations: 4 kB / 1.126 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.283, allocations: 3.906 kB / 1.126 GB, free: 38.2 MB / 0.7448 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.001215/1.284, allocations: 0.6208 MB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.284, allocations: 8.031 kB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.284, allocations: 21.53 kB / 1.127 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.284, allocations: 189.1 kB / 1.127 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/1.284, allocations: 138.6 kB / 1.127 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/1.284, allocations: 15.06 kB / 1.127 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/1.285, allocations: 235.9 kB / 1.128 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.285, allocations: 4 kB / 1.128 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.285, allocations: 15.91 kB / 1.128 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.285, allocations: 4 kB / 1.128 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/1.285, allocations: 107.4 kB / 1.128 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/1.285, allocations: 395.2 kB / 1.128 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.287, allocations: 490.4 kB / 1.129 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.287, allocations: 155.6 kB / 1.129 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/1.287, allocations: 11.98 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/1.287, allocations: 312.2 kB / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/1.287, allocations: 0 / 1.129 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0006131/1.288, allocations: 322.5 kB / 1.129 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.288, allocations: 353.2 kB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.288, allocations: 153.4 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/1.288, allocations: 39.33 kB / 1.13 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/1.288, allocations: 96.7 kB / 1.13 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.288, allocations: 113.7 kB / 1.13 GB, free: 34.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/1.288, allocations: 10.94 kB / 1.13 GB, free: 34.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/1.289, allocations: 336.2 kB / 1.13 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/1.289, allocations: 104.9 kB / 1.131 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/1.289, allocations: 151.3 kB / 1.131 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/1.289, allocations: 108.8 kB / 1.131 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.289, allocations: 4 kB / 1.131 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005118/1.29, allocations: 359.4 kB / 1.131 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.29, allocations: 4 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.29, allocations: 0 / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.29, allocations: 4 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/1.29, allocations: 81.55 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.29, allocations: 0 / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/1.29, allocations: 61.61 kB / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/1.29, allocations: 18.88 kB / 1.131 GB, free: 33.74 MB / 0.7448 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete 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.0001059/1.291, allocations: 139 kB / 1.131 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/1.291, allocations: 30.92 kB / 1.131 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/1.291, allocations: 356.9 kB / 1.132 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.291, allocations: 12 kB / 1.132 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.291, allocations: 4.562 kB / 1.132 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/1.291, allocations: 7.422 kB / 1.132 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/1.292, allocations: 347.5 kB / 1.132 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.292, allocations: 8.891 kB / 1.132 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/1.292, allocations: 73.3 kB / 1.132 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.292, allocations: 4 kB / 1.132 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.292, allocations: 26.23 kB / 1.132 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.292, allocations: 7.938 kB / 1.132 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.292, allocations: 4 kB / 1.132 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/1.293, allocations: 0.6001 MB / 1.133 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/1.293, allocations: 152 kB / 1.133 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/1.293, allocations: 22.25 kB / 1.133 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/1.293, allocations: 41.66 kB / 1.133 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/1.293, allocations: 47.59 kB / 1.133 GB, free: 32.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/1.293, allocations: 22.78 kB / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.781e-05/1.293, allocations: 132.4 kB / 1.133 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.293, allocations: 0 / 1.133 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006915/1.294, allocations: 223.9 kB / 1.133 GB, free: 31.87 MB / 0.7448 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) * 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.0006345/1.295, allocations: 330.2 kB / 1.134 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000473/1.295, allocations: 311.2 kB / 1.134 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.295, allocations: 0 / 1.134 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/1.295, allocations: 184.5 kB / 1.134 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.296, allocations: 33.72 kB / 1.134 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/1.296, allocations: 443 kB / 1.135 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/1.297, allocations: 0.7676 MB / 1.135 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002129/1.297, allocations: 55.2 kB / 1.135 GB, free: 30.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/1.297, allocations: 49.38 kB / 1.136 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/1.297, allocations: 0 / 1.136 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.008132/1.305, allocations: 4.82 MB / 1.14 GB, free: 27.27 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)