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.001607/0.001607, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002114/0.002114, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.023 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.315/3.315, allocations: 0.5096 GB / 0.8148 GB, free: 17.2 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_PIDWithEnable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_PIDWithEnable",fmuType="me",version="2.0",platforms={"static"}) [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.002019/0.002019, allocations: 75.39 kB / 1.184 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 181.4 MB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006895/0.3823, allocations: 4.618 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.3873, allocations: 2.623 MB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3884, allocations: 27.88 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.389, allocations: 233.5 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.3897, allocations: 258 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.3915, allocations: 0.7849 MB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.3938, allocations: 1.908 MB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.395, allocations: 0.6599 MB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009963/0.396, allocations: 0.6888 MB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/0.3968, allocations: 0.7035 MB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.3971, allocations: 216 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.3974, allocations: 236 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.3978, allocations: 386.7 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007589/0.3985, allocations: 0.7617 MB / 1.375 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.401, allocations: 2.315 MB / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.401, allocations: 0 / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.401, allocations: 0 / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.401, allocations: 0 / 1.377 GB, free: 184 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.4047, allocations: 2.07 MB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4047, allocations: 8.031 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.4049, allocations: 177.6 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.4052, allocations: 175.8 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4065, allocations: 0.7851 MB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.4066, allocations: 94.7 kB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4068, allocations: 128.3 kB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.4088, allocations: 1.17 MB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4088, allocations: 3.938 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.4089, allocations: 51.98 kB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.409, allocations: 28 kB / 1.382 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.4108, allocations: 0.8794 MB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/0.4173, allocations: 4.046 MB / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.4194, allocations: 0.9304 MB / 1.387 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.4202, allocations: 442.6 kB / 1.388 GB, free: 4.949 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/0.4203, allocations: 20.56 kB / 1.388 GB, free: 4.926 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.4211, allocations: 448.8 kB / 1.388 GB, free: 4.477 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.926e-06/0.4211, allocations: 0 / 1.388 GB, free: 4.477 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002304/0.4234, allocations: 1.101 MB / 1.389 GB, free: 3.375 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.4236, allocations: 192.9 kB / 1.389 GB, free: 3.141 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.425, allocations: 0.9961 MB / 1.39 GB, free: 2.125 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-05/0.4251, allocations: 45.7 kB / 1.39 GB, free: 2.074 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.4256, allocations: 0.5637 MB / 1.391 GB, free: 1.504 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.4259, allocations: 297.5 kB / 1.391 GB, free: 1.211 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.4262, allocations: 178.6 kB / 1.391 GB, free: 1.031 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4264, allocations: 341.9 kB / 1.392 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008456/0.4272, allocations: 376.7 kB / 1.392 GB, free: 328 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4282, allocations: 0.546 MB / 1.393 GB, free: 15.71 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4298, allocations: 0.8178 MB / 1.393 GB, free: 14.86 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4298, allocations: 0 / 1.393 GB, free: 14.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002289/0.4321, allocations: 1.121 MB / 1.395 GB, free: 13.72 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.4321, allocations: 71.39 kB / 1.395 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4322, allocations: 4 kB / 1.395 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4322, allocations: 4 kB / 1.395 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.4329, allocations: 183.7 kB / 1.395 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.4329, allocations: 12.02 kB / 1.395 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.4338, allocations: 179.1 kB / 1.395 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.4339, allocations: 39.98 kB / 1.395 GB, free: 13.22 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009997/0.4349, allocations: 0.5243 MB / 1.396 GB, free: 12.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007681/0.4357, allocations: 479.3 kB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001119/0.4368, allocations: 0.7086 MB / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.4368, allocations: 3.938 kB / 1.397 GB, free: 11.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001846/0.4387, allocations: 1.004 MB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.4387, allocations: 63.66 kB / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4387, allocations: 11.98 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.4387, allocations: 7.938 kB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.4393, allocations: 151.8 kB / 1.398 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4394, allocations: 8 kB / 1.398 GB, free: 10.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.4401, allocations: 139.5 kB / 1.398 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.4402, allocations: 35.98 kB / 1.398 GB, free: 9.973 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.0002957/0.4405, allocations: 240 kB / 1.398 GB, free: 9.73 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.4406, allocations: 119.2 kB / 1.398 GB, free: 9.613 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4424, allocations: 0.8573 MB / 1.399 GB, free: 8.746 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4424, allocations: 8 kB / 1.399 GB, free: 8.738 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4424, allocations: 0 / 1.399 GB, free: 8.738 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4424, allocations: 7.922 kB / 1.399 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.4462, allocations: 2.253 MB / 1.401 GB, free: 6.406 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4462, allocations: 0 / 1.401 GB, free: 6.406 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.4468, allocations: 155.7 kB / 1.402 GB, free: 6.254 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/0.4469, allocations: 4 kB / 1.402 GB, free: 6.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.4469, allocations: 24.27 kB / 1.402 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4469, allocations: 12 kB / 1.402 GB, free: 6.215 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4469, allocations: 0 / 1.402 GB, free: 6.215 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.4495, allocations: 1.399 MB / 1.403 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.4497, allocations: 147.1 kB / 1.403 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4499, allocations: 20 kB / 1.403 GB, free: 4.605 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.4503, allocations: 47.95 kB / 1.403 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.4504, allocations: 64.44 kB / 1.403 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.4504, allocations: 27.98 kB / 1.403 GB, free: 4.465 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001049/0.4515, allocations: 0.6897 MB / 1.404 GB, free: 3.766 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4515, allocations: 0 / 1.404 GB, free: 3.766 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001274/0.4528, allocations: 442.7 kB / 1.404 GB, free: 3.332 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.002935/0.4557, allocations: 1.964 MB / 1.406 GB, free: 1.324 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.4587, allocations: 1.45 MB / 1.408 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.4587, allocations: 0 / 1.408 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4594, allocations: 373 kB / 1.408 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.461, allocations: 313 kB / 1.408 GB, free: 15.16 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.476, allocations: 9.19 MB / 1.417 GB, free: 5.723 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/0.4768, allocations: 1.093 MB / 1.418 GB, free: 4.602 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005961/0.4774, allocations: 148.5 kB / 1.419 GB, free: 4.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/0.4781, allocations: 499.3 kB / 1.419 GB, free: 3.965 MB / 1.107 GB Notification: Performance of SimCode: time 9.42e-07/0.4781, allocations: 0 / 1.419 GB, free: 3.965 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07233/0.5505, allocations: 26.09 MB / 1.445 GB, free: 10.2 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.27, allocations: 3.938 kB / 1.445 GB, free: 10.2 MB / 1.139 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_PIDWithEnable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_PIDWithEnable.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 21.252893631113693] Failed to read output from testmodel.py, exit status != 0: 14.399641157127917 14.426504256 14.020499279 Calling exit ...