Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.617/3.617, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 75.95 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4108, allocations: 181.9 MB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.00667/0.4175, allocations: 3.84 MB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.422, allocations: 2.6 MB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.4226, allocations: 27.88 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.4231, allocations: 237.5 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.4237, allocations: 250 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.4253, allocations: 0.7619 MB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.4273, allocations: 1.915 MB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.4284, allocations: 0.6205 MB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.4293, allocations: 0.681 MB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.43, allocations: 0.6176 MB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.4303, allocations: 220 kB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.4307, allocations: 240 kB / 1.376 GB, free: 1.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.431, allocations: 382.7 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/0.4316, allocations: 0.6102 MB / 1.376 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.4342, allocations: 2.323 MB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4342, allocations: 3.938 kB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4342, allocations: 0 / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.4342, allocations: 0 / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.003551/0.4378, allocations: 2.066 MB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4378, allocations: 8.031 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.4381, allocations: 179.8 kB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.4395, allocations: 0.7734 MB / 1.382 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.4396, allocations: 94.7 kB / 1.382 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.4398, allocations: 132.3 kB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.442, allocations: 1.291 MB / 1.383 GB, free: 9.539 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.442, allocations: 7.922 kB / 1.383 GB, free: 9.531 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.4421, allocations: 48 kB / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.4421, allocations: 28 kB / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4439, allocations: 0.8833 MB / 1.384 GB, free: 8.566 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.4496, allocations: 3.424 MB / 1.387 GB, free: 5.055 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.4516, allocations: 0.9215 MB / 1.388 GB, free: 4.137 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.4524, allocations: 446.5 kB / 1.389 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.4524, allocations: 12.66 kB / 1.389 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008701/0.4533, allocations: 452.8 kB / 1.389 GB, free: 3.234 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.747e-06/0.4533, allocations: 0 / 1.389 GB, free: 3.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002246/0.4556, allocations: 1.074 MB / 1.39 GB, free: 2.156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.4557, allocations: 200.8 kB / 1.39 GB, free: 1.914 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4569, allocations: 0.8097 MB / 1.391 GB, free: 1.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.457, allocations: 53.69 kB / 1.391 GB, free: 1.031 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.4577, allocations: 0.5827 MB / 1.392 GB, free: 452 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.458, allocations: 293.5 kB / 1.392 GB, free: 156 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.4584, allocations: 190.6 kB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000304/0.4587, allocations: 337.9 kB / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4597, allocations: 444.1 kB / 1.393 GB, free: 15.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.461, allocations: 0.8549 MB / 1.394 GB, free: 14.19 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.4627, allocations: 0.8179 MB / 1.395 GB, free: 13.34 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4627, allocations: 3.938 kB / 1.395 GB, free: 13.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002312/0.465, allocations: 1.171 MB / 1.396 GB, free: 12.13 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.392e-05/0.4651, allocations: 67.64 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4651, allocations: 8 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.4652, allocations: 7.984 kB / 1.396 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.4659, allocations: 175.8 kB / 1.396 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4659, allocations: 7.984 kB / 1.396 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.4666, allocations: 163.3 kB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.4667, allocations: 39.98 kB / 1.396 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.4677, allocations: 0.5795 MB / 1.397 GB, free: 11.06 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/0.4688, allocations: 0.7808 MB / 1.398 GB, free: 10.15 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/0.47, allocations: 0.7124 MB / 1.398 GB, free: 9.398 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.47, allocations: 0 / 1.398 GB, free: 9.398 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001858/0.4719, allocations: 1.043 MB / 1.399 GB, free: 8.324 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.4719, allocations: 75.39 kB / 1.399 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4719, allocations: 0 / 1.399 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.4719, allocations: 7.938 kB / 1.399 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.4725, allocations: 155.8 kB / 1.4 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4725, allocations: 8 kB / 1.4 GB, free: 8.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.4732, allocations: 147.4 kB / 1.4 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.4733, allocations: 39.98 kB / 1.4 GB, free: 7.887 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,ena.y,$PRE.ena.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 2 * 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.000305/0.4736, allocations: 236 kB / 1.4 GB, free: 7.648 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.4737, allocations: 99.38 kB / 1.4 GB, free: 7.551 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4754, allocations: 0.8323 MB / 1.401 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.4754, allocations: 8 kB / 1.401 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4755, allocations: 0 / 1.401 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4755, allocations: 3.984 kB / 1.401 GB, free: 6.699 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.4789, allocations: 1.936 MB / 1.403 GB, free: 4.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4789, allocations: 8.281 kB / 1.403 GB, free: 4.691 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.4795, allocations: 147.8 kB / 1.403 GB, free: 4.547 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4795, allocations: 8 kB / 1.403 GB, free: 4.539 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.4796, allocations: 23.98 kB / 1.403 GB, free: 4.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.4796, allocations: 7.938 kB / 1.403 GB, free: 4.508 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4796, allocations: 4 kB / 1.403 GB, free: 4.504 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.4825, allocations: 1.375 MB / 1.404 GB, free: 3.086 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.4826, allocations: 123.2 kB / 1.404 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.4827, allocations: 24 kB / 1.404 GB, free: 2.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.4831, allocations: 47.95 kB / 1.405 GB, free: 2.895 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.4832, allocations: 52.56 kB / 1.405 GB, free: 2.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.4833, allocations: 32.11 kB / 1.405 GB, free: 2.809 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008288/0.4841, allocations: 0.5654 MB / 1.405 GB, free: 2.246 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4841, allocations: 3.938 kB / 1.405 GB, free: 2.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001203/0.4853, allocations: 474.3 kB / 1.406 GB, free: 1.777 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.conPID.D.x,noLimPID.conPID.I.y,limPD.conPID.D.x,limPI.conPID.I.y,limPID.conPID.D.x,limPID.conPID.I.y) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ena.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002336/0.4856, allocations: 135 kB / 1.406 GB, free: 1.637 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.4883, allocations: 1.566 MB / 1.407 GB, free: 0 / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4883, allocations: 0 / 1.407 GB, free: 0 / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.489, allocations: 369 kB / 1.408 GB, free: 15.64 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4904, allocations: 306.5 kB / 1.408 GB, free: 15.35 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.4939, allocations: 2.032 MB / 1.41 GB, free: 13.26 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.4945, allocations: 0.5096 MB / 1.41 GB, free: 12.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005023/0.495, allocations: 127.5 kB / 1.411 GB, free: 12.58 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.4952, allocations: 79.42 kB / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of SimCode: time 4.71e-07/0.4952, allocations: 0 / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of Templates: time 0.03119/0.5264, allocations: 16.98 MB / 1.427 GB, free: 11.82 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 10.282742697745562] Failed to read output from testmodel.py, exit status != 0: 0.5362075176090002 0.552329964 0.11501448600000001 Calling exit ...