Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 293 MB / 309 MB, free: 4.809 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.001152/0.001152, allocations: 180.5 kB / 378.7 MB, free: 1.027 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.913/1.913, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0007836/0.0007834, allocations: 91.14 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2492, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7293/0.9786, allocations: 147.6 MB / 1.135 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.9788, allocations: 80.8 kB / 1.135 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0506/1.029, allocations: 19.97 MB / 1.154 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.016e-06/1.029, allocations: 0 / 1.154 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001545/1.03, allocations: 24.12 kB / 1.154 GB, free: 14.01 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003321/1.033, allocations: 1.233 MB / 1.155 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.033, allocations: 12.03 kB / 1.155 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/1.033, allocations: 124.3 kB / 1.156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.035, allocations: 0.7743 MB / 1.156 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.035, allocations: 84.27 kB / 1.156 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/1.035, allocations: 76.27 kB / 1.156 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/1.037, allocations: 0.7863 MB / 1.157 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/1.037, allocations: 1.938 kB / 1.157 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/1.037, allocations: 35.98 kB / 1.157 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.037, allocations: 16 kB / 1.157 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/1.038, allocations: 0.5639 MB / 1.158 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/1.041, allocations: 2.353 MB / 1.16 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.043, allocations: 0.6891 MB / 1.161 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/1.043, allocations: 270.4 kB / 1.161 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/1.043, allocations: 12.55 kB / 1.161 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/1.044, allocations: 347 kB / 1.161 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/1.044, allocations: 4.562 kB / 1.161 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001634/1.045, allocations: 0.8258 MB / 1.162 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.045, allocations: 137.1 kB / 1.162 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/1.046, allocations: 0.7636 MB / 1.163 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/1.046, allocations: 37.7 kB / 1.163 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.047, allocations: 436.5 kB / 1.164 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.047, allocations: 209.9 kB / 1.164 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/1.047, allocations: 16 kB / 1.164 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/1.047, allocations: 322 kB / 1.164 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/1.047, allocations: 229.2 kB / 1.164 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/1.048, allocations: 347.8 kB / 1.165 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/1.049, allocations: 0.5426 MB / 1.165 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.049, allocations: 8 kB / 1.165 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001158/1.05, allocations: 0.6891 MB / 1.166 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/1.05, allocations: 155.2 kB / 1.166 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.05, allocations: 0 / 1.166 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.05, allocations: 12.97 kB / 1.166 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/1.051, allocations: 163.8 kB / 1.166 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.051, allocations: 12.78 kB / 1.166 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/1.051, allocations: 83.34 kB / 1.166 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/1.051, allocations: 20 kB / 1.166 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/1.051, allocations: 4 kB / 1.166 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009089/1.052, allocations: 0.5579 MB / 1.167 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.052, allocations: 0 / 1.167 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/1.052, allocations: 11.98 kB / 1.167 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.053, allocations: 152 kB / 1.167 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.053, allocations: 11.92 kB / 1.167 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/1.054, allocations: 76.34 kB / 1.167 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/1.054, allocations: 20 kB / 1.167 GB, free: 440 kB / 0.7292 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.0003603/1.054, allocations: 304.9 kB / 1.167 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.054, allocations: 90.88 kB / 1.167 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/1.054, allocations: 109.2 kB / 1.168 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.054, allocations: 8 kB / 1.168 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.054, allocations: 0 / 1.168 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/1.054, allocations: 0 / 1.168 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.057, allocations: 1.532 MB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.057, allocations: 0 / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/1.057, allocations: 109 kB / 1.169 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.057, allocations: 4 kB / 1.169 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/1.057, allocations: 19.94 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.057, allocations: 1.75 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.057, allocations: 0.7031 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/1.059, allocations: 1.041 MB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/1.06, allocations: 239.7 kB / 1.17 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.06, allocations: 15.94 kB / 1.17 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/1.06, allocations: 51.95 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/1.06, allocations: 36.5 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/1.06, allocations: 20 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007811/1.061, allocations: 0.5226 MB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 1.125 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008263/1.062, allocations: 283.1 kB / 1.171 GB, free: 11.95 MB / 0.7448 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.0001783/1.062, allocations: 119.2 kB / 1.171 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.064, allocations: 0.8738 MB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.064, allocations: 0 / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/1.065, allocations: 295.7 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.066, allocations: 231 kB / 1.173 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/1.069, allocations: 1.839 MB / 1.175 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/1.07, allocations: 0.994 MB / 1.176 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006772/1.07, allocations: 114.4 kB / 1.176 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.071, allocations: 63.42 kB / 1.176 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/1.071, allocations: 0 / 1.176 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.01832/1.089, allocations: 9.252 MB / 1.185 GB, free: 14.31 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)