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.00157/0.00157, allocations: 96.42 kB / 19.7 MB, free: 1.992 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.0018/0.0018, allocations: 221.8 kB / 23 MB, free: 4.918 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.206/3.206, allocations: 0.5097 GB / 0.8155 GB, free: 18.4 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.002101/0.002101, allocations: 65.95 kB / 1.185 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 181.4 MB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.00595/0.3604, allocations: 3.835 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.365, allocations: 2.608 MB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.3658, allocations: 31.81 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.3663, allocations: 225.5 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.3669, allocations: 250 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.3685, allocations: 0.7652 MB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3705, allocations: 1.908 MB / 1.372 GB, free: 6.023 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3716, allocations: 0.6245 MB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.3723, allocations: 0.6888 MB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.3731, allocations: 0.6098 MB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.3733, allocations: 216 kB / 1.374 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.3736, allocations: 239.9 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.3739, allocations: 386.7 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.3745, allocations: 0.6063 MB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.3767, allocations: 2.331 MB / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3767, allocations: 0 / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3767, allocations: 0 / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.3768, allocations: 0 / 1.377 GB, free: 280 kB / 1.061 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.003674/0.3804, allocations: 2.069 MB / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3805, allocations: 12.03 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.3808, allocations: 175.8 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.3821, allocations: 0.7734 MB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.3822, allocations: 98.69 kB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.3824, allocations: 128.4 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.3847, allocations: 1.295 MB / 1.382 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.3847, allocations: 3.938 kB / 1.382 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3848, allocations: 52 kB / 1.382 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.3848, allocations: 28 kB / 1.382 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3867, allocations: 0.8755 MB / 1.382 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.3928, allocations: 3.439 MB / 1.386 GB, free: 7.066 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.3949, allocations: 0.9215 MB / 1.387 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.3957, allocations: 438.6 kB / 1.387 GB, free: 5.719 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.3958, allocations: 12.64 kB / 1.387 GB, free: 5.703 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00089/0.3967, allocations: 456.7 kB / 1.388 GB, free: 5.246 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.447e-06/0.3967, allocations: 0 / 1.388 GB, free: 5.246 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.00234/0.399, allocations: 1.082 MB / 1.389 GB, free: 4.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.3992, allocations: 192.9 kB / 1.389 GB, free: 3.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.4003, allocations: 0.8098 MB / 1.39 GB, free: 3.105 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.4004, allocations: 49.7 kB / 1.39 GB, free: 3.051 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.4009, allocations: 0.5827 MB / 1.39 GB, free: 2.461 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.4012, allocations: 293.5 kB / 1.391 GB, free: 2.172 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.4015, allocations: 186.6 kB / 1.391 GB, free: 1.984 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4017, allocations: 345.9 kB / 1.391 GB, free: 1.641 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.4026, allocations: 440.1 kB / 1.391 GB, free: 1.195 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4038, allocations: 0.8589 MB / 1.392 GB, free: 208 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.4054, allocations: 0.814 MB / 1.393 GB, free: 15.35 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4054, allocations: 0 / 1.393 GB, free: 15.35 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002388/0.4078, allocations: 1.171 MB / 1.394 GB, free: 14.15 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.4079, allocations: 67.39 kB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4079, allocations: 3.938 kB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4079, allocations: 8.25 kB / 1.394 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.4087, allocations: 187.7 kB / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4087, allocations: 4 kB / 1.394 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/0.4096, allocations: 155.4 kB / 1.395 GB, free: 13.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.4097, allocations: 35.98 kB / 1.395 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001038/0.4107, allocations: 0.5873 MB / 1.395 GB, free: 13.08 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009537/0.4117, allocations: 0.7808 MB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/0.4128, allocations: 0.7163 MB / 1.397 GB, free: 11.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.4128, allocations: 0 / 1.397 GB, free: 11.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001843/0.4147, allocations: 1.039 MB / 1.398 GB, free: 10.34 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.4147, allocations: 67.58 kB / 1.398 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4147, allocations: 8.25 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.4147, allocations: 7.938 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.4154, allocations: 155.8 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4154, allocations: 8 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.4162, allocations: 135.5 kB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.4162, allocations: 43.98 kB / 1.398 GB, free: 9.91 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.000274/0.4165, allocations: 245.7 kB / 1.398 GB, free: 9.664 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4167, allocations: 103.3 kB / 1.398 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.4184, allocations: 0.8284 MB / 1.399 GB, free: 8.727 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4184, allocations: 8 kB / 1.399 GB, free: 8.719 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4185, allocations: 0 / 1.399 GB, free: 8.719 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4185, allocations: 3.984 kB / 1.399 GB, free: 8.715 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.4218, allocations: 1.94 MB / 1.401 GB, free: 6.715 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4218, allocations: 0 / 1.401 GB, free: 6.715 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.4225, allocations: 164.1 kB / 1.401 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4225, allocations: 8 kB / 1.401 GB, free: 6.547 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.4226, allocations: 19.98 kB / 1.401 GB, free: 6.527 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4226, allocations: 4 kB / 1.401 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4226, allocations: 7.938 kB / 1.401 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.425, allocations: 1.382 MB / 1.403 GB, free: 5.086 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4252, allocations: 119.2 kB / 1.403 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.4253, allocations: 16 kB / 1.403 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.4258, allocations: 51.95 kB / 1.403 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.4259, allocations: 56.55 kB / 1.403 GB, free: 4.844 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.4259, allocations: 31.88 kB / 1.403 GB, free: 4.812 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007753/0.4267, allocations: 0.5615 MB / 1.404 GB, free: 4.254 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4267, allocations: 0 / 1.404 GB, free: 4.254 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001139/0.4278, allocations: 478.3 kB / 1.404 GB, free: 3.785 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.0001965/0.428, allocations: 135 kB / 1.404 GB, free: 3.645 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.4309, allocations: 1.563 MB / 1.406 GB, free: 2.012 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4309, allocations: 4 kB / 1.406 GB, free: 2.008 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.4316, allocations: 384.5 kB / 1.406 GB, free: 1.637 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.433, allocations: 307.1 kB / 1.406 GB, free: 1.344 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.4363, allocations: 2.077 MB / 1.408 GB, free: 15.2 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.4368, allocations: 0.5018 MB / 1.409 GB, free: 14.66 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.4371, allocations: 83.42 kB / 1.409 GB, free: 14.58 MB / 1.108 GB Notification: Performance of SimCode: time 8.61e-07/0.4371, allocations: 0 / 1.409 GB, free: 14.58 MB / 1.108 GB Notification: Performance of Templates: time 0.02229/0.4594, allocations: 14.94 MB / 1.423 GB, free: 15.68 MB / 1.123 GB " [Timeout remaining time 300] 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: 12.944850270054303] Failed to read output from testmodel.py, exit status != 0: 0.46744003298226744 0.481718978 0.101920565 Calling exit ...