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.001456/0.001456, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001933/0.001933, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.996 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.78/3.78, allocations: 0.5096 GB / 0.8147 GB, free: 17.24 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.002112/0.002112, allocations: 71.98 kB / 1.184 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4505, allocations: 181.4 MB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006852/0.4573, allocations: 4.605 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005722/0.463, allocations: 2.631 MB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009236/0.464, allocations: 27.88 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.4646, allocations: 233.5 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.4653, allocations: 246 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.467, allocations: 0.7878 MB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.4693, allocations: 1.911 MB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.4705, allocations: 0.6674 MB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.4715, allocations: 0.681 MB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007997/0.4723, allocations: 0.7074 MB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.4726, allocations: 216 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.4729, allocations: 235.9 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.4732, allocations: 386.7 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000774/0.474, allocations: 0.7656 MB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.4765, allocations: 2.312 MB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4765, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4765, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.4766, allocations: 4 kB / 1.377 GB, free: 15.7 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.003568/0.4801, allocations: 2.066 MB / 1.379 GB, free: 13.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4802, allocations: 19.97 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.4805, allocations: 171.9 kB / 1.38 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.4818, allocations: 0.7695 MB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/0.4819, allocations: 102.7 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.4821, allocations: 124.4 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.4842, allocations: 1.17 MB / 1.382 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.4842, allocations: 3.938 kB / 1.382 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.4843, allocations: 48 kB / 1.382 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.4843, allocations: 28 kB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.4861, allocations: 0.8833 MB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006307/0.4924, allocations: 4.049 MB / 1.387 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4944, allocations: 0.9305 MB / 1.388 GB, free: 5.098 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007982/0.4952, allocations: 450.5 kB / 1.388 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.4953, allocations: 12.64 kB / 1.388 GB, free: 4.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008755/0.4962, allocations: 448.8 kB / 1.388 GB, free: 4.195 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/0.4962, allocations: 0 / 1.388 GB, free: 4.195 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002307/0.4985, allocations: 1.093 MB / 1.389 GB, free: 3.102 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.4986, allocations: 200.8 kB / 1.39 GB, free: 2.859 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.5001, allocations: 0.9962 MB / 1.391 GB, free: 1.844 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/0.5002, allocations: 49.7 kB / 1.391 GB, free: 1.789 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.5007, allocations: 0.5637 MB / 1.391 GB, free: 1.219 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.501, allocations: 293.5 kB / 1.392 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.5013, allocations: 178.6 kB / 1.392 GB, free: 0.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5015, allocations: 345.9 kB / 1.392 GB, free: 416 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.5023, allocations: 376.7 kB / 1.392 GB, free: 36 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.5033, allocations: 0.5381 MB / 1.393 GB, free: 15.44 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5048, allocations: 0.8218 MB / 1.394 GB, free: 14.58 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5049, allocations: 3.938 kB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002312/0.5072, allocations: 1.121 MB / 1.395 GB, free: 13.44 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/0.5072, allocations: 71.39 kB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5072, allocations: 0 / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5073, allocations: 8 kB / 1.395 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.508, allocations: 180.1 kB / 1.395 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.508, allocations: 11.94 kB / 1.395 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.5089, allocations: 183 kB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.5089, allocations: 47.92 kB / 1.395 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009926/0.5099, allocations: 0.5176 MB / 1.396 GB, free: 12.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007783/0.5107, allocations: 483.2 kB / 1.396 GB, free: 11.88 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.5119, allocations: 0.7047 MB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-06/0.5119, allocations: 0 / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001772/0.5136, allocations: 1.008 MB / 1.398 GB, free: 10.11 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.5137, allocations: 67.39 kB / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5137, allocations: 4 kB / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5137, allocations: 4 kB / 1.398 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.5143, allocations: 155.8 kB / 1.398 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5143, allocations: 4 kB / 1.398 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.5151, allocations: 143.5 kB / 1.398 GB, free: 9.727 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.5152, allocations: 32 kB / 1.398 GB, free: 9.695 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.0004189/0.5156, allocations: 250.8 kB / 1.399 GB, free: 9.445 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5157, allocations: 111.2 kB / 1.399 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.5176, allocations: 0.8495 MB / 1.399 GB, free: 8.477 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5176, allocations: 12 kB / 1.399 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.5176, allocations: 4 kB / 1.399 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5176, allocations: 3.984 kB / 1.399 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.5214, allocations: 2.261 MB / 1.402 GB, free: 6.121 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5214, allocations: 0 / 1.402 GB, free: 6.121 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.5221, allocations: 152.1 kB / 1.402 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.5221, allocations: 8 kB / 1.402 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.5221, allocations: 20 kB / 1.402 GB, free: 5.945 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.5222, allocations: 11.94 kB / 1.402 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5222, allocations: 3.984 kB / 1.402 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.5245, allocations: 1.391 MB / 1.403 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.5248, allocations: 147 kB / 1.403 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5249, allocations: 20 kB / 1.403 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.5253, allocations: 51.95 kB / 1.403 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5254, allocations: 60.48 kB / 1.404 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.5255, allocations: 27.98 kB / 1.404 GB, free: 4.188 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001033/0.5265, allocations: 0.6936 MB / 1.404 GB, free: 3.484 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.5265, allocations: 0 / 1.404 GB, free: 3.484 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001151/0.5276, allocations: 438.7 kB / 1.405 GB, free: 3.055 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.0002442/0.5279, allocations: 134.4 kB / 1.405 GB, free: 2.918 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.5306, allocations: 1.438 MB / 1.406 GB, free: 1.434 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5306, allocations: 4 kB / 1.406 GB, free: 1.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006937/0.5313, allocations: 373 kB / 1.407 GB, free: 1.07 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5328, allocations: 316.4 kB / 1.407 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.5362, allocations: 2.055 MB / 1.409 GB, free: 14.65 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.537, allocations: 1.093 MB / 1.41 GB, free: 13.53 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005368/0.5375, allocations: 140.5 kB / 1.41 GB, free: 13.39 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5378, allocations: 87.42 kB / 1.41 GB, free: 13.3 MB / 1.107 GB Notification: Performance of SimCode: time 1.021e-06/0.5378, allocations: 0 / 1.41 GB, free: 13.3 MB / 1.107 GB Notification: Performance of Templates: time 0.03182/0.5696, allocations: 16.19 MB / 1.426 GB, free: 13.27 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.85517657827586] Failed to read output from testmodel.py, exit status != 0: 0.5789171820506454 0.59362052 0.113941384 Calling exit ...