Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.543/1.543, allocations: 285.4 MB / 298 MB, free: 5.926 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.001138/0.001139, allocations: 188.8 kB / 366.4 MB, free: 2.09 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.874/1.874, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008775/0.0008775, allocations: 96.23 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.424e-05/5.427e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7764, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.9842, allocations: 139.8 MB / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.9845, allocations: 75.97 kB / 1.107 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04269/1.027, allocations: 15.94 MB / 1.123 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.694e-06/1.027, allocations: 0 / 1.123 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.968e-05/1.027, allocations: 24 kB / 1.123 GB, free: 12.12 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002411/1.03, allocations: 1.089 MB / 1.124 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.03, allocations: 8.031 kB / 1.124 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/1.03, allocations: 122.6 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/1.032, allocations: 0.6453 MB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/1.032, allocations: 68.88 kB / 1.125 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.032, allocations: 87.98 kB / 1.125 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/1.033, allocations: 0.7622 MB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.033, allocations: 0 / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/1.033, allocations: 32 kB / 1.126 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/1.033, allocations: 20 kB / 1.126 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000977/1.034, allocations: 0.5223 MB / 1.126 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/1.038, allocations: 2.676 MB / 1.129 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.04, allocations: 0.5716 MB / 1.13 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/1.04, allocations: 264.3 kB / 1.13 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/1.04, allocations: 8.562 kB / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/1.041, allocations: 296.2 kB / 1.13 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/1.041, allocations: 4 kB / 1.13 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0009154/1.042, allocations: 0.498 MB / 1.131 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.042, allocations: 200.4 kB / 1.131 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/1.043, allocations: 0.6177 MB / 1.131 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/1.043, allocations: 37.7 kB / 1.131 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/1.043, allocations: 448.2 kB / 1.132 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/1.043, allocations: 201 kB / 1.132 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/1.043, allocations: 12 kB / 1.132 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.043, allocations: 334 kB / 1.132 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/1.044, allocations: 201.5 kB / 1.133 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.044, allocations: 334.1 kB / 1.133 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/1.045, allocations: 263.6 kB / 1.133 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.045, allocations: 0 / 1.133 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001111/1.046, allocations: 0.6713 MB / 1.134 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003052/1.046, allocations: 0.5687 MB / 1.134 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.046, allocations: 0 / 1.134 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.046, allocations: 7.938 kB / 1.134 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/1.047, allocations: 143.8 kB / 1.134 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.047, allocations: 4 kB / 1.134 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/1.047, allocations: 155.3 kB / 1.135 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/1.048, allocations: 23.98 kB / 1.135 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.048, allocations: 8 kB / 1.135 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009472/1.049, allocations: 0.5536 MB / 1.135 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.049, allocations: 0 / 1.135 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/1.049, allocations: 4 kB / 1.135 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/1.049, allocations: 109.9 kB / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/1.049, allocations: 4 kB / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/1.05, allocations: 119.5 kB / 1.135 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/1.05, allocations: 20 kB / 1.135 GB, free: 15.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0001619/1.05, allocations: 148.8 kB / 1.136 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.05, allocations: 86.88 kB / 1.136 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/1.05, allocations: 94.03 kB / 1.136 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.05, allocations: 8 kB / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/1.05, allocations: 0 / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.05, allocations: 3.984 kB / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/1.052, allocations: 1.34 MB / 1.137 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.052, allocations: 0 / 1.137 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/1.053, allocations: 131.8 kB / 1.137 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/1.053, allocations: 0 / 1.137 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.053, allocations: 19.98 kB / 1.137 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.053, allocations: 4 kB / 1.137 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.053, allocations: 0 / 1.137 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.054, allocations: 0.8651 MB / 1.138 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/1.054, allocations: 175.4 kB / 1.138 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/1.054, allocations: 12 kB / 1.138 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/1.055, allocations: 59.95 kB / 1.138 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/1.055, allocations: 36.52 kB / 1.138 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/1.055, allocations: 21.77 kB / 1.138 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006292/1.055, allocations: 0.4914 MB / 1.139 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.874e-06/1.055, allocations: 0 / 1.139 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007948/1.056, allocations: 310.8 kB / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0002799/1.056, allocations: 139.1 kB / 1.139 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.058, allocations: 0.9328 MB / 1.14 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.058, allocations: 0 / 1.14 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/1.058, allocations: 247.1 kB / 1.14 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/1.059, allocations: 163.5 kB / 1.141 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.061, allocations: 1.068 MB / 1.142 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/1.062, allocations: 1.007 MB / 1.143 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006031/1.062, allocations: 140.2 kB / 1.143 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.063, allocations: 51.42 kB / 1.143 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/1.063, allocations: 4 kB / 1.143 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.01893/1.082, allocations: 9.88 MB / 1.152 GB, free: 13.67 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)