Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 293 MB / 309 MB, free: 4.805 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.001013/0.001013, allocations: 175.3 kB / 378.7 MB, free: 1.016 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.662/1.662, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007001/0.0007001, allocations: 95.47 kB / 0.7527 GB, free: 62.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 15.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 116.4 MB / 0.9905 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8456/1.113, allocations: 139.9 MB / 1.127 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.113, allocations: 71.48 kB / 1.127 GB, free: 34.14 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.03095/1.144, allocations: 10.13 MB / 1.137 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/1.144, allocations: 0 / 1.137 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.144, 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.001508/1.146, allocations: 0.6243 MB / 1.138 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.146, allocations: 8.031 kB / 1.138 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/1.146, allocations: 25.31 kB / 1.138 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/1.146, allocations: 185.6 kB / 1.138 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/1.146, allocations: 132.3 kB / 1.138 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/1.147, allocations: 23.52 kB / 1.138 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/1.147, allocations: 249.9 kB / 1.138 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.147, allocations: 8.781 kB / 1.138 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/1.147, allocations: 8.75 kB / 1.138 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.147, allocations: 4 kB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/1.147, allocations: 119.9 kB / 1.138 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/1.148, allocations: 0.9489 MB / 1.139 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.15, allocations: 0.4911 MB / 1.14 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.15, allocations: 147.4 kB / 1.14 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/1.15, allocations: 17.3 kB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/1.15, allocations: 302.2 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.046e-06/1.15, allocations: 0 / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0008055/1.151, allocations: 407.6 kB / 1.141 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.151, allocations: 352.6 kB / 1.141 GB, free: 22.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.151, allocations: 177.2 kB / 1.141 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/1.152, allocations: 38.5 kB / 1.141 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/1.152, allocations: 107.5 kB / 1.141 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.152, allocations: 111.9 kB / 1.141 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/1.152, allocations: 12.94 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/1.152, allocations: 337.8 kB / 1.142 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/1.152, allocations: 106 kB / 1.142 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/1.152, allocations: 175.2 kB / 1.142 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/1.153, allocations: 281.9 kB / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.153, allocations: 0 / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006978/1.154, allocations: 367.9 kB / 1.143 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.154, allocations: 8 kB / 1.143 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.154, allocations: 0.6094 kB / 1.143 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.154, allocations: 8 kB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.154, allocations: 84.16 kB / 1.143 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.154, allocations: 4.562 kB / 1.143 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/1.154, allocations: 50.81 kB / 1.143 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.154, allocations: 24.55 kB / 1.143 GB, free: 20.92 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.0001574/1.155, allocations: 168.2 kB / 1.143 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/1.155, allocations: 25.12 kB / 1.143 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/1.155, allocations: 360 kB / 1.143 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.155, allocations: 8 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.155, allocations: 4.75 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.155, allocations: 11.47 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/1.156, allocations: 355.1 kB / 1.144 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.156, allocations: 0 / 1.144 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/1.156, allocations: 74.11 kB / 1.144 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.156, allocations: 4.703 kB / 1.144 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.156, allocations: 18.25 kB / 1.144 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.156, allocations: 9.344 kB / 1.144 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.156, allocations: 4.75 kB / 1.144 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/1.157, allocations: 498.7 kB / 1.144 GB, free: 19.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.157, allocations: 142.1 kB / 1.144 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/1.157, allocations: 17.78 kB / 1.144 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/1.157, allocations: 38.66 kB / 1.144 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.157, allocations: 52.67 kB / 1.144 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/1.158, allocations: 26.23 kB / 1.144 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001029/1.158, allocations: 129.1 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.158, allocations: 0.9375 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008124/1.158, allocations: 219.2 kB / 1.145 GB, free: 18.9 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.0007697/1.159, allocations: 312.6 kB / 1.145 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006425/1.16, allocations: 321.2 kB / 1.145 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.16, allocations: 4 kB / 1.145 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.16, allocations: 179.1 kB / 1.146 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/1.161, allocations: 42.88 kB / 1.146 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.162, allocations: 0.6388 MB / 1.146 GB, free: 17.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/1.162, allocations: 0.7596 MB / 1.147 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002697/1.162, allocations: 60.14 kB / 1.147 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.162, allocations: 43.12 kB / 1.147 GB, free: 16.67 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.162, allocations: 0 / 1.147 GB, free: 16.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.01118/1.173, allocations: 4.703 MB / 1.152 GB, free: 13.97 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)