Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008047, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006093/0.006093, allocations: 174.3 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.565/1.565, allocations: 252 MB / 0.5105 GB, free: 4.621 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005656, allocations: 19.98 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5346, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004283/0.539, allocations: 3.914 MB / 0.7325 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.5419, allocations: 1.586 MB / 0.7341 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.5424, allocations: 31.81 kB / 0.7341 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.5427, allocations: 122.8 kB / 0.7342 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.5433, allocations: 182.8 kB / 0.7344 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.5446, allocations: 0.6184 MB / 0.735 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.5458, allocations: 1.136 MB / 0.7361 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000756/0.5466, allocations: 482.2 kB / 0.7366 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.5471, allocations: 357.7 kB / 0.7369 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.5475, allocations: 353.5 kB / 0.7373 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.5475, allocations: 28 kB / 0.7373 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.5476, allocations: 28 kB / 0.7373 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.5478, allocations: 143.1 kB / 0.7374 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.5481, allocations: 418.7 kB / 0.7378 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.5489, allocations: 1.012 MB / 0.7388 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5489, allocations: 3.938 kB / 0.7388 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5489, allocations: 0 / 0.7388 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.5489, allocations: 0 / 0.7388 GB, free: 0.8516 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00216/0.5511, allocations: 1.239 MB / 0.74 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5512, allocations: 8.031 kB / 0.7401 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.5513, allocations: 123.4 kB / 0.7402 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5525, allocations: 0.7392 MB / 0.7409 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.5526, allocations: 76.27 kB / 0.741 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5527, allocations: 72.38 kB / 0.741 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5539, allocations: 0.7446 MB / 0.7418 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.554, allocations: 4 kB / 0.7418 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.554, allocations: 32 kB / 0.7418 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.5541, allocations: 16 kB / 0.7418 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5551, allocations: 0.5282 MB / 0.7423 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.5583, allocations: 2.298 MB / 0.7446 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.5597, allocations: 0.6311 MB / 0.7452 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.5602, allocations: 282.4 kB / 0.7455 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.5603, allocations: 16.48 kB / 0.7455 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.561, allocations: 327.1 kB / 0.7458 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.374e-06/0.561, allocations: 0 / 0.7458 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001625/0.5626, allocations: 0.7672 MB / 0.7465 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5627, allocations: 89.61 kB / 0.7466 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.5635, allocations: 0.7675 MB / 0.7474 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.5636, allocations: 41.64 kB / 0.7474 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5639, allocations: 444.5 kB / 0.7478 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5641, allocations: 201 kB / 0.748 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.5642, allocations: 61.67 kB / 0.7481 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5644, allocations: 333.9 kB / 0.7484 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.5649, allocations: 209.2 kB / 0.7486 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.5655, allocations: 308.5 kB / 0.7489 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5665, allocations: 0.5192 MB / 0.7494 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5665, allocations: 0 / 0.7494 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001381/0.5679, allocations: 0.6656 MB / 0.7501 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.5681, allocations: 156.8 kB / 0.7502 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5681, allocations: 7.938 kB / 0.7502 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5681, allocations: 8 kB / 0.7502 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.5688, allocations: 143.8 kB / 0.7504 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5688, allocations: 8 kB / 0.7504 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.5693, allocations: 79.34 kB / 0.7504 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.5693, allocations: 19.98 kB / 0.7505 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.5693, allocations: 8 kB / 0.7505 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.5703, allocations: 0.5247 MB / 0.751 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5704, allocations: 8.031 kB / 0.751 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.5704, allocations: 4 kB / 0.751 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.571, allocations: 139.8 kB / 0.7511 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.571, allocations: 8 kB / 0.7511 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.5714, allocations: 67.41 kB / 0.7512 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.5715, allocations: 20 kB / 0.7512 GB, free: 3.762 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004456/0.5719, allocations: 300.9 kB / 0.7515 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.572, allocations: 94.78 kB / 0.7516 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.5723, allocations: 101.3 kB / 0.7517 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.5723, allocations: 7.984 kB / 0.7517 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5723, allocations: 0 / 0.7517 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5723, allocations: 7.938 kB / 0.7517 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.5744, allocations: 1.462 MB / 0.7531 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5745, allocations: 0 / 0.7531 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.575, allocations: 107.8 kB / 0.7532 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.575, allocations: 4 kB / 0.7532 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.5751, allocations: 19.88 kB / 0.7533 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5751, allocations: 0 / 0.7533 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5751, allocations: 0 / 0.7533 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5768, allocations: 0.986 MB / 0.7542 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.5771, allocations: 223.7 kB / 0.7544 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.5772, allocations: 15.94 kB / 0.7544 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.5776, allocations: 43.95 kB / 0.7545 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.5777, allocations: 36.61 kB / 0.7545 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.5778, allocations: 23.97 kB / 0.7545 GB, free: 248 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006528/0.5784, allocations: 0.5148 MB / 0.755 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5784, allocations: 0 / 0.755 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007517/0.5792, allocations: 275 kB / 0.7553 GB, free: 15.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.5794, allocations: 123.1 kB / 0.7554 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.581, allocations: 0.8075 MB / 0.7562 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.581, allocations: 0 / 0.7562 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.5816, allocations: 279.7 kB / 0.7565 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5828, allocations: 242.3 kB / 0.7567 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.5857, allocations: 1.95 MB / 0.7586 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.5862, allocations: 0.994 MB / 0.7596 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.5867, allocations: 114.9 kB / 0.7597 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5869, allocations: 59.42 kB / 0.7598 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.5869, allocations: 0 / 0.7598 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.01537/0.6023, allocations: 8.7 MB / 0.7683 GB, free: 2.227 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: