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.631/1.631, allocations: 288.4 MB / 304.3 MB, free: 8.062 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.0009572/0.000957, allocations: 175.4 kB / 372.9 MB, free: 10.12 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.591/1.591, allocations: 205.4 MB / 0.6317 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 98.58 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004716, allocations: 14.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2539, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/0.9643, allocations: 139.9 MB / 1.117 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.9646, allocations: 75.3 kB / 1.117 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03665/1.001, allocations: 16.02 MB / 1.133 GB, free: 28.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.001, allocations: 0 / 1.133 GB, free: 28.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.069e-05/1.001, allocations: 19.22 kB / 1.133 GB, free: 28.89 MB / 0.698 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.002092/1.003, allocations: 1.254 MB / 1.134 GB, free: 28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.003, allocations: 11.81 kB / 1.134 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/1.004, allocations: 125.1 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/1.005, allocations: 0.6718 MB / 1.135 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/1.005, allocations: 66.22 kB / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.005, allocations: 86.94 kB / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.006, allocations: 0.834 MB / 1.136 GB, free: 27.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/1.006, allocations: 7.812 kB / 1.136 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/1.006, allocations: 34.47 kB / 1.136 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.006, allocations: 19.38 kB / 1.136 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.007, allocations: 0.6621 MB / 1.137 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/1.011, allocations: 2.674 MB / 1.139 GB, free: 25.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.012, allocations: 0.7663 MB / 1.14 GB, free: 25.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/1.012, allocations: 343 kB / 1.14 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/1.013, allocations: 8.344 kB / 1.14 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/1.013, allocations: 369.8 kB / 1.141 GB, free: 25.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.356e-06/1.013, allocations: 0 / 1.141 GB, free: 25.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001469/1.015, allocations: 0.8554 MB / 1.142 GB, free: 25.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.015, allocations: 195.9 kB / 1.142 GB, free: 24.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/1.015, allocations: 0.7152 MB / 1.143 GB, free: 24.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/1.016, allocations: 47.59 kB / 1.143 GB, free: 24.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/1.016, allocations: 433.6 kB / 1.143 GB, free: 24.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.016, allocations: 207.7 kB / 1.143 GB, free: 24.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/1.016, allocations: 10.69 kB / 1.143 GB, free: 24.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.016, allocations: 332.2 kB / 1.144 GB, free: 24.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/1.017, allocations: 275.9 kB / 1.144 GB, free: 23.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/1.017, allocations: 411.5 kB / 1.144 GB, free: 23.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/1.018, allocations: 0.6057 MB / 1.145 GB, free: 23.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.018, allocations: 3.844 kB / 1.145 GB, free: 23.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001275/1.019, allocations: 0.8 MB / 1.146 GB, free: 23.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/1.019, allocations: 166.6 kB / 1.146 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.019, allocations: 0 / 1.146 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.02, allocations: 7.781 kB / 1.146 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/1.02, allocations: 140.4 kB / 1.146 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.02, allocations: 7.531 kB / 1.146 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/1.021, allocations: 153.8 kB / 1.146 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/1.021, allocations: 33.86 kB / 1.146 GB, free: 23.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/1.021, allocations: 7.812 kB / 1.146 GB, free: 23.17 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007258/1.021, allocations: 0.5592 MB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/1.021, allocations: 0 / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/1.021, allocations: 3.844 kB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/1.022, allocations: 108.1 kB / 1.147 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.022, allocations: 3.844 kB / 1.147 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/1.022, allocations: 116.9 kB / 1.147 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.022, allocations: 26.36 kB / 1.147 GB, free: 23.02 MB / 0.698 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.0005355/1.023, allocations: 307.6 kB / 1.147 GB, free: 22.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/1.023, allocations: 89.38 kB / 1.147 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/1.023, allocations: 97.41 kB / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.023, allocations: 7.656 kB / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.023, allocations: 0 / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.023, allocations: 0 / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.025, allocations: 1.475 MB / 1.149 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.025, allocations: 0 / 1.149 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/1.025, allocations: 126.2 kB / 1.149 GB, free: 22.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.025, allocations: 7.781 kB / 1.149 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/1.026, allocations: 12.16 kB / 1.149 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.026, allocations: 11.72 kB / 1.149 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.026, allocations: 3.984 kB / 1.149 GB, free: 22.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.027, allocations: 1.055 MB / 1.15 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/1.027, allocations: 169.6 kB / 1.15 GB, free: 21.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/1.027, allocations: 17.88 kB / 1.15 GB, free: 21.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.028, allocations: 55.67 kB / 1.15 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/1.028, allocations: 35.53 kB / 1.15 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/1.028, allocations: 22.84 kB / 1.15 GB, free: 21.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000572/1.028, allocations: 0.4981 MB / 1.151 GB, free: 21.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 3.781 kB / 1.151 GB, free: 21.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007208/1.029, allocations: 305.6 kB / 1.151 GB, free: 21.37 MB / 0.698 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.0002111/1.029, allocations: 137.6 kB / 1.151 GB, free: 21.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.031, allocations: 1.044 MB / 1.152 GB, free: 21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.031, allocations: 4.188 kB / 1.152 GB, free: 21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/1.031, allocations: 313.9 kB / 1.152 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/1.032, allocations: 165.6 kB / 1.153 GB, free: 20.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/1.034, allocations: 1.738 MB / 1.154 GB, free: 19.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/1.035, allocations: 0.9875 MB / 1.155 GB, free: 19.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003983/1.035, allocations: 96.31 kB / 1.155 GB, free: 19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/1.036, allocations: 64.64 kB / 1.155 GB, free: 18.98 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/1.036, allocations: 0 / 1.155 GB, free: 18.98 MB / 0.698 GB Notification: Performance of Templates: time 0.01453/1.05, allocations: 8.738 MB / 1.164 GB, free: 11.51 MB / 0.698 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)