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.001288/0.001288, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001451/0.001451, allocations: 210.9 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.241/3.241, allocations: 0.5096 GB / 0.8155 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.00209/0.00209, allocations: 71.81 kB / 1.185 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 181.4 MB / 1.362 GB, free: 216 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006396/0.3537, allocations: 4.602 MB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004627/0.3583, allocations: 2.631 MB / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008375/0.3591, allocations: 31.88 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.3598, allocations: 233.5 kB / 1.37 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.3605, allocations: 246 kB / 1.37 GB, free: 8.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.3622, allocations: 0.7911 MB / 1.371 GB, free: 7.645 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.3644, allocations: 1.904 MB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3655, allocations: 0.6674 MB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008933/0.3664, allocations: 0.681 MB / 1.374 GB, free: 4.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.3672, allocations: 0.7074 MB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.3675, allocations: 216 kB / 1.375 GB, free: 3.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.3678, allocations: 239.9 kB / 1.375 GB, free: 3.184 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.3681, allocations: 386.7 kB / 1.375 GB, free: 2.805 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007225/0.3688, allocations: 0.7656 MB / 1.376 GB, free: 2.035 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.3713, allocations: 2.315 MB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3713, allocations: 0 / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3713, allocations: 4 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.74e-05/0.3713, allocations: 0 / 1.378 GB, free: 15.71 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.00369/0.375, allocations: 2.062 MB / 1.38 GB, free: 13.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.375, allocations: 12.03 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.3753, allocations: 171.9 kB / 1.38 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3767, allocations: 0.7812 MB / 1.381 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.3768, allocations: 94.7 kB / 1.381 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.377, allocations: 132.3 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.3791, allocations: 1.162 MB / 1.383 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.3791, allocations: 11.88 kB / 1.383 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3792, allocations: 51.98 kB / 1.383 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.3793, allocations: 28 kB / 1.383 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.3811, allocations: 0.8794 MB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006809/0.3879, allocations: 4.057 MB / 1.387 GB, free: 6.023 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.3901, allocations: 0.9293 MB / 1.388 GB, free: 5.094 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.3909, allocations: 446.6 kB / 1.389 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.391, allocations: 12.64 kB / 1.389 GB, free: 4.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008863/0.3919, allocations: 448.8 kB / 1.389 GB, free: 4.195 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/0.3919, allocations: 0 / 1.389 GB, free: 4.195 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002409/0.3943, allocations: 1.101 MB / 1.39 GB, free: 3.094 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.3944, allocations: 196.9 kB / 1.39 GB, free: 2.855 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.3959, allocations: 0.9961 MB / 1.391 GB, free: 1.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.396, allocations: 45.7 kB / 1.391 GB, free: 1.789 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.3966, allocations: 0.5637 MB / 1.392 GB, free: 1.219 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.3969, allocations: 293.5 kB / 1.392 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.3972, allocations: 182.6 kB / 1.392 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3974, allocations: 337.9 kB / 1.393 GB, free: 420 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008977/0.3983, allocations: 380.7 kB / 1.393 GB, free: 36 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.3993, allocations: 0.5438 MB / 1.394 GB, free: 15.43 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.4009, allocations: 0.8178 MB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4009, allocations: 0 / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002361/0.4032, allocations: 1.125 MB / 1.396 GB, free: 13.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.4033, allocations: 67.48 kB / 1.396 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4033, allocations: 12.19 kB / 1.396 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4033, allocations: 4 kB / 1.396 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.4041, allocations: 179.8 kB / 1.396 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4041, allocations: 7.938 kB / 1.396 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.405, allocations: 183.1 kB / 1.396 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.4051, allocations: 43.92 kB / 1.396 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001028/0.4061, allocations: 0.5215 MB / 1.397 GB, free: 12.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007609/0.4069, allocations: 479.2 kB / 1.397 GB, free: 11.88 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.408, allocations: 0.7047 MB / 1.398 GB, free: 11.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.408, allocations: 0 / 1.398 GB, free: 11.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001883/0.4099, allocations: 1.004 MB / 1.399 GB, free: 10.11 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.41, allocations: 69.73 kB / 1.399 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.41, allocations: 4 kB / 1.399 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.41, allocations: 4 kB / 1.399 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.4106, allocations: 155.8 kB / 1.399 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4106, allocations: 8 kB / 1.399 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.4114, allocations: 139.8 kB / 1.399 GB, free: 9.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.4115, allocations: 35.98 kB / 1.399 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.0002796/0.4117, allocations: 236 kB / 1.399 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4119, allocations: 119.2 kB / 1.399 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4136, allocations: 0.8534 MB / 1.4 GB, free: 8.477 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4136, allocations: 8 kB / 1.4 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4136, allocations: 7.938 kB / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4136, allocations: 3.984 kB / 1.4 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.4172, allocations: 2.249 MB / 1.402 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4172, allocations: 288 / 1.402 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.4179, allocations: 167.7 kB / 1.403 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.4179, allocations: 4 kB / 1.403 GB, free: 5.969 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.418, allocations: 19.98 kB / 1.403 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.418, allocations: 8 kB / 1.403 GB, free: 5.941 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.418, allocations: 4 kB / 1.403 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.4204, allocations: 1.391 MB / 1.404 GB, free: 4.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.4206, allocations: 147 kB / 1.404 GB, free: 4.355 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.4208, allocations: 24 kB / 1.404 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4212, allocations: 51.95 kB / 1.404 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4213, allocations: 64.41 kB / 1.404 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.4213, allocations: 24 kB / 1.404 GB, free: 4.191 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000977/0.4223, allocations: 0.6897 MB / 1.405 GB, free: 3.492 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.4223, allocations: 4 kB / 1.405 GB, free: 3.488 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00111/0.4234, allocations: 442.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.0002247/0.4237, allocations: 131.1 kB / 1.406 GB, free: 2.918 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002808/0.4265, allocations: 1.442 MB / 1.407 GB, free: 1.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4265, allocations: 4.938 kB / 1.407 GB, free: 1.426 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007766/0.4272, allocations: 391.8 kB / 1.407 GB, free: 1.047 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4287, allocations: 308.4 kB / 1.408 GB, free: 0.75 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.4322, allocations: 2.08 MB / 1.41 GB, free: 14.6 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.4329, allocations: 1.097 MB / 1.411 GB, free: 13.47 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.4333, allocations: 95.41 kB / 1.411 GB, free: 13.38 MB / 1.107 GB Notification: Performance of SimCode: time 7.21e-07/0.4333, allocations: 0 / 1.411 GB, free: 13.38 MB / 1.107 GB Notification: Performance of Templates: time 0.02395/0.4572, allocations: 15.19 MB / 1.426 GB, free: 14.23 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.593148737912998] Failed to read output from testmodel.py, exit status != 0: 0.46610507695004344 0.48169060500000005 0.107094037 Calling exit ...