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.646/1.646, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001047/0.001047, allocations: 178.5 kB / 371.6 MB, free: 3.371 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.781/1.781, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009756/0.0009756, allocations: 90.66 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.863e-05, allocations: 8 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.345, allocations: 140.8 MB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.346, allocations: 73.91 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03906/1.385, allocations: 15.93 MB / 1.133 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/1.385, allocations: 0.5625 kB / 1.133 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.379e-05/1.385, allocations: 24 kB / 1.133 GB, free: 35.09 MB / 0.7448 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.002017/1.387, allocations: 1.091 MB / 1.134 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.387, allocations: 12.03 kB / 1.134 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/1.387, allocations: 116.3 kB / 1.134 GB, free: 34.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.389, allocations: 0.646 MB / 1.135 GB, free: 33.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/1.389, allocations: 69.62 kB / 1.135 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.389, allocations: 86.78 kB / 1.135 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/1.39, allocations: 0.7558 MB / 1.136 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.39, allocations: 0 / 1.136 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/1.39, allocations: 37.84 kB / 1.136 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/1.39, allocations: 24 kB / 1.136 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/1.391, allocations: 0.518 MB / 1.136 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/1.395, allocations: 2.678 MB / 1.139 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/1.396, allocations: 0.5756 MB / 1.139 GB, free: 30.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/1.396, allocations: 265.6 kB / 1.14 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/1.396, allocations: 9.672 kB / 1.14 GB, free: 30.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/1.397, allocations: 298 kB / 1.14 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 2.905e-06/1.397, allocations: 0 / 1.14 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.0007906/1.398, allocations: 0.4984 MB / 1.14 GB, free: 29.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/1.398, allocations: 193.6 kB / 1.141 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/1.399, allocations: 0.6216 MB / 1.141 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/1.399, allocations: 44.44 kB / 1.141 GB, free: 29.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.399, allocations: 441.1 kB / 1.142 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.399, allocations: 202.1 kB / 1.142 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/1.399, allocations: 14.38 kB / 1.142 GB, free: 28.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/1.399, allocations: 333.4 kB / 1.142 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/1.399, allocations: 195.6 kB / 1.142 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/1.4, allocations: 343.6 kB / 1.143 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/1.4, allocations: 264.9 kB / 1.143 GB, free: 28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.4, allocations: 0 / 1.143 GB, free: 28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009194/1.401, allocations: 0.6664 MB / 1.144 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.401, allocations: 0.5677 MB / 1.144 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.401, allocations: 0 / 1.144 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.401, allocations: 4 kB / 1.144 GB, free: 26.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/1.402, allocations: 149 kB / 1.144 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.402, allocations: 8 kB / 1.144 GB, free: 26.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/1.403, allocations: 148.8 kB / 1.144 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/1.403, allocations: 34.77 kB / 1.144 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/1.403, allocations: 4.938 kB / 1.144 GB, free: 26.65 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007915/1.403, allocations: 0.5498 MB / 1.145 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/1.403, allocations: 1.125 kB / 1.145 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/1.403, allocations: 4 kB / 1.145 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/1.404, allocations: 112.6 kB / 1.145 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.404, allocations: 4.984 kB / 1.145 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/1.404, allocations: 115.7 kB / 1.145 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/1.404, allocations: 24.41 kB / 1.145 GB, free: 26.1 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.0001299/1.404, allocations: 144.4 kB / 1.145 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.405, allocations: 86.88 kB / 1.146 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/1.405, allocations: 96.58 kB / 1.146 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.405, allocations: 8 kB / 1.146 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.405, allocations: 0 / 1.146 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.405, allocations: 3.094 kB / 1.146 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/1.406, allocations: 1.338 MB / 1.147 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.406, allocations: 0.75 kB / 1.147 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/1.407, allocations: 129.7 kB / 1.147 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.407, allocations: 4 kB / 1.147 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/1.407, allocations: 13.58 kB / 1.147 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.407, allocations: 0 / 1.147 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.407, allocations: 1.078 kB / 1.147 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/1.408, allocations: 0.8671 MB / 1.148 GB, free: 24.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.408, allocations: 169.2 kB / 1.148 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/1.408, allocations: 17.59 kB / 1.148 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/1.408, allocations: 64.62 kB / 1.148 GB, free: 24.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/1.408, allocations: 32 kB / 1.148 GB, free: 24.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.409, allocations: 21.77 kB / 1.148 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005192/1.409, allocations: 0.4933 MB / 1.149 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.409, allocations: 0 / 1.149 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006626/1.41, allocations: 305.5 kB / 1.149 GB, free: 23.48 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.000195/1.41, allocations: 145.8 kB / 1.149 GB, free: 23.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00113/1.411, allocations: 0.934 MB / 1.15 GB, free: 22.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.411, allocations: 0 / 1.15 GB, free: 22.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/1.411, allocations: 242.3 kB / 1.15 GB, free: 22.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/1.412, allocations: 157.8 kB / 1.15 GB, free: 22.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/1.414, allocations: 1.068 MB / 1.151 GB, free: 21.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/1.414, allocations: 1.009 MB / 1.152 GB, free: 20.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000543/1.415, allocations: 139.3 kB / 1.153 GB, free: 20.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.415, allocations: 51.52 kB / 1.153 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/1.415, allocations: 3.938 kB / 1.153 GB, free: 20.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.0169/1.432, allocations: 9.885 MB / 1.162 GB, free: 14.82 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)