Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.716/1.716, allocations: 297.8 MB / 313.7 MB, free: 136 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.001182/0.001183, allocations: 184.4 kB / 384.6 MB, free: 10.88 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.512/1.512, allocations: 223.2 MB / 0.6626 GB, free: 4.293 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.0007996/0.0007996, allocations: 100 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004412, allocations: 15.94 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8126, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/1.021, allocations: 146.1 MB / 1.169 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.021, allocations: 94.7 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06621/1.087, allocations: 24.65 MB / 1.193 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.475e-06/1.087, allocations: 0 / 1.193 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001403/1.088, allocations: 32.88 kB / 1.193 GB, free: 7.297 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003886/1.091, allocations: 1.551 MB / 1.195 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.092, allocations: 8.031 kB / 1.195 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/1.092, allocations: 167 kB / 1.195 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/1.094, allocations: 0.828 MB / 1.196 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/1.094, allocations: 86.55 kB / 1.196 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/1.095, allocations: 112.4 kB / 1.196 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/1.098, allocations: 1.117 MB / 1.197 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/1.098, allocations: 7.938 kB / 1.197 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/1.098, allocations: 45.12 kB / 1.197 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/1.098, allocations: 28 kB / 1.197 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.1, allocations: 0.8863 MB / 1.198 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006903/1.107, allocations: 3.773 MB / 1.202 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/1.109, allocations: 1.091 MB / 1.203 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/1.11, allocations: 463.7 kB / 1.203 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/1.11, allocations: 9 kB / 1.203 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009719/1.111, allocations: 484.9 kB / 1.204 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 4.619e-06/1.111, allocations: 4 kB / 1.204 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.002717/1.114, allocations: 1.155 MB / 1.205 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.114, allocations: 230.6 kB / 1.205 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.116, allocations: 0.9373 MB / 1.206 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.116, allocations: 51.86 kB / 1.206 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/1.117, allocations: 0.5518 MB / 1.206 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/1.118, allocations: 303.6 kB / 1.207 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/1.118, allocations: 16 kB / 1.207 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.118, allocations: 345.9 kB / 1.207 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/1.119, allocations: 353.8 kB / 1.207 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.12, allocations: 0.5264 MB / 1.208 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.121, allocations: 0.8041 MB / 1.209 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.121, allocations: 0 / 1.209 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0022/1.123, allocations: 1.06 MB / 1.21 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.124, allocations: 168.7 kB / 1.21 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.124, allocations: 4 kB / 1.21 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.124, allocations: 4 kB / 1.21 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/1.124, allocations: 199.7 kB / 1.21 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/1.124, allocations: 8 kB / 1.21 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/1.125, allocations: 188.5 kB / 1.21 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.125, allocations: 36.67 kB / 1.21 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/1.125, allocations: 0 / 1.21 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/1.127, allocations: 0.7552 MB / 1.211 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.127, allocations: 4 kB / 1.211 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/1.127, allocations: 7.938 kB / 1.211 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/1.127, allocations: 155.8 kB / 1.211 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.127, allocations: 9.734 kB / 1.211 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/1.128, allocations: 147 kB / 1.211 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/1.128, allocations: 35.98 kB / 1.211 GB, free: 4.148 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$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 (107): * Single equations (assignments): 106 * 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.0006931/1.129, allocations: 342.4 kB / 1.212 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/1.129, allocations: 118.5 kB / 1.212 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/1.13, allocations: 128.6 kB / 1.212 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.13, allocations: 8 kB / 1.212 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.13, allocations: 0 / 1.212 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.13, allocations: 7.984 kB / 1.212 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/1.133, allocations: 1.939 MB / 1.214 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.133, allocations: 3.875 kB / 1.214 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/1.134, allocations: 183.8 kB / 1.214 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.134, allocations: 4 kB / 1.214 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/1.134, allocations: 16 kB / 1.214 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/1.134, allocations: 7.938 kB / 1.214 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.134, allocations: 4 kB / 1.214 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/1.136, allocations: 1.412 MB / 1.215 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/1.137, allocations: 204.9 kB / 1.216 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.137, allocations: 24 kB / 1.216 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/1.137, allocations: 75.94 kB / 1.216 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.138, allocations: 56.86 kB / 1.216 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/1.138, allocations: 24 kB / 1.216 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001184/1.139, allocations: 0.6486 MB / 1.216 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001261/1.14, allocations: 410.5 kB / 1.217 GB, free: 14.45 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$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 (92): * Single equations (assignments): 91 * 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.0002867/1.14, allocations: 154.3 kB / 1.217 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.143, allocations: 1.356 MB / 1.218 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.143, allocations: 7.938 kB / 1.218 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/1.144, allocations: 422.3 kB / 1.219 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.145, allocations: 246.5 kB / 1.219 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/1.149, allocations: 2.363 MB / 1.221 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009042/1.15, allocations: 1.098 MB / 1.222 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007156/1.151, allocations: 141.9 kB / 1.222 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.151, allocations: 83.41 kB / 1.223 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of SimCode: time 3.196e-06/1.151, allocations: 4 kB / 1.223 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of Templates: time 0.02584/1.177, allocations: 11.68 MB / 1.234 GB, free: 13.13 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)