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.001749/0.001749, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.002381/0.002381, allocations: 219 kB / 22.29 MB, free: 5.145 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.582/1.582, allocations: 230.6 MB / 256.1 MB, free: 7.742 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.392/3.392, allocations: 0.5096 GB / 0.8148 GB, free: 18.42 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.002077/0.002077, allocations: 67.55 kB / 1.184 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4423, allocations: 181.4 MB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.00687/0.4492, allocations: 3.836 MB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.455, allocations: 2.604 MB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.4563, allocations: 31.81 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.4569, allocations: 229.5 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.4578, allocations: 250 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.4597, allocations: 0.7581 MB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.4621, allocations: 1.908 MB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.4633, allocations: 0.6205 MB / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.4642, allocations: 0.6888 MB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.465, allocations: 0.6098 MB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.4652, allocations: 220 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.4656, allocations: 235.9 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.4659, allocations: 390.7 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.4665, allocations: 0.5985 MB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.4691, allocations: 2.335 MB / 1.376 GB, free: 228 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4691, allocations: 0 / 1.376 GB, free: 228 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4691, allocations: 3.938 kB / 1.376 GB, free: 224 kB / 1.061 GB Notification: Performance of Transformations before backend: time 2.959e-05/0.4692, allocations: 0 / 1.376 GB, free: 224 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.003976/0.4731, allocations: 2.062 MB / 1.378 GB, free: 14.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4732, allocations: 12.03 kB / 1.378 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.4735, allocations: 171.9 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.475, allocations: 0.7812 MB / 1.379 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.4751, allocations: 94.7 kB / 1.379 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.4753, allocations: 124.4 kB / 1.38 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.4775, allocations: 1.295 MB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.4776, allocations: 7.922 kB / 1.381 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.4777, allocations: 52 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.4777, allocations: 28 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.4797, allocations: 0.8794 MB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.4859, allocations: 3.431 MB / 1.385 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.4882, allocations: 0.9262 MB / 1.386 GB, free: 6.098 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/0.4891, allocations: 438.6 kB / 1.386 GB, free: 5.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.4892, allocations: 16.64 kB / 1.386 GB, free: 5.648 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/0.4901, allocations: 444.8 kB / 1.387 GB, free: 5.203 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.605e-06/0.4901, allocations: 0 / 1.387 GB, free: 5.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002455/0.4926, allocations: 1.085 MB / 1.388 GB, free: 4.113 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.4927, allocations: 188.9 kB / 1.388 GB, free: 3.887 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.494, allocations: 0.8175 MB / 1.389 GB, free: 3.055 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.4941, allocations: 49.7 kB / 1.389 GB, free: 3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/0.4947, allocations: 0.5905 MB / 1.39 GB, free: 2.402 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.495, allocations: 293.5 kB / 1.39 GB, free: 2.113 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.4954, allocations: 178.6 kB / 1.39 GB, free: 1.934 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.4956, allocations: 345.9 kB / 1.39 GB, free: 1.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.4966, allocations: 440.1 kB / 1.391 GB, free: 1.145 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.4978, allocations: 0.8651 MB / 1.392 GB, free: 152 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4995, allocations: 0.8139 MB / 1.392 GB, free: 15.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4995, allocations: 0 / 1.392 GB, free: 15.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002454/0.5019, allocations: 1.171 MB / 1.394 GB, free: 14.1 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.502, allocations: 67.64 kB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.502, allocations: 7.938 kB / 1.394 GB, free: 14.01 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.5021, allocations: 8 kB / 1.394 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.5028, allocations: 179.7 kB / 1.394 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.5028, allocations: 11.98 kB / 1.394 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.5037, allocations: 155.4 kB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.5038, allocations: 39.97 kB / 1.394 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001083/0.5049, allocations: 0.5795 MB / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009841/0.5059, allocations: 0.7847 MB / 1.395 GB, free: 12.11 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/0.5071, allocations: 0.7163 MB / 1.396 GB, free: 11.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.5071, allocations: 0 / 1.396 GB, free: 11.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001931/0.509, allocations: 1.039 MB / 1.397 GB, free: 10.29 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.5091, allocations: 73.73 kB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5091, allocations: 4 kB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.5091, allocations: 4 kB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.5097, allocations: 151.8 kB / 1.397 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.5097, allocations: 15.92 kB / 1.397 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.5105, allocations: 139.5 kB / 1.397 GB, free: 9.895 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.5106, allocations: 35.98 kB / 1.397 GB, free: 9.859 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.0003572/0.5109, allocations: 240.1 kB / 1.398 GB, free: 9.617 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.5111, allocations: 99.34 kB / 1.398 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.5129, allocations: 0.8362 MB / 1.399 GB, free: 8.676 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5129, allocations: 8 kB / 1.399 GB, free: 8.668 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5129, allocations: 0 / 1.399 GB, free: 8.668 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.5129, allocations: 3.984 kB / 1.399 GB, free: 8.664 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.5165, allocations: 1.94 MB / 1.4 GB, free: 6.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5165, allocations: 8.266 kB / 1.4 GB, free: 6.652 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.5172, allocations: 152 kB / 1.401 GB, free: 6.504 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.5172, allocations: 4 kB / 1.401 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.5173, allocations: 31.92 kB / 1.401 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.5173, allocations: 4 kB / 1.401 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5173, allocations: 4 kB / 1.401 GB, free: 6.461 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.52, allocations: 1.382 MB / 1.402 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.5202, allocations: 115.3 kB / 1.402 GB, free: 4.922 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.5203, allocations: 24 kB / 1.402 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.5208, allocations: 47.94 kB / 1.402 GB, free: 4.852 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5209, allocations: 56.5 kB / 1.402 GB, free: 4.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.521, allocations: 39.86 kB / 1.402 GB, free: 4.754 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008744/0.5219, allocations: 0.5537 MB / 1.403 GB, free: 4.203 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.5219, allocations: 0 / 1.403 GB, free: 4.203 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001365/0.5232, allocations: 482.2 kB / 1.403 GB, free: 3.73 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.0002627/0.5235, allocations: 137.2 kB / 1.403 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.5265, allocations: 1.558 MB / 1.405 GB, free: 1.961 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5265, allocations: 4 kB / 1.405 GB, free: 1.957 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.5273, allocations: 368.9 kB / 1.405 GB, free: 1.598 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5287, allocations: 310.8 kB / 1.406 GB, free: 1.297 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.5326, allocations: 2.024 MB / 1.408 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/0.5335, allocations: 0.5057 MB / 1.408 GB, free: 14.67 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005562/0.534, allocations: 127.5 kB / 1.408 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.5343, allocations: 79.41 kB / 1.408 GB, free: 14.46 MB / 1.107 GB Notification: Performance of SimCode: time 1.853e-06/0.5343, allocations: 0 / 1.408 GB, free: 14.46 MB / 1.107 GB Notification: Performance of Templates: time 0.03392/0.5682, allocations: 17.22 MB / 1.425 GB, free: 13.54 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.364936527330428] Failed to read output from testmodel.py, exit status != 0: 0.5773830148391426 0.593669282 0.121162638 Calling exit ...