Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 293 MB / 309 MB, free: 4.801 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.001076/0.001076, allocations: 176.6 kB / 378.7 MB, free: 1.035 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.654/1.654, allocations: 205.4 MB / 0.6383 GB, free: 8.258 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.0008146/0.0008147, allocations: 89.39 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7442/1.012, allocations: 139.9 MB / 1.127 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.012, allocations: 66.36 kB / 1.127 GB, free: 34.12 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.0315/1.044, allocations: 10.13 MB / 1.137 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.777e-06/1.044, allocations: 0 / 1.137 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.044, allocations: 4 kB / 1.137 GB, free: 26.84 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.001598/1.046, allocations: 0.6241 MB / 1.138 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.046, allocations: 8.031 kB / 1.138 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/1.046, allocations: 25.5 kB / 1.138 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.046, allocations: 186.4 kB / 1.138 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/1.046, allocations: 132.2 kB / 1.138 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/1.046, allocations: 21.08 kB / 1.138 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/1.047, allocations: 251.6 kB / 1.138 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.047, allocations: 3.938 kB / 1.138 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/1.047, allocations: 9.312 kB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.047, allocations: 4 kB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/1.047, allocations: 125 kB / 1.138 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009215/1.048, allocations: 0.9518 MB / 1.139 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.049, allocations: 495.6 kB / 1.14 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.049, allocations: 151.1 kB / 1.14 GB, free: 23.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/1.049, allocations: 17.89 kB / 1.14 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/1.05, allocations: 306.4 kB / 1.14 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.557e-06/1.05, allocations: 0 / 1.14 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0008004/1.051, allocations: 398.2 kB / 1.141 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/1.051, allocations: 357.1 kB / 1.141 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.051, allocations: 177.1 kB / 1.141 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/1.051, allocations: 38.45 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/1.051, allocations: 107.8 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/1.051, allocations: 112.9 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.051, allocations: 12 kB / 1.141 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/1.051, allocations: 333.6 kB / 1.142 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/1.052, allocations: 109.7 kB / 1.142 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/1.052, allocations: 179.3 kB / 1.142 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/1.052, allocations: 282.3 kB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.052, allocations: 4 kB / 1.142 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007472/1.053, allocations: 363.5 kB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.053, allocations: 10.5 kB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.053, allocations: 0.6562 kB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.053, allocations: 7.938 kB / 1.143 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/1.054, allocations: 83.86 kB / 1.143 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.054, allocations: 8.656 kB / 1.143 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/1.054, allocations: 50.95 kB / 1.143 GB, free: 20.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/1.054, allocations: 24.97 kB / 1.143 GB, free: 20.9 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.0001726/1.054, allocations: 160.4 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/1.054, allocations: 20.47 kB / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/1.055, allocations: 365.9 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.055, allocations: 8 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.055, allocations: 4 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.055, allocations: 11.69 kB / 1.143 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/1.055, allocations: 346.7 kB / 1.144 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.055, allocations: 4 kB / 1.144 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/1.056, allocations: 78.16 kB / 1.144 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.056, allocations: 4 kB / 1.144 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.056, allocations: 18.53 kB / 1.144 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.056, allocations: 4.703 kB / 1.144 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.056, allocations: 9.25 kB / 1.144 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/1.056, allocations: 493.2 kB / 1.144 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/1.057, allocations: 142.3 kB / 1.144 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/1.057, allocations: 19.02 kB / 1.144 GB, free: 19.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/1.057, allocations: 43.03 kB / 1.144 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.057, allocations: 48.2 kB / 1.144 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/1.057, allocations: 27.7 kB / 1.144 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001012/1.057, allocations: 129.3 kB / 1.145 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.057, allocations: 3.938 kB / 1.145 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008221/1.058, allocations: 219.3 kB / 1.145 GB, free: 18.89 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.0008231/1.059, allocations: 324.8 kB / 1.145 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006322/1.06, allocations: 316.5 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.06, allocations: 0 / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.06, allocations: 187.3 kB / 1.146 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/1.06, allocations: 38.41 kB / 1.146 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/1.061, allocations: 0.6398 MB / 1.146 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.061, allocations: 0.7603 MB / 1.147 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002668/1.062, allocations: 56.14 kB / 1.147 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/1.062, allocations: 50.61 kB / 1.147 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.062, allocations: 5.25 kB / 1.147 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.01142/1.073, allocations: 4.69 MB / 1.152 GB, free: 13.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)