Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.001106/0.001106, allocations: 182.8 kB / 371.6 MB, free: 3.379 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.872/1.872, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.000948/0.000948, allocations: 91.25 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.657e-05/4.659e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9522/1.26, allocations: 147.7 MB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.26, allocations: 71 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03143/1.291, allocations: 12.35 MB / 1.136 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.291, allocations: 0 / 1.136 GB, free: 31.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.493e-05/1.292, allocations: 16.66 kB / 1.136 GB, free: 31.7 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001442/1.293, allocations: 0.9308 MB / 1.137 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.293, allocations: 12.03 kB / 1.137 GB, free: 30.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/1.293, allocations: 97.3 kB / 1.137 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/1.294, allocations: 490.4 kB / 1.138 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/1.294, allocations: 49.25 kB / 1.138 GB, free: 30.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.294, allocations: 72.2 kB / 1.138 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/1.295, allocations: 0.5787 MB / 1.138 GB, free: 29.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.295, allocations: 3.938 kB / 1.138 GB, free: 29.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.295, allocations: 25.55 kB / 1.138 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.295, allocations: 16 kB / 1.138 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/1.296, allocations: 393.2 kB / 1.139 GB, free: 29.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/1.299, allocations: 2.1 MB / 1.141 GB, free: 28.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.3, allocations: 0.8723 MB / 1.142 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/1.301, allocations: 207.1 kB / 1.142 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/1.301, allocations: 8.438 kB / 1.142 GB, free: 27.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/1.301, allocations: 272 kB / 1.142 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=57): time 3.336e-06/1.301, allocations: 0 / 1.142 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57): time 0.0007351/1.302, allocations: 446.5 kB / 1.143 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.302, allocations: 120.9 kB / 1.143 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/1.303, allocations: 474.9 kB / 1.143 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/1.303, allocations: 45.22 kB / 1.143 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.303, allocations: 341.7 kB / 1.144 GB, free: 26.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.303, allocations: 174.6 kB / 1.144 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/1.303, allocations: 15 kB / 1.144 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.303, allocations: 375.8 kB / 1.144 GB, free: 25.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/1.303, allocations: 176.4 kB / 1.144 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/1.304, allocations: 322.4 kB / 1.145 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/1.304, allocations: 225.9 kB / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.304, allocations: 0 / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008616/1.305, allocations: 0.5991 MB / 1.145 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000197/1.305, allocations: 0.7318 MB / 1.146 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.305, allocations: 8.562 kB / 1.146 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.305, allocations: 8.781 kB / 1.146 GB, free: 24.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.306, allocations: 99.62 kB / 1.146 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/1.306, allocations: 12.8 kB / 1.146 GB, free: 24.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/1.306, allocations: 121.5 kB / 1.146 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.306, allocations: 21.95 kB / 1.146 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/1.306, allocations: 4 kB / 1.146 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007668/1.307, allocations: 0.5132 MB / 1.147 GB, free: 23.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.307, allocations: 8.578 kB / 1.147 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.281e-06/1.307, allocations: 11.95 kB / 1.147 GB, free: 23.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/1.307, allocations: 83.53 kB / 1.147 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.308, allocations: 7.938 kB / 1.147 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/1.308, allocations: 105.8 kB / 1.147 GB, free: 23.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.308, allocations: 25.66 kB / 1.147 GB, free: 23.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001404/1.308, allocations: 147 kB / 1.147 GB, free: 23.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/1.308, allocations: 69.16 kB / 1.147 GB, free: 23.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/1.308, allocations: 82.78 kB / 1.147 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.308, allocations: 7.953 kB / 1.147 GB, free: 23.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.308, allocations: 0 / 1.147 GB, free: 23.19 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.308, allocations: 3.094 kB / 1.147 GB, free: 23.19 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/1.31, allocations: 1.224 MB / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.31, allocations: 4 kB / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/1.311, allocations: 89.23 kB / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.311, allocations: 0 / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/1.311, allocations: 12.69 kB / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.311, allocations: 4.562 kB / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.311, allocations: 64 / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009905/1.312, allocations: 0.8049 MB / 1.149 GB, free: 21.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/1.312, allocations: 147.6 kB / 1.15 GB, free: 21.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/1.312, allocations: 15.64 kB / 1.15 GB, free: 21.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/1.312, allocations: 44.86 kB / 1.15 GB, free: 21.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.312, allocations: 40.27 kB / 1.15 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/1.312, allocations: 17.91 kB / 1.15 GB, free: 21.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00041/1.313, allocations: 370.8 kB / 1.15 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.313, allocations: 0 / 1.15 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00077/1.314, allocations: 283 kB / 1.15 GB, free: 21.03 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002587/1.314, allocations: 181.2 kB / 1.15 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.315, allocations: 0.9159 MB / 1.151 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.315, allocations: 1.391 kB / 1.151 GB, free: 20.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.315, allocations: 211.7 kB / 1.152 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/1.316, allocations: 108.3 kB / 1.152 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/1.317, allocations: 0.8301 MB / 1.152 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/1.318, allocations: 0.9319 MB / 1.153 GB, free: 18.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005263/1.318, allocations: 124 kB / 1.154 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.319, allocations: 42.91 kB / 1.154 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.319, allocations: 0 / 1.154 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.01862/1.337, allocations: 8.348 MB / 1.162 GB, free: 13.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)