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.001377/0.001377, allocations: 105.7 kB / 16.45 MB, free: 6.508 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.001485/0.001485, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.406/3.406, allocations: 0.5096 GB / 0.8112 GB, free: 18.17 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.002299/0.002299, allocations: 66.88 kB / 1.179 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4563, allocations: 181.4 MB / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006753/0.463, allocations: 4.598 MB / 1.361 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005189/0.4682, allocations: 2.627 MB / 1.363 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.469, allocations: 31.81 kB / 1.363 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.4696, allocations: 233.5 kB / 1.364 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.4702, allocations: 246 kB / 1.364 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.4719, allocations: 0.761 MB / 1.365 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.474, allocations: 1.915 MB / 1.366 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.4751, allocations: 0.6553 MB / 1.367 GB, free: 6.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.476, allocations: 0.681 MB / 1.368 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.4768, allocations: 0.7034 MB / 1.368 GB, free: 5.129 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.477, allocations: 216 kB / 1.369 GB, free: 4.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.4774, allocations: 236 kB / 1.369 GB, free: 4.688 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.4777, allocations: 386.7 kB / 1.369 GB, free: 4.309 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.4784, allocations: 0.7695 MB / 1.37 GB, free: 3.535 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.4809, allocations: 2.311 MB / 1.372 GB, free: 1.215 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4809, allocations: 0 / 1.372 GB, free: 1.215 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4809, allocations: 0 / 1.372 GB, free: 1.215 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.651e-05/0.4809, allocations: 0 / 1.372 GB, free: 1.215 MB / 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.003352/0.4842, allocations: 1.824 MB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.4843, allocations: 15.98 kB / 1.374 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.4846, allocations: 179.8 kB / 1.374 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4859, allocations: 0.8416 MB / 1.375 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.486, allocations: 90.7 kB / 1.375 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.4862, allocations: 132.4 kB / 1.375 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.4885, allocations: 1.166 MB / 1.376 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.4885, allocations: 11.81 kB / 1.376 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4886, allocations: 48 kB / 1.376 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.4886, allocations: 28 kB / 1.376 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4906, allocations: 0.8794 MB / 1.377 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006568/0.4971, allocations: 4.132 MB / 1.381 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.4996, allocations: 1.682 MB / 1.383 GB, free: 5.734 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.5005, allocations: 438 kB / 1.383 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.5005, allocations: 24.56 kB / 1.383 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008872/0.5014, allocations: 452.8 kB / 1.384 GB, free: 4.836 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/0.5014, allocations: 0 / 1.384 GB, free: 4.836 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002432/0.5039, allocations: 1.093 MB / 1.385 GB, free: 3.734 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.504, allocations: 192.9 kB / 1.385 GB, free: 3.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5055, allocations: 1.004 MB / 1.386 GB, free: 2.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.5056, allocations: 49.7 kB / 1.386 GB, free: 2.426 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/0.5062, allocations: 0.5599 MB / 1.387 GB, free: 1.859 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.5065, allocations: 297.4 kB / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.5068, allocations: 178.6 kB / 1.387 GB, free: 1.387 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.507, allocations: 341.9 kB / 1.388 GB, free: 1.047 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.5079, allocations: 376.7 kB / 1.388 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5089, allocations: 0.5459 MB / 1.388 GB, free: 72 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.5106, allocations: 0.8257 MB / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5106, allocations: 0 / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00243/0.513, allocations: 1.125 MB / 1.39 GB, free: 14.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.5131, allocations: 73.11 kB / 1.39 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5131, allocations: 4 kB / 1.39 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.5132, allocations: 7.938 kB / 1.39 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.5139, allocations: 175.8 kB / 1.391 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5139, allocations: 7.938 kB / 1.391 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/0.5149, allocations: 183.1 kB / 1.391 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.515, allocations: 43.92 kB / 1.391 GB, free: 13.56 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001031/0.516, allocations: 0.5176 MB / 1.391 GB, free: 13.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007712/0.5168, allocations: 479.2 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.5179, allocations: 0.7164 MB / 1.392 GB, free: 11.76 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.5179, allocations: 0 / 1.392 GB, free: 11.76 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001903/0.5198, allocations: 1.008 MB / 1.393 GB, free: 10.74 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.5199, allocations: 75.39 kB / 1.393 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5199, allocations: 0 / 1.393 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5199, allocations: 8.25 kB / 1.393 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.5205, allocations: 155.8 kB / 1.394 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5205, allocations: 4.188 kB / 1.394 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.5214, allocations: 143.5 kB / 1.394 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.5214, allocations: 39.92 kB / 1.394 GB, free: 10.31 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,ena.y,$PRE.ena.y,pulse.booPul.y,$PRE.pulse.booPul.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.0003975/0.5218, allocations: 236 kB / 1.394 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.522, allocations: 123.2 kB / 1.394 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.524, allocations: 0.8457 MB / 1.395 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.524, allocations: 8 kB / 1.395 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.524, allocations: 0 / 1.395 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.524, allocations: 7.984 kB / 1.395 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.528, allocations: 2.289 MB / 1.397 GB, free: 6.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.528, allocations: 0 / 1.397 GB, free: 6.699 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.5287, allocations: 159.7 kB / 1.397 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.5287, allocations: 4 kB / 1.397 GB, free: 6.539 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.5287, allocations: 23.98 kB / 1.397 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.5287, allocations: 8 kB / 1.397 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5287, allocations: 288 / 1.397 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.5314, allocations: 1.399 MB / 1.399 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.5317, allocations: 220.2 kB / 1.399 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5318, allocations: 23.98 kB / 1.399 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.5322, allocations: 47.95 kB / 1.399 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5323, allocations: 64.47 kB / 1.399 GB, free: 4.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.5324, allocations: 27.98 kB / 1.399 GB, free: 4.672 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001052/0.5335, allocations: 0.6858 MB / 1.4 GB, free: 3.977 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.5335, allocations: 0 / 1.4 GB, free: 3.977 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001276/0.5347, allocations: 438.7 kB / 1.4 GB, free: 3.547 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.conPID.I.y,limPID.conPID.D.x,limPI.conPID.I.y,limPD.conPID.D.x,noLimPID.conPID.I.y,noLimPID.conPID.D.x) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,ena.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.0002439/0.535, allocations: 139 kB / 1.4 GB, free: 3.402 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.5377, allocations: 1.442 MB / 1.402 GB, free: 1.918 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.5377, allocations: 4 kB / 1.402 GB, free: 1.914 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.5385, allocations: 363.5 kB / 1.402 GB, free: 1.555 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5399, allocations: 327 kB / 1.402 GB, free: 1.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.5435, allocations: 2.058 MB / 1.404 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.5443, allocations: 1.093 MB / 1.406 GB, free: 14 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.5449, allocations: 140.5 kB / 1.406 GB, free: 13.86 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.5451, allocations: 87.41 kB / 1.406 GB, free: 13.77 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/0.5451, allocations: 0 / 1.406 GB, free: 13.77 MB / 1.107 GB Notification: Performance of Templates: time 0.03192/0.577, allocations: 15.8 MB / 1.421 GB, free: 14.13 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.088854353874922] Failed to read output from testmodel.py, exit status != 0: 0.5863243751227856 0.600074255 0.11618120400000001 Calling exit ...