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.001745/0.001745, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002055/0.002055, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.293/3.293, allocations: 0.5107 GB / 0.8166 GB, free: 17.73 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.002135/0.002135, allocations: 68.09 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006364/0.3608, allocations: 3.851 MB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004432/0.3652, allocations: 2.592 MB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.366, allocations: 31.81 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.3666, allocations: 237.5 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.3673, allocations: 254 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3688, allocations: 0.754 MB / 1.372 GB, free: 5.777 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3708, allocations: 1.908 MB / 1.374 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3718, allocations: 0.6167 MB / 1.375 GB, free: 3.199 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/0.3725, allocations: 0.6888 MB / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.3732, allocations: 0.6176 MB / 1.376 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.3735, allocations: 216 kB / 1.376 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.3738, allocations: 228 kB / 1.376 GB, free: 1.453 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.3741, allocations: 390.7 kB / 1.377 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.3747, allocations: 0.6024 MB / 1.377 GB, free: 476 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.377, allocations: 2.339 MB / 1.38 GB, free: 14.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.377, allocations: 0 / 1.38 GB, free: 14.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.843e-06/0.377, allocations: 0 / 1.38 GB, free: 14.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.3771, allocations: 0 / 1.38 GB, free: 14.11 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.003722/0.3808, allocations: 2.062 MB / 1.382 GB, free: 11.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3809, allocations: 8.031 kB / 1.382 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.3811, allocations: 175.9 kB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3825, allocations: 0.7812 MB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.3826, allocations: 94.7 kB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.3828, allocations: 128.3 kB / 1.383 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.385, allocations: 1.295 MB / 1.384 GB, free: 9.406 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.3851, allocations: 7.875 kB / 1.384 GB, free: 9.398 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.3852, allocations: 51.98 kB / 1.384 GB, free: 9.348 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.3852, allocations: 28 kB / 1.384 GB, free: 9.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.387, allocations: 0.8833 MB / 1.385 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.3929, allocations: 3.428 MB / 1.388 GB, free: 4.914 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.3951, allocations: 0.9267 MB / 1.389 GB, free: 3.992 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/0.396, allocations: 434.6 kB / 1.39 GB, free: 3.566 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.3961, allocations: 20.66 kB / 1.39 GB, free: 3.543 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009517/0.397, allocations: 448.7 kB / 1.39 GB, free: 3.098 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.838e-06/0.397, allocations: 0 / 1.39 GB, free: 3.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002346/0.3994, allocations: 1.074 MB / 1.391 GB, free: 2.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.3995, allocations: 192.9 kB / 1.391 GB, free: 1.785 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4007, allocations: 0.8214 MB / 1.392 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.585e-05/0.4008, allocations: 45.7 kB / 1.392 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.4014, allocations: 0.5827 MB / 1.393 GB, free: 316 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.4016, allocations: 297.5 kB / 1.393 GB, free: 16 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.402, allocations: 190.6 kB / 1.393 GB, free: 15.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4021, allocations: 337.9 kB / 1.393 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.4031, allocations: 444.1 kB / 1.394 GB, free: 15.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.4043, allocations: 0.851 MB / 1.395 GB, free: 14.05 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.4059, allocations: 0.8217 MB / 1.395 GB, free: 13.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4059, allocations: 0 / 1.395 GB, free: 13.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002402/0.4083, allocations: 1.167 MB / 1.397 GB, free: 12 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.4084, allocations: 71.33 kB / 1.397 GB, free: 11.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4084, allocations: 8.25 kB / 1.397 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4084, allocations: 4 kB / 1.397 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.4091, allocations: 179.7 kB / 1.397 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.4092, allocations: 7.984 kB / 1.397 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.41, allocations: 159.4 kB / 1.397 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.4101, allocations: 39.98 kB / 1.397 GB, free: 11.53 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.4112, allocations: 0.5795 MB / 1.398 GB, free: 10.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009998/0.4122, allocations: 0.7886 MB / 1.398 GB, free: 10.01 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00121/0.4134, allocations: 0.7085 MB / 1.399 GB, free: 9.262 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.4134, allocations: 0 / 1.399 GB, free: 9.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001949/0.4153, allocations: 1.043 MB / 1.4 GB, free: 8.188 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.4154, allocations: 71.39 kB / 1.4 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4154, allocations: 0 / 1.4 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4154, allocations: 11.98 kB / 1.4 GB, free: 8.094 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.416, allocations: 151.8 kB / 1.4 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.416, allocations: 8.125 kB / 1.4 GB, free: 7.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.4169, allocations: 151.4 kB / 1.401 GB, free: 7.789 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.4169, allocations: 39.92 kB / 1.401 GB, free: 7.75 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.0003189/0.4172, allocations: 228.1 kB / 1.401 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4174, allocations: 95.39 kB / 1.401 GB, free: 7.426 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.4191, allocations: 0.84 MB / 1.402 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4191, allocations: 12 kB / 1.402 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4192, allocations: 0 / 1.402 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4192, allocations: 3.984 kB / 1.402 GB, free: 6.562 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.4227, allocations: 1.94 MB / 1.404 GB, free: 4.562 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4227, allocations: 4.281 kB / 1.404 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.4233, allocations: 155.8 kB / 1.404 GB, free: 4.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4233, allocations: 7.984 kB / 1.404 GB, free: 4.398 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.4233, allocations: 20 kB / 1.404 GB, free: 4.379 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.4234, allocations: 11.98 kB / 1.404 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4234, allocations: 3.938 kB / 1.404 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.4258, allocations: 1.371 MB / 1.405 GB, free: 2.949 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.426, allocations: 115.2 kB / 1.405 GB, free: 2.836 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4261, allocations: 23.98 kB / 1.405 GB, free: 2.812 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.4265, allocations: 59.89 kB / 1.405 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4266, allocations: 52.5 kB / 1.405 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.4266, allocations: 35.92 kB / 1.405 GB, free: 2.664 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008032/0.4275, allocations: 0.5498 MB / 1.406 GB, free: 2.117 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4275, allocations: 0 / 1.406 GB, free: 2.117 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001236/0.4287, allocations: 490.2 kB / 1.406 GB, free: 1.637 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.0002212/0.4289, allocations: 134.1 kB / 1.407 GB, free: 1.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.4318, allocations: 1.554 MB / 1.408 GB, free: 15.88 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4318, allocations: 3.938 kB / 1.408 GB, free: 15.87 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/0.4326, allocations: 397 kB / 1.408 GB, free: 15.48 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.434, allocations: 309.8 kB / 1.409 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.4376, allocations: 2.063 MB / 1.411 GB, free: 13.06 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.4382, allocations: 0.5018 MB / 1.411 GB, free: 12.52 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.4385, allocations: 87.41 kB / 1.411 GB, free: 12.44 MB / 1.107 GB Notification: Performance of SimCode: time 1.563e-06/0.4385, allocations: 4 kB / 1.411 GB, free: 12.43 MB / 1.107 GB Notification: Performance of Templates: time 0.02343/0.4619, allocations: 14.94 MB / 1.426 GB, free: 13.54 MB / 1.123 GB " [Timeout remaining time 300] 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: 13.13005634630099] Failed to read output from testmodel.py, exit status != 0: 0.47066564206033945 0.48606096099999996 0.105831459 Calling exit ...