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.001676/0.001676, allocations: 104.3 kB / 19.75 MB, free: 1.918 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.002139/0.002139, allocations: 220 kB / 23.05 MB, free: 4.457 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.562/1.562, allocations: 230.6 MB / 256.8 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.418/3.418, allocations: 0.5097 GB / 0.8156 GB, free: 18.52 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.002151/0.002151, allocations: 67.25 kB / 1.185 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3803, allocations: 181.4 MB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006386/0.3867, allocations: 3.844 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004889/0.3916, allocations: 2.596 MB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.3924, allocations: 27.88 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.3931, allocations: 237.5 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.3938, allocations: 250 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.3954, allocations: 0.7641 MB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3976, allocations: 1.908 MB / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.3988, allocations: 0.6205 MB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/0.3997, allocations: 0.681 MB / 1.373 GB, free: 4.648 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.4005, allocations: 0.6292 MB / 1.374 GB, free: 4.016 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.4008, allocations: 216 kB / 1.374 GB, free: 3.805 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.4012, allocations: 228 kB / 1.374 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.4015, allocations: 386.7 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.4021, allocations: 0.6063 MB / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.4046, allocations: 2.331 MB / 1.377 GB, free: 260 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4046, allocations: 0 / 1.377 GB, free: 260 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4046, allocations: 0 / 1.377 GB, free: 260 kB / 1.061 GB Notification: Performance of Transformations before backend: time 3.226e-05/0.4046, allocations: 0 / 1.377 GB, free: 260 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.003772/0.4084, allocations: 2.062 MB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4084, allocations: 8.031 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.4087, allocations: 171.9 kB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.4101, allocations: 0.7851 MB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.4102, allocations: 94.7 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.4104, allocations: 120.4 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.4126, allocations: 1.299 MB / 1.382 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.4127, allocations: 3.938 kB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.4128, allocations: 55.98 kB / 1.382 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.4128, allocations: 28 kB / 1.382 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.4147, allocations: 0.8754 MB / 1.383 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00624/0.421, allocations: 3.431 MB / 1.386 GB, free: 7.059 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.4231, allocations: 0.9204 MB / 1.387 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.4239, allocations: 454.5 kB / 1.387 GB, free: 5.695 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.424, allocations: 8.656 kB / 1.387 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008663/0.4249, allocations: 448.8 kB / 1.388 GB, free: 5.238 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/0.4249, allocations: 0 / 1.388 GB, free: 5.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002483/0.4273, allocations: 1.074 MB / 1.389 GB, free: 4.156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.4275, allocations: 192.9 kB / 1.389 GB, free: 3.926 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.4289, allocations: 0.8214 MB / 1.39 GB, free: 3.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.429, allocations: 45.7 kB / 1.39 GB, free: 3.039 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.4296, allocations: 0.5866 MB / 1.39 GB, free: 2.445 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.4299, allocations: 293.5 kB / 1.391 GB, free: 2.156 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.4303, allocations: 186.6 kB / 1.391 GB, free: 1.969 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4304, allocations: 337.9 kB / 1.391 GB, free: 1.633 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.4313, allocations: 452.1 kB / 1.392 GB, free: 1.176 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4325, allocations: 0.8525 MB / 1.392 GB, free: 200 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.4342, allocations: 0.8178 MB / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.4342, allocations: 0 / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002522/0.4367, allocations: 1.179 MB / 1.394 GB, free: 14.13 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.4368, allocations: 71.39 kB / 1.394 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4368, allocations: 0 / 1.394 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.4369, allocations: 8 kB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.4376, allocations: 167.8 kB / 1.395 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.4376, allocations: 11.98 kB / 1.395 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000876/0.4385, allocations: 167.3 kB / 1.395 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.4386, allocations: 35.98 kB / 1.395 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.4396, allocations: 0.5756 MB / 1.395 GB, free: 13.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000931/0.4405, allocations: 0.7847 MB / 1.396 GB, free: 12.16 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001201/0.4417, allocations: 0.7086 MB / 1.397 GB, free: 11.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.151e-06/0.4418, allocations: 3.938 kB / 1.397 GB, free: 11.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.002119/0.4439, allocations: 1.042 MB / 1.398 GB, free: 10.33 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.4439, allocations: 71.39 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.444, allocations: 4 kB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.444, allocations: 4 kB / 1.398 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.4446, allocations: 159.7 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.4446, allocations: 11.98 kB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.4455, allocations: 143.7 kB / 1.398 GB, free: 9.934 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.4456, allocations: 35.98 kB / 1.398 GB, free: 9.898 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.0004138/0.446, allocations: 240 kB / 1.398 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.4461, allocations: 99.34 kB / 1.399 GB, free: 9.559 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.448, allocations: 0.8362 MB / 1.399 GB, free: 8.711 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.448, allocations: 3.984 kB / 1.399 GB, free: 8.707 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.448, allocations: 192 / 1.399 GB, free: 8.707 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.4482, allocations: 119.1 kB / 1.399 GB, free: 8.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.4483, allocations: 19.94 kB / 1.399 GB, free: 8.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.4486, allocations: 55.83 kB / 1.4 GB, free: 8.516 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4488, allocations: 52.89 kB / 1.4 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001985/0.4507, allocations: 0.8999 MB / 1.4 GB, free: 7.559 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002545/0.4533, allocations: 1.415 MB / 1.402 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007102/0.454, allocations: 359.8 kB / 1.402 GB, free: 5.777 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008269/0.4548, allocations: 0.5498 MB / 1.403 GB, free: 5.23 MB / 1.092 GB Notification: Performance of Backend: time 6.31e-07/0.4548, allocations: 4 kB / 1.403 GB, free: 5.227 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003114/0.4579, allocations: 1.36 MB / 1.404 GB, free: 3.793 MB / 1.092 GB Notification: Performance of SimCode: time 0.004392/0.4623, allocations: 2.414 MB / 1.406 GB, free: 1.328 MB / 1.092 GB Notification: Performance of Templates: time 0.03718/0.4995, allocations: 21.26 MB / 1.427 GB, free: 12.36 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: 9.986720988992602] Failed to read output from testmodel.py, exit status != 0: 0.5082537909038365 0.524612093 0.116547705 Calling exit ...