Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.631/1.631, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 189.9 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006942/0.0006942, allocations: 93.86 kB / 0.7808 GB, free: 43.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004161, allocations: 14.22 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5348, allocations: 120.3 MB / 1.026 GB, free: 56.95 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.709, allocations: 149.6 MB / 1.172 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.7093, allocations: 83.95 kB / 1.172 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05208/0.7614, allocations: 19.86 MB / 1.192 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.118e-06/0.7614, allocations: 0 / 1.192 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001254/0.7616, allocations: 27.94 kB / 1.192 GB, free: 4.715 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002736/0.7643, allocations: 1.23 MB / 1.193 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7644, allocations: 12.02 kB / 1.193 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.7647, allocations: 127.4 kB / 1.193 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.7662, allocations: 0.7587 MB / 1.194 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.7663, allocations: 88.25 kB / 1.194 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.7665, allocations: 64.38 kB / 1.194 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.7679, allocations: 0.7941 MB / 1.195 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.7679, allocations: 0 / 1.195 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.768, allocations: 32 kB / 1.195 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.768, allocations: 19.94 kB / 1.195 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.7692, allocations: 0.5634 MB / 1.195 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.7729, allocations: 2.349 MB / 1.198 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.7744, allocations: 0.6902 MB / 1.198 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.7749, allocations: 262.5 kB / 1.199 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.775, allocations: 8.562 kB / 1.199 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/0.7758, allocations: 355 kB / 1.199 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=60): time 3.597e-06/0.7758, allocations: 0 / 1.199 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=60): time 0.001766/0.7776, allocations: 0.8258 MB / 1.2 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.7777, allocations: 137.1 kB / 1.2 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7788, allocations: 0.7556 MB / 1.201 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.7789, allocations: 37.7 kB / 1.201 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.7793, allocations: 440.4 kB / 1.201 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.7795, allocations: 205 kB / 1.201 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.7795, allocations: 12 kB / 1.201 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7797, allocations: 330 kB / 1.202 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.7802, allocations: 233.1 kB / 1.202 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.7808, allocations: 350.1 kB / 1.202 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.7818, allocations: 0.5426 MB / 1.203 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7818, allocations: 4 kB / 1.203 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001378/0.7832, allocations: 0.6891 MB / 1.203 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.7833, allocations: 163.2 kB / 1.204 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7833, allocations: 0 / 1.204 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.7833, allocations: 11.88 kB / 1.204 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.7842, allocations: 159.8 kB / 1.204 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.7842, allocations: 4 kB / 1.204 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.7848, allocations: 91.39 kB / 1.204 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.7848, allocations: 19.98 kB / 1.204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.7848, allocations: 4 kB / 1.204 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.7859, allocations: 0.5596 MB / 1.204 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7859, allocations: 3.938 kB / 1.204 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.786, allocations: 8 kB / 1.204 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.7867, allocations: 156 kB / 1.205 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7867, allocations: 7.984 kB / 1.205 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.7873, allocations: 75.41 kB / 1.205 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.7873, allocations: 20 kB / 1.205 GB, free: 7.164 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0004418/0.7878, allocations: 306.4 kB / 1.205 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.7879, allocations: 90.88 kB / 1.205 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.7882, allocations: 101.2 kB / 1.205 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.7882, allocations: 8 kB / 1.205 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7882, allocations: 3.984 kB / 1.205 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7882, allocations: 0 / 1.205 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.7908, allocations: 1.528 MB / 1.207 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7909, allocations: 0 / 1.207 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/0.7915, allocations: 115.8 kB / 1.207 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.7915, allocations: 0 / 1.207 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.7915, allocations: 15.94 kB / 1.207 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.7916, allocations: 8 kB / 1.207 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7916, allocations: 0 / 1.207 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.7933, allocations: 1.041 MB / 1.208 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.7937, allocations: 231.8 kB / 1.208 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.7938, allocations: 19.94 kB / 1.208 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.7943, allocations: 55.95 kB / 1.208 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.7944, allocations: 32.52 kB / 1.208 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.7944, allocations: 23.98 kB / 1.208 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006556/0.7951, allocations: 0.5107 MB / 1.209 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7951, allocations: 0 / 1.209 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007841/0.7959, allocations: 288.8 kB / 1.209 GB, free: 2.711 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001672/0.7961, allocations: 127.6 kB / 1.209 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.7977, allocations: 0.8661 MB / 1.21 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7978, allocations: 4.562 kB / 1.21 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.7983, allocations: 295.1 kB / 1.21 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7994, allocations: 228.5 kB / 1.21 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.8023, allocations: 1.832 MB / 1.212 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.8028, allocations: 0.9978 MB / 1.213 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006287/0.8035, allocations: 118.5 kB / 1.213 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.8037, allocations: 55.44 kB / 1.213 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of SimCode: time 2.5e-07/0.8037, allocations: 0 / 1.213 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of Templates: time 0.01708/0.8208, allocations: 9.244 MB / 1.222 GB, free: 5.02 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)