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.001927/0.001927, allocations: 100.4 kB / 19.73 MB, free: 2.086 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.002695/0.002695, allocations: 220 kB / 23.04 MB, free: 4.867 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.431/3.431, allocations: 0.5097 GB / 0.8156 GB, free: 18.44 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.002375/0.002375, allocations: 64.31 kB / 1.185 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4005, allocations: 181.4 MB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006354/0.4068, allocations: 3.836 MB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004873/0.4117, allocations: 2.604 MB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.4125, allocations: 31.81 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.4131, allocations: 229.5 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.4137, allocations: 250 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4153, allocations: 0.7618 MB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.4173, allocations: 1.908 MB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.4184, allocations: 0.6205 MB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.4192, allocations: 0.6888 MB / 1.373 GB, free: 4.629 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/0.42, allocations: 0.6137 MB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.4203, allocations: 216 kB / 1.374 GB, free: 3.801 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.4206, allocations: 228 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.4209, allocations: 394.7 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.4216, allocations: 0.6024 MB / 1.375 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.4241, allocations: 2.331 MB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.4241, allocations: 4 kB / 1.377 GB, free: 248 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4241, allocations: 0 / 1.377 GB, free: 248 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.446e-05/0.4242, allocations: 4 kB / 1.377 GB, free: 244 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.003558/0.4277, allocations: 2.058 MB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4278, allocations: 12.03 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.4281, allocations: 175.9 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4294, allocations: 0.7773 MB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/0.4295, allocations: 94.7 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.4297, allocations: 124.4 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.4319, allocations: 1.295 MB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.432, allocations: 7.938 kB / 1.382 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/0.4321, allocations: 51.98 kB / 1.382 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.4321, allocations: 31.94 kB / 1.382 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.434, allocations: 0.8794 MB / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.4399, allocations: 3.427 MB / 1.386 GB, free: 7.043 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.442, allocations: 0.9299 MB / 1.387 GB, free: 6.117 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.4428, allocations: 442.6 kB / 1.387 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.4429, allocations: 12.66 kB / 1.387 GB, free: 5.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008649/0.4438, allocations: 444.8 kB / 1.388 GB, free: 5.223 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/0.4438, allocations: 4 kB / 1.388 GB, free: 5.219 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002322/0.4461, allocations: 1.082 MB / 1.389 GB, free: 4.133 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4462, allocations: 188.9 kB / 1.389 GB, free: 3.906 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4474, allocations: 0.8175 MB / 1.39 GB, free: 3.074 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.4475, allocations: 53.69 kB / 1.39 GB, free: 3.016 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.448, allocations: 0.5827 MB / 1.39 GB, free: 2.426 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.4483, allocations: 293.5 kB / 1.391 GB, free: 2.137 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.4486, allocations: 182.6 kB / 1.391 GB, free: 1.953 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4488, allocations: 341.9 kB / 1.391 GB, free: 1.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/0.4497, allocations: 444.1 kB / 1.392 GB, free: 1.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.4509, allocations: 0.8549 MB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.4526, allocations: 0.8257 MB / 1.393 GB, free: 15.31 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4526, allocations: 0 / 1.393 GB, free: 15.31 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002337/0.4549, allocations: 1.168 MB / 1.394 GB, free: 14.11 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.455, allocations: 71.39 kB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.455, allocations: 0 / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.455, allocations: 8 kB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.4558, allocations: 179.7 kB / 1.395 GB, free: 13.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.4558, allocations: 8 kB / 1.395 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.4566, allocations: 159.3 kB / 1.395 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.4567, allocations: 35.98 kB / 1.395 GB, free: 13.65 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/0.4577, allocations: 0.5795 MB / 1.395 GB, free: 13.05 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009732/0.4587, allocations: 0.7925 MB / 1.396 GB, free: 12.13 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001159/0.4598, allocations: 0.7046 MB / 1.397 GB, free: 11.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.4598, allocations: 4 kB / 1.397 GB, free: 11.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001916/0.4617, allocations: 1.046 MB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.4618, allocations: 63.41 kB / 1.398 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4618, allocations: 7.984 kB / 1.398 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.4618, allocations: 4 kB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.4624, allocations: 151.8 kB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4624, allocations: 7.938 kB / 1.398 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.4632, allocations: 147.7 kB / 1.398 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.4633, allocations: 32.17 kB / 1.398 GB, free: 9.883 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.000278/0.4635, allocations: 240.1 kB / 1.398 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.4637, allocations: 107.3 kB / 1.399 GB, free: 9.535 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.4654, allocations: 0.8323 MB / 1.399 GB, free: 8.695 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.4654, allocations: 8 kB / 1.399 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4654, allocations: 0 / 1.399 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4654, allocations: 7.984 kB / 1.399 GB, free: 8.68 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.4689, allocations: 1.936 MB / 1.401 GB, free: 6.684 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4689, allocations: 0 / 1.401 GB, free: 6.684 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.4695, allocations: 155.8 kB / 1.401 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.4695, allocations: 4 kB / 1.401 GB, free: 6.527 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.4696, allocations: 20 kB / 1.401 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.4696, allocations: 16.27 kB / 1.401 GB, free: 6.492 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4696, allocations: 4 kB / 1.401 GB, free: 6.488 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.4721, allocations: 1.375 MB / 1.403 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.4723, allocations: 123.3 kB / 1.403 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.4723, allocations: 16 kB / 1.403 GB, free: 4.934 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.4728, allocations: 47.95 kB / 1.403 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.4729, allocations: 56.5 kB / 1.403 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.4729, allocations: 35.92 kB / 1.403 GB, free: 4.793 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008215/0.4737, allocations: 0.5576 MB / 1.404 GB, free: 4.238 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4737, allocations: 0 / 1.404 GB, free: 4.238 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001309/0.475, allocations: 486.2 kB / 1.404 GB, free: 3.762 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.0002665/0.4753, allocations: 137.4 kB / 1.404 GB, free: 3.621 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.4783, allocations: 1.558 MB / 1.406 GB, free: 1.992 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.4783, allocations: 5 kB / 1.406 GB, free: 1.988 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.4791, allocations: 375.8 kB / 1.406 GB, free: 1.621 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.4807, allocations: 310.2 kB / 1.406 GB, free: 1.324 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.4844, allocations: 2.032 MB / 1.408 GB, free: 15.23 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.485, allocations: 0.5057 MB / 1.409 GB, free: 14.69 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005485/0.4856, allocations: 127.5 kB / 1.409 GB, free: 14.56 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.4858, allocations: 71.42 kB / 1.409 GB, free: 14.49 MB / 1.107 GB Notification: Performance of SimCode: time 1.954e-06/0.4858, allocations: 0 / 1.409 GB, free: 14.49 MB / 1.107 GB Notification: Performance of Templates: time 0.03046/0.5162, allocations: 17.22 MB / 1.426 GB, free: 13.57 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 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 10.054927556077018] Failed to read output from testmodel.py, exit status != 0: 0.5255781298037618 0.540266249 0.11294127200000001 Calling exit ...