Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001377/0.001377, allocations: 181 kB / 377.1 MB, free: 1.527 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.824/1.824, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0008174/0.0008175, allocations: 93.58 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2977, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8064/1.104, allocations: 140.8 MB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.104, allocations: 77.03 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04152/1.146, allocations: 15.97 MB / 1.142 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.076e-06/1.146, allocations: 4 kB / 1.142 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.694e-05/1.146, allocations: 24.94 kB / 1.142 GB, free: 23.51 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.002124/1.148, allocations: 1.252 MB / 1.143 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.148, allocations: 12.62 kB / 1.143 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/1.148, allocations: 126.3 kB / 1.143 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.149, allocations: 0.6495 MB / 1.144 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/1.15, allocations: 69.44 kB / 1.144 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.15, allocations: 88.8 kB / 1.144 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.151, allocations: 0.8251 MB / 1.145 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.151, allocations: 11.94 kB / 1.145 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/1.151, allocations: 36.84 kB / 1.145 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.151, allocations: 20.66 kB / 1.145 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.152, allocations: 0.6504 MB / 1.145 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/1.157, allocations: 2.674 MB / 1.148 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.158, allocations: 0.7711 MB / 1.149 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.158, allocations: 10.14 kB / 1.149 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/1.159, allocations: 366.8 kB / 1.149 GB, free: 16.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/1.159, allocations: 0 / 1.149 GB, free: 16.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001554/1.16, allocations: 0.8559 MB / 1.15 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.161, allocations: 188.5 kB / 1.15 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/1.161, allocations: 0.6274 MB / 1.151 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/1.161, allocations: 47.16 kB / 1.151 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/1.162, allocations: 431.1 kB / 1.151 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/1.162, allocations: 211 kB / 1.151 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/1.162, allocations: 17.22 kB / 1.151 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/1.162, allocations: 329.9 kB / 1.152 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/1.162, allocations: 276.3 kB / 1.152 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/1.163, allocations: 413 kB / 1.152 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/1.163, allocations: 327.4 kB / 1.153 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.163, allocations: 0 / 1.153 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001364/1.165, allocations: 0.8102 MB / 1.153 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.165, allocations: 0.5593 MB / 1.154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.165, allocations: 0.9375 kB / 1.154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.165, allocations: 8 kB / 1.154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/1.166, allocations: 144.7 kB / 1.154 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.166, allocations: 4 kB / 1.154 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/1.166, allocations: 160.4 kB / 1.154 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.166, allocations: 28.44 kB / 1.154 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/1.166, allocations: 4 kB / 1.154 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007309/1.167, allocations: 0.5641 MB / 1.155 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.167, allocations: 4 kB / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.167, allocations: 4 kB / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/1.167, allocations: 106.8 kB / 1.155 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.167, allocations: 4 kB / 1.155 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/1.168, allocations: 119.3 kB / 1.155 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/1.168, allocations: 22.58 kB / 1.155 GB, free: 10.98 MB / 0.7292 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 () * Number of clocked 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.0005252/1.168, allocations: 299.3 kB / 1.155 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/1.168, allocations: 90.88 kB / 1.155 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.169, allocations: 94.94 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.169, allocations: 5.5 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.169, allocations: 4 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.169, allocations: 2.766 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.171, allocations: 1.467 MB / 1.157 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.171, allocations: 1.062 kB / 1.157 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/1.171, allocations: 123.1 kB / 1.157 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.171, allocations: 4.938 kB / 1.157 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.171, allocations: 14.02 kB / 1.157 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.171, allocations: 4 kB / 1.157 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.171, allocations: 2.328 kB / 1.157 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.173, allocations: 1.056 MB / 1.158 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.173, allocations: 179.4 kB / 1.158 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/1.173, allocations: 13.5 kB / 1.158 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.173, allocations: 64.27 kB / 1.158 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/1.173, allocations: 32.94 kB / 1.158 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/1.173, allocations: 17.55 kB / 1.158 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005547/1.174, allocations: 0.5063 MB / 1.159 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.174, allocations: 0 / 1.159 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007683/1.175, allocations: 308.3 kB / 1.159 GB, free: 7.105 MB / 0.7292 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 () * Number of clocked 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.0002135/1.175, allocations: 138.3 kB / 1.159 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.176, allocations: 1.044 MB / 1.16 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.176, allocations: 0.625 kB / 1.16 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/1.177, allocations: 311 kB / 1.161 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/1.178, allocations: 166 kB / 1.161 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.18, allocations: 1.726 MB / 1.163 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.18, allocations: 1.002 MB / 1.163 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003882/1.181, allocations: 107.1 kB / 1.164 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.181, allocations: 63.42 kB / 1.164 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.181, allocations: 7.938 kB / 1.164 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.01594/1.197, allocations: 8.586 MB / 1.172 GB, free: 10.25 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)