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.729/1.729, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001074/0.001074, allocations: 181 kB / 371.8 MB, free: 10.29 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.994/1.994, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.001/0.001, allocations: 105.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 18.28 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7926/1.047, allocations: 139.9 MB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.048, allocations: 80 kB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03931/1.087, allocations: 15.98 MB / 1.132 GB, free: 28.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.087, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.677e-05/1.087, allocations: 19.25 kB / 1.132 GB, free: 28.95 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.002333/1.089, allocations: 1.264 MB / 1.133 GB, free: 28.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.089, allocations: 15.61 kB / 1.133 GB, free: 28.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/1.09, allocations: 120.4 kB / 1.133 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.091, allocations: 0.6496 MB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/1.091, allocations: 64.31 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.091, allocations: 89.34 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.092, allocations: 0.8362 MB / 1.135 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.092, allocations: 3.875 kB / 1.135 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/1.092, allocations: 31.41 kB / 1.135 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.092, allocations: 22.86 kB / 1.135 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.094, allocations: 0.6523 MB / 1.135 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/1.097, allocations: 2.676 MB / 1.138 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.099, allocations: 0.7634 MB / 1.139 GB, free: 25.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/1.099, allocations: 11.95 kB / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/1.099, allocations: 358.6 kB / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.485e-06/1.099, allocations: 0 / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001702/1.101, allocations: 0.8616 MB / 1.14 GB, free: 25.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.101, allocations: 192.1 kB / 1.14 GB, free: 25.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/1.102, allocations: 0.6267 MB / 1.141 GB, free: 24.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/1.102, allocations: 47.66 kB / 1.141 GB, free: 24.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/1.103, allocations: 442.3 kB / 1.141 GB, free: 24.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.103, allocations: 212.8 kB / 1.141 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/1.103, allocations: 13.59 kB / 1.141 GB, free: 24.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.103, allocations: 327.2 kB / 1.142 GB, free: 24.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/1.103, allocations: 273.8 kB / 1.142 GB, free: 24.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/1.104, allocations: 409 kB / 1.142 GB, free: 23.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/1.105, allocations: 322.4 kB / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.105, allocations: 3.984 kB / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001363/1.106, allocations: 0.8109 MB / 1.143 GB, free: 23.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/1.106, allocations: 0.5634 MB / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.106, allocations: 0 / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.106, allocations: 3.812 kB / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/1.107, allocations: 151.1 kB / 1.144 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.107, allocations: 3.844 kB / 1.144 GB, free: 23.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/1.107, allocations: 151.5 kB / 1.144 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/1.108, allocations: 22.84 kB / 1.144 GB, free: 23.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/1.108, allocations: 3.844 kB / 1.144 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007923/1.108, allocations: 0.564 MB / 1.145 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.108, allocations: 3.875 kB / 1.145 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/1.108, allocations: 3.875 kB / 1.145 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/1.109, allocations: 107.5 kB / 1.145 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.109, allocations: 3.875 kB / 1.145 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/1.109, allocations: 115.9 kB / 1.145 GB, free: 22.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/1.109, allocations: 26.64 kB / 1.145 GB, free: 22.85 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.0005237/1.11, allocations: 300.2 kB / 1.145 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.11, allocations: 88.47 kB / 1.146 GB, free: 22.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.11, allocations: 95 kB / 1.146 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.11, allocations: 7.875 kB / 1.146 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.11, allocations: 3.906 kB / 1.146 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.11, allocations: 3.984 kB / 1.146 GB, free: 22.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/1.112, allocations: 1.464 MB / 1.147 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.112, allocations: 3.984 kB / 1.147 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/1.112, allocations: 125.2 kB / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.112, allocations: 3.844 kB / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/1.113, allocations: 17.17 kB / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.113, allocations: 3.844 kB / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.113, allocations: 0 / 1.147 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.114, allocations: 1.057 MB / 1.148 GB, free: 21.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/1.114, allocations: 176 kB / 1.148 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/1.114, allocations: 11.94 kB / 1.148 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.115, allocations: 62.27 kB / 1.148 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/1.115, allocations: 38.17 kB / 1.149 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.115, allocations: 22.64 kB / 1.149 GB, free: 21.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005639/1.115, allocations: 0.5017 MB / 1.149 GB, free: 21.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 0 / 1.149 GB, free: 21.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007687/1.116, allocations: 309 kB / 1.149 GB, free: 21.21 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.0002494/1.116, allocations: 135 kB / 1.149 GB, free: 21.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.118, allocations: 1.042 MB / 1.15 GB, free: 20.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.118, allocations: 0 / 1.15 GB, free: 20.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004599/1.119, allocations: 308.4 kB / 1.151 GB, free: 20.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007858/1.119, allocations: 167.2 kB / 1.151 GB, free: 20.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/1.122, allocations: 1.741 MB / 1.153 GB, free: 19.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/1.122, allocations: 1.001 MB / 1.154 GB, free: 18.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003882/1.123, allocations: 107.3 kB / 1.154 GB, free: 18.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/1.123, allocations: 64.92 kB / 1.154 GB, free: 18.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.123, allocations: 0 / 1.154 GB, free: 18.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0154/1.138, allocations: 8.588 MB / 1.162 GB, free: 12.08 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)