Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.573/1.573, allocations: 297.8 MB / 313.7 MB, free: 60 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 184.5 kB / 384.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.2 MB / 0.6626 GB, free: 4.168 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008082, allocations: 96.73 kB / 0.7808 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003571, allocations: 15.94 kB / 0.9088 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.5993, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.7765, allocations: 143.1 MB / 1.166 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.7768, allocations: 78.88 kB / 1.166 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04219/0.819, allocations: 16.02 MB / 1.182 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/0.819, allocations: 4 kB / 1.182 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.55e-05/0.8191, allocations: 21.2 kB / 1.182 GB, free: 2.715 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.002948/0.8221, allocations: 1.249 MB / 1.183 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8221, allocations: 8.031 kB / 1.183 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.8225, allocations: 119.5 kB / 1.183 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.8237, allocations: 0.6812 MB / 1.184 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.8238, allocations: 62.38 kB / 1.184 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.824, allocations: 92.36 kB / 1.184 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.8255, allocations: 0.8372 MB / 1.185 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.8255, allocations: 10.06 kB / 1.185 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.8256, allocations: 36 kB / 1.185 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.8256, allocations: 20 kB / 1.185 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.8269, allocations: 0.6528 MB / 1.185 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.8308, allocations: 2.678 MB / 1.188 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.8324, allocations: 0.774 MB / 1.189 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.833, allocations: 346.1 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.8331, allocations: 4.562 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.8338, allocations: 363.7 kB / 1.19 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=63): time 3.196e-06/0.8338, allocations: 0 / 1.19 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63): time 0.001682/0.8355, allocations: 0.8493 MB / 1.19 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.8356, allocations: 188.5 kB / 1.191 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.8365, allocations: 0.7237 MB / 1.191 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.8366, allocations: 41.7 kB / 1.191 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.837, allocations: 433.4 kB / 1.192 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.8372, allocations: 220.8 kB / 1.192 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.8372, allocations: 13.03 kB / 1.192 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8374, allocations: 334 kB / 1.192 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.8379, allocations: 265.2 kB / 1.192 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.8386, allocations: 418 kB / 1.193 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.8397, allocations: 0.6046 MB / 1.193 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8397, allocations: 4 kB / 1.193 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001439/0.8411, allocations: 0.8059 MB / 1.194 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.8413, allocations: 161.4 kB / 1.194 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8413, allocations: 4 kB / 1.194 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.8413, allocations: 7.984 kB / 1.194 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.8418, allocations: 141.1 kB / 1.195 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8419, allocations: 4 kB / 1.195 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.8424, allocations: 155.3 kB / 1.195 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.8425, allocations: 23.94 kB / 1.195 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.8425, allocations: 4 kB / 1.195 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008313/0.8434, allocations: 0.567 MB / 1.195 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.8434, allocations: 8.156 kB / 1.195 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.8434, allocations: 5.641 kB / 1.195 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.8438, allocations: 111.8 kB / 1.195 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8438, allocations: 5 kB / 1.195 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.8442, allocations: 115.4 kB / 1.196 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.8442, allocations: 24 kB / 1.196 GB, free: 4.223 MB / 0.7605 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.0004112/0.8447, allocations: 293 kB / 1.196 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.8448, allocations: 90.89 kB / 1.196 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.8449, allocations: 94.33 kB / 1.196 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8449, allocations: 12 kB / 1.196 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8449, allocations: 0 / 1.196 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.845, allocations: 3.984 kB / 1.196 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.8469, allocations: 1.476 MB / 1.197 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8469, allocations: 0.9375 kB / 1.197 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.8474, allocations: 123.9 kB / 1.198 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.8474, allocations: 0 / 1.198 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.8474, allocations: 16 kB / 1.198 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.8474, allocations: 5.25 kB / 1.198 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8474, allocations: 0 / 1.198 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.849, allocations: 1.057 MB / 1.199 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.8492, allocations: 171.9 kB / 1.199 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.8493, allocations: 16 kB / 1.199 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.8496, allocations: 59.95 kB / 1.199 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.8497, allocations: 33.27 kB / 1.199 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.8497, allocations: 24.8 kB / 1.199 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005713/0.8503, allocations: 0.4951 MB / 1.199 GB, free: 176 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8503, allocations: 0 / 1.199 GB, free: 176 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007014/0.851, allocations: 314.8 kB / 1.2 GB, free: 15.86 MB / 0.7761 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.0002294/0.8513, allocations: 146.4 kB / 1.2 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.8529, allocations: 1.044 MB / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.8529, allocations: 4 kB / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.8534, allocations: 303.7 kB / 1.201 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.8543, allocations: 166.8 kB / 1.201 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.8565, allocations: 1.735 MB / 1.203 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.857, allocations: 0.9826 MB / 1.204 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.8574, allocations: 99.38 kB / 1.204 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.8575, allocations: 71.42 kB / 1.204 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.8575, allocations: 0 / 1.204 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.01459/0.8721, allocations: 8.721 MB / 1.213 GB, free: 2.789 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)