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.001355/0.001355, allocations: 104.3 kB / 19.74 MB, free: 2.07 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.001537/0.001537, allocations: 215.4 kB / 23.04 MB, free: 4.852 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.575/3.575, allocations: 0.5097 GB / 0.8156 GB, free: 18.38 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: 68.8 kB / 1.185 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4604, allocations: 181.4 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006835/0.4672, allocations: 3.836 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.4724, allocations: 2.608 MB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.4735, allocations: 27.88 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.4742, allocations: 233.5 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009517/0.4751, allocations: 257.9 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.4769, allocations: 0.7493 MB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.4791, allocations: 1.908 MB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4802, allocations: 0.6245 MB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007905/0.481, allocations: 0.681 MB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.4818, allocations: 0.6253 MB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.482, allocations: 216 kB / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.4823, allocations: 228 kB / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.4826, allocations: 386.7 kB / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.4832, allocations: 0.6102 MB / 1.375 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.4855, allocations: 2.331 MB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4855, allocations: 4 kB / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4855, allocations: 4 kB / 1.377 GB, free: 180 kB / 1.061 GB Notification: Performance of Transformations before backend: time 2.739e-05/0.4855, allocations: 0 / 1.377 GB, free: 180 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.003643/0.4892, allocations: 2.058 MB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.4892, allocations: 16.02 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.4895, allocations: 175.9 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.4909, allocations: 0.7773 MB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.667e-05/0.491, allocations: 94.7 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.4912, allocations: 124.4 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.4935, allocations: 1.295 MB / 1.382 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.4936, allocations: 11.88 kB / 1.382 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.4936, allocations: 44 kB / 1.382 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.4937, allocations: 28 kB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.4955, allocations: 0.8794 MB / 1.383 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/0.5014, allocations: 3.42 MB / 1.386 GB, free: 6.992 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.5035, allocations: 0.9331 MB / 1.387 GB, free: 6.062 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.5044, allocations: 446.6 kB / 1.387 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.5044, allocations: 12.64 kB / 1.387 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009216/0.5053, allocations: 452.8 kB / 1.388 GB, free: 5.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/0.5053, allocations: 0 / 1.388 GB, free: 5.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.00232/0.5077, allocations: 1.074 MB / 1.389 GB, free: 4.078 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.5078, allocations: 196.9 kB / 1.389 GB, free: 3.844 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.509, allocations: 0.8175 MB / 1.39 GB, free: 3.012 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.5091, allocations: 45.7 kB / 1.39 GB, free: 2.961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.5097, allocations: 0.5788 MB / 1.39 GB, free: 2.375 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.51, allocations: 297.5 kB / 1.391 GB, free: 2.082 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.5103, allocations: 182.6 kB / 1.391 GB, free: 1.898 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5105, allocations: 341.9 kB / 1.391 GB, free: 1.559 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.5114, allocations: 448 kB / 1.392 GB, free: 1.105 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.5127, allocations: 0.8549 MB / 1.392 GB, free: 124 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.5143, allocations: 0.8257 MB / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5143, allocations: 0 / 1.393 GB, free: 15.25 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002538/0.5168, allocations: 1.167 MB / 1.394 GB, free: 14.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/0.5169, allocations: 75.39 kB / 1.394 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5169, allocations: 0 / 1.394 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.517, allocations: 8 kB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.5177, allocations: 171.8 kB / 1.395 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.5177, allocations: 20.02 kB / 1.395 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.5186, allocations: 155.4 kB / 1.395 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.5186, allocations: 36.08 kB / 1.395 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.5198, allocations: 0.5872 MB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/0.5208, allocations: 0.7809 MB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.5219, allocations: 0.7046 MB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.522, allocations: 8 kB / 1.397 GB, free: 11.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001949/0.5239, allocations: 1.042 MB / 1.398 GB, free: 10.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.524, allocations: 71.39 kB / 1.398 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.524, allocations: 4 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.524, allocations: 4 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.5246, allocations: 152 kB / 1.398 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5246, allocations: 8 kB / 1.398 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.5254, allocations: 147.5 kB / 1.398 GB, free: 9.859 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.5254, allocations: 35.98 kB / 1.398 GB, free: 9.824 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.0003236/0.5258, allocations: 248 kB / 1.398 GB, free: 9.574 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5259, allocations: 99.34 kB / 1.399 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.5276, allocations: 0.8323 MB / 1.399 GB, free: 8.633 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.5276, allocations: 12 kB / 1.399 GB, free: 8.621 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5276, allocations: 0 / 1.399 GB, free: 8.621 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5276, allocations: 3.984 kB / 1.399 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.531, allocations: 1.932 MB / 1.401 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.531, allocations: 0 / 1.401 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.5316, allocations: 155.7 kB / 1.401 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.5317, allocations: 4.281 kB / 1.401 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.5317, allocations: 27.98 kB / 1.401 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.5317, allocations: 8 kB / 1.401 GB, free: 6.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5317, allocations: 3.938 kB / 1.401 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.5341, allocations: 1.382 MB / 1.403 GB, free: 5.004 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.5343, allocations: 115.3 kB / 1.403 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.5344, allocations: 16 kB / 1.403 GB, free: 4.875 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.5348, allocations: 51.95 kB / 1.403 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5349, allocations: 60.48 kB / 1.403 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.535, allocations: 31.94 kB / 1.403 GB, free: 4.73 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007982/0.5358, allocations: 0.5615 MB / 1.404 GB, free: 4.172 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.5358, allocations: 0 / 1.404 GB, free: 4.172 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001132/0.5369, allocations: 478.2 kB / 1.404 GB, free: 3.703 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.0002067/0.5371, allocations: 133.3 kB / 1.404 GB, free: 3.566 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.54, allocations: 1.559 MB / 1.406 GB, free: 1.934 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.54, allocations: 8.25 kB / 1.406 GB, free: 1.926 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.5407, allocations: 367.5 kB / 1.406 GB, free: 1.566 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.542, allocations: 306.4 kB / 1.406 GB, free: 1.273 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.5454, allocations: 2.04 MB / 1.408 GB, free: 15.17 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.546, allocations: 0.5057 MB / 1.409 GB, free: 14.63 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004871/0.5465, allocations: 123.5 kB / 1.409 GB, free: 14.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.5468, allocations: 79.42 kB / 1.409 GB, free: 14.43 MB / 1.107 GB Notification: Performance of SimCode: time 8.72e-07/0.5468, allocations: 0 / 1.409 GB, free: 14.43 MB / 1.107 GB Notification: Performance of Templates: time 0.03184/0.5786, allocations: 16.99 MB / 1.426 GB, free: 13.75 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 10.178147825878114] Failed to read output from testmodel.py, exit status != 0: 0.5881040131207556 0.618217025 0.127134578 Calling exit ...