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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 293 MB / 309 MB, free: 4.809 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.001023/0.001023, allocations: 175.7 kB / 378.7 MB, free: 1.023 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.646/1.646, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0009527/0.0009524, allocations: 86.05 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7488/1.019, allocations: 139.9 MB / 1.127 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.019, allocations: 72.25 kB / 1.127 GB, free: 33.99 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.03029/1.049, allocations: 10.13 MB / 1.137 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/1.049, allocations: 8.5 kB / 1.137 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.117e-05/1.049, allocations: 4 kB / 1.137 GB, free: 26.7 MB / 0.7292 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.001485/1.051, allocations: 0.6199 MB / 1.138 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.051, allocations: 8.031 kB / 1.138 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.051, allocations: 29.17 kB / 1.138 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.051, allocations: 185.8 kB / 1.138 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.051, allocations: 129.1 kB / 1.138 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/1.051, allocations: 25.16 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/1.052, allocations: 246.9 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.052, allocations: 4.641 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/1.052, allocations: 8.562 kB / 1.138 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.052, allocations: 4 kB / 1.138 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/1.052, allocations: 123.7 kB / 1.138 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/1.053, allocations: 0.9537 MB / 1.139 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.054, allocations: 498.8 kB / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.055, allocations: 150.9 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/1.055, allocations: 9.812 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/1.055, allocations: 315.3 kB / 1.14 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.637e-06/1.055, allocations: 0.9375 kB / 1.14 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0007821/1.056, allocations: 399.8 kB / 1.141 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/1.056, allocations: 352.5 kB / 1.141 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.056, allocations: 177.6 kB / 1.141 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/1.056, allocations: 42.5 kB / 1.141 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/1.056, allocations: 103.6 kB / 1.141 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/1.056, allocations: 115.7 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/1.056, allocations: 8 kB / 1.141 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/1.057, allocations: 338.1 kB / 1.142 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/1.057, allocations: 101.7 kB / 1.142 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/1.057, allocations: 184.2 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/1.058, allocations: 278.2 kB / 1.142 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.058, allocations: 0 / 1.142 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007052/1.058, allocations: 367 kB / 1.143 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.058, allocations: 8 kB / 1.143 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.058, allocations: 0 / 1.143 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.058, allocations: 4.609 kB / 1.143 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/1.059, allocations: 87.42 kB / 1.143 GB, free: 20.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.059, allocations: 4.609 kB / 1.143 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/1.059, allocations: 59.05 kB / 1.143 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/1.059, allocations: 23.98 kB / 1.143 GB, free: 20.77 MB / 0.7292 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.0001615/1.059, allocations: 164.7 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/1.059, allocations: 25.36 kB / 1.143 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/1.06, allocations: 356 kB / 1.143 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/1.06, allocations: 8.188 kB / 1.143 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.06, allocations: 4 kB / 1.143 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.06, allocations: 11.97 kB / 1.143 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/1.061, allocations: 358.7 kB / 1.144 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.061, allocations: 0.7031 kB / 1.144 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/1.061, allocations: 73.17 kB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.061, allocations: 4 kB / 1.144 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/1.061, allocations: 16.16 kB / 1.144 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/1.061, allocations: 8.797 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.061, allocations: 7.938 kB / 1.144 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/1.062, allocations: 493.4 kB / 1.144 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.062, allocations: 146.9 kB / 1.144 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/1.062, allocations: 17.78 kB / 1.144 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/1.062, allocations: 43.12 kB / 1.144 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.062, allocations: 49.61 kB / 1.144 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.062, allocations: 22.72 kB / 1.144 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001011/1.062, allocations: 129.3 kB / 1.145 GB, free: 18.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.12e-07/1.062, allocations: 1.031 kB / 1.145 GB, free: 18.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008051/1.063, allocations: 218.7 kB / 1.145 GB, free: 18.76 MB / 0.7292 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.000772/1.064, allocations: 325 kB / 1.145 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006132/1.065, allocations: 315.2 kB / 1.145 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.065, allocations: 0 / 1.145 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/1.065, allocations: 179.3 kB / 1.146 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/1.065, allocations: 38.69 kB / 1.146 GB, free: 18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/1.066, allocations: 0.6398 MB / 1.146 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/1.066, allocations: 0.7653 MB / 1.147 GB, free: 16.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002515/1.067, allocations: 52.38 kB / 1.147 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.067, allocations: 50.61 kB / 1.147 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/1.067, allocations: 0 / 1.147 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.01088/1.078, allocations: 4.701 MB / 1.152 GB, free: 13.83 MB / 0.7292 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)