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.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001058/0.001058, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.574/1.574, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0009561/0.0009562, allocations: 83.98 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.101e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7429, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/0.9779, allocations: 147.1 MB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.9783, allocations: 71.95 kB / 1.117 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03607/1.014, allocations: 12.27 MB / 1.129 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.014, allocations: 0 / 1.129 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001002/1.015, allocations: 19.94 kB / 1.129 GB, free: 6.828 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002444/1.017, allocations: 0.9294 MB / 1.13 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/1.017, allocations: 8.031 kB / 1.13 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/1.018, allocations: 90.88 kB / 1.13 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.019, allocations: 496.3 kB / 1.13 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/1.019, allocations: 20 kB / 1.13 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.019, allocations: 49.59 kB / 1.13 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008734/1.02, allocations: 362.5 kB / 1.131 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/1.021, allocations: 495.7 kB / 1.131 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.021, allocations: 0 / 1.131 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/1.021, allocations: 7.938 kB / 1.131 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/1.021, allocations: 16 kB / 1.131 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/1.025, allocations: 1.965 MB / 1.133 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.027, allocations: 0.8413 MB / 1.134 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/1.027, allocations: 200.2 kB / 1.134 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/1.027, allocations: 4.438 kB / 1.134 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/1.027, allocations: 257.1 kB / 1.135 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.955e-06/1.027, allocations: 0 / 1.135 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0008906/1.028, allocations: 421.8 kB / 1.135 GB, free: 488 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/1.028, allocations: 115.3 kB / 1.135 GB, free: 348 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/1.029, allocations: 390.1 kB / 1.135 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.029, allocations: 33.7 kB / 1.135 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/1.029, allocations: 340.3 kB / 1.136 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/1.03, allocations: 169.5 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/1.03, allocations: 4 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.03, allocations: 370.8 kB / 1.136 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/1.03, allocations: 169.3 kB / 1.136 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/1.031, allocations: 300.9 kB / 1.137 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/1.031, allocations: 202 kB / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.031, allocations: 0 / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001174/1.032, allocations: 0.5294 MB / 1.137 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005068/1.033, allocations: 0.7383 MB / 1.138 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/1.033, allocations: 4 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.033, allocations: 4 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/1.033, allocations: 107.8 kB / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.033, allocations: 4 kB / 1.138 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/1.034, allocations: 103.6 kB / 1.138 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/1.034, allocations: 21.5 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.034, allocations: 4 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009529/1.035, allocations: 441.2 kB / 1.139 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.035, allocations: 4 kB / 1.139 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/1.035, allocations: 7.938 kB / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.036, allocations: 96.05 kB / 1.139 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.036, allocations: 11.08 kB / 1.139 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/1.036, allocations: 90.19 kB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/1.036, allocations: 27.98 kB / 1.139 GB, free: 12.09 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.0002103/1.036, allocations: 126.6 kB / 1.139 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.037, allocations: 59.25 kB / 1.139 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.037, allocations: 62.12 kB / 1.139 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.037, allocations: 4 kB / 1.139 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.037, allocations: 11.95 kB / 1.139 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.037, allocations: 3.984 kB / 1.139 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/1.039, allocations: 1.1 MB / 1.14 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.039, allocations: 1.406 kB / 1.14 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/1.039, allocations: 91.95 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.039, allocations: 4 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/1.039, allocations: 11.94 kB / 1.14 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.039, allocations: 4 kB / 1.14 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.039, allocations: 0 / 1.14 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.04, allocations: 0.7606 MB / 1.141 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.041, allocations: 140.3 kB / 1.141 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/1.041, allocations: 0 / 1.141 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.041, allocations: 31.97 kB / 1.141 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.041, allocations: 40.38 kB / 1.141 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/1.041, allocations: 20.98 kB / 1.141 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000369/1.041, allocations: 295 kB / 1.142 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.041, allocations: 0 / 1.142 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009226/1.042, allocations: 258.9 kB / 1.142 GB, free: 8.969 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.0004038/1.043, allocations: 168.2 kB / 1.142 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.044, allocations: 0.8633 MB / 1.143 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.044, allocations: 4 kB / 1.143 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/1.045, allocations: 201.6 kB / 1.143 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/1.045, allocations: 103.2 kB / 1.143 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/1.047, allocations: 0.7876 MB / 1.144 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/1.048, allocations: 0.9387 MB / 1.145 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005021/1.048, allocations: 110.2 kB / 1.145 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.048, allocations: 43.42 kB / 1.145 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of SimCode: time 1.713e-06/1.048, allocations: 0 / 1.145 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.01675/1.065, allocations: 7.408 MB / 1.152 GB, free: 14.44 MB / 0.7605 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)