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.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001498/0.001498, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.699/1.699, allocations: 205.2 MB / 0.626 GB, free: 7.121 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.0007699/0.0007698, allocations: 89.77 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/1.991e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5684, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.7589, allocations: 140.1 MB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.7592, allocations: 75.95 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07201/0.8313, allocations: 15.82 MB / 1.126 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8313, allocations: 0 / 1.126 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.475e-05/0.8314, allocations: 27.98 kB / 1.126 GB, free: 10.24 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.002744/0.8342, allocations: 1.089 MB / 1.127 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8342, allocations: 8.031 kB / 1.127 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.8345, allocations: 118.6 kB / 1.127 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.8356, allocations: 0.6453 MB / 1.127 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.8357, allocations: 28 kB / 1.127 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.8358, allocations: 56 kB / 1.128 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008152/0.8366, allocations: 491.6 kB / 1.128 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009953/0.8376, allocations: 0.6333 MB / 1.129 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8376, allocations: 8 kB / 1.129 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.8377, allocations: 0 / 1.129 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.8377, allocations: 23.94 kB / 1.129 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.8409, allocations: 2.497 MB / 1.131 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.8419, allocations: 0.5441 MB / 1.132 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.8422, allocations: 250.8 kB / 1.132 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.8423, allocations: 8.562 kB / 1.132 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.8427, allocations: 274 kB / 1.132 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 1.924e-06/0.8427, allocations: 0 / 1.132 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0007356/0.8434, allocations: 470.1 kB / 1.133 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.8435, allocations: 188.5 kB / 1.133 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.8441, allocations: 495.6 kB / 1.133 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.8442, allocations: 29.7 kB / 1.133 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.8445, allocations: 440.9 kB / 1.134 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.8447, allocations: 201 kB / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.8447, allocations: 0 / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8449, allocations: 382.8 kB / 1.134 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.8452, allocations: 193.5 kB / 1.134 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.8456, allocations: 320.5 kB / 1.135 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.8461, allocations: 228.2 kB / 1.135 GB, free: 388 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8461, allocations: 0 / 1.135 GB, free: 388 kB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000947/0.847, allocations: 0.5879 MB / 1.136 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.8473, allocations: 0.5649 MB / 1.136 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8473, allocations: 7.984 kB / 1.136 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.8473, allocations: 7.953 kB / 1.136 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.8479, allocations: 143.8 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8479, allocations: 11.92 kB / 1.136 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.8484, allocations: 123.5 kB / 1.136 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.8485, allocations: 27.98 kB / 1.136 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.8485, allocations: 4 kB / 1.136 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007914/0.8493, allocations: 477.3 kB / 1.137 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8493, allocations: 11 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.8493, allocations: 4 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.8497, allocations: 107.8 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8497, allocations: 4 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.8502, allocations: 99.47 kB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.8502, allocations: 20 kB / 1.137 GB, free: 14.15 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.0001627/0.8504, allocations: 122.6 kB / 1.137 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.8505, allocations: 79.05 kB / 1.137 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.8507, allocations: 71.42 kB / 1.137 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8507, allocations: 12 kB / 1.137 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.8507, allocations: 0 / 1.137 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8507, allocations: 3.984 kB / 1.137 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.8521, allocations: 1.184 MB / 1.138 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8521, allocations: 0 / 1.138 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.8527, allocations: 127.9 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.8527, allocations: 4 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.8527, allocations: 7.984 kB / 1.139 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8527, allocations: 4 kB / 1.139 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8527, allocations: 0 / 1.139 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.8538, allocations: 0.8017 MB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.8539, allocations: 152.1 kB / 1.14 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.854, allocations: 7.984 kB / 1.14 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.8543, allocations: 51.95 kB / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.8544, allocations: 32.52 kB / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.8544, allocations: 16 kB / 1.14 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000417/0.8549, allocations: 380.6 kB / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8549, allocations: 0 / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007484/0.8556, allocations: 294.4 kB / 1.14 GB, free: 10.73 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.0002327/0.8559, allocations: 127 kB / 1.14 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.8571, allocations: 0.886 MB / 1.141 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8571, allocations: 0 / 1.141 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.8574, allocations: 226.1 kB / 1.142 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.8582, allocations: 145.1 kB / 1.142 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.8601, allocations: 1.02 MB / 1.143 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.8607, allocations: 1.006 MB / 1.144 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005135/0.8612, allocations: 120.4 kB / 1.144 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.8613, allocations: 51.42 kB / 1.144 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.8613, allocations: 0 / 1.144 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.0141/0.8755, allocations: 8.503 MB / 1.152 GB, free: 14.78 MB / 0.7605 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)