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.001314/0.001314, allocations: 104.2 kB / 18.99 MB, free: 2.781 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.001526/0.001526, allocations: 211.2 kB / 22.28 MB, free: 5.141 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.491/1.491, allocations: 230.6 MB / 256.1 MB, free: 7.738 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.282/3.282, allocations: 0.5097 GB / 0.8148 GB, free: 18.35 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.001969/0.001969, allocations: 69.11 kB / 1.184 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 181.4 MB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006203/0.3516, allocations: 3.832 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005082/0.3566, allocations: 2.604 MB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.3578, allocations: 27.88 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.3585, allocations: 229.5 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008014/0.3593, allocations: 258 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.3609, allocations: 0.7558 MB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.3633, allocations: 1.915 MB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.3645, allocations: 0.6247 MB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.3656, allocations: 0.6849 MB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.3665, allocations: 0.6137 MB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.3668, allocations: 220 kB / 1.372 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.3671, allocations: 232 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.3674, allocations: 386.7 kB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.368, allocations: 0.6102 MB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.3704, allocations: 2.323 MB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3704, allocations: 0 / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.7e-06/0.3705, allocations: 3.984 kB / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.976e-05/0.3705, allocations: 3.938 kB / 1.376 GB, free: 0.6797 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.003831/0.3743, allocations: 2.066 MB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3744, allocations: 8.031 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.3746, allocations: 177.5 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.3749, allocations: 175.9 kB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.3762, allocations: 0.7812 MB / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.3763, allocations: 94.7 kB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3765, allocations: 124.4 kB / 1.379 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.3788, allocations: 1.299 MB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.3788, allocations: 0 / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.3789, allocations: 48 kB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.3789, allocations: 36 kB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.3809, allocations: 0.8793 MB / 1.381 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.3875, allocations: 3.636 MB / 1.385 GB, free: 7.078 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.3896, allocations: 0.9223 MB / 1.386 GB, free: 6.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/0.3904, allocations: 450.5 kB / 1.386 GB, free: 5.719 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.3905, allocations: 12.66 kB / 1.386 GB, free: 5.703 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008738/0.3913, allocations: 452.8 kB / 1.387 GB, free: 5.254 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.287e-06/0.3913, allocations: 0 / 1.387 GB, free: 5.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002468/0.3938, allocations: 1.089 MB / 1.388 GB, free: 4.156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.3939, allocations: 196.9 kB / 1.388 GB, free: 3.922 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.3955, allocations: 1 MB / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.3956, allocations: 49.7 kB / 1.389 GB, free: 2.848 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/0.3962, allocations: 0.5637 MB / 1.39 GB, free: 2.277 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.3965, allocations: 301.4 kB / 1.39 GB, free: 1.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.3968, allocations: 178.6 kB / 1.39 GB, free: 1.801 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.397, allocations: 337.9 kB / 1.39 GB, free: 1.465 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.398, allocations: 440.1 kB / 1.391 GB, free: 1.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3993, allocations: 0.8549 MB / 1.392 GB, free: 36 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.4009, allocations: 0.8217 MB / 1.392 GB, free: 15.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4009, allocations: 0 / 1.392 GB, free: 15.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002457/0.4034, allocations: 1.187 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.4034, allocations: 75.39 kB / 1.394 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4035, allocations: 0 / 1.394 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4035, allocations: 8 kB / 1.394 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.4042, allocations: 175.8 kB / 1.394 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.4042, allocations: 11.94 kB / 1.394 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.4052, allocations: 175.2 kB / 1.394 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.4053, allocations: 39.92 kB / 1.394 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001047/0.4063, allocations: 0.5834 MB / 1.395 GB, free: 12.87 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009274/0.4072, allocations: 0.7808 MB / 1.395 GB, free: 11.96 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/0.4083, allocations: 0.7086 MB / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.4083, allocations: 192 / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001884/0.4102, allocations: 1.062 MB / 1.397 GB, free: 10.12 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.4103, allocations: 73.83 kB / 1.397 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4103, allocations: 7.984 kB / 1.397 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.4103, allocations: 4 kB / 1.397 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.4109, allocations: 159.7 kB / 1.397 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4109, allocations: 4 kB / 1.397 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.4117, allocations: 147.6 kB / 1.398 GB, free: 9.719 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.4118, allocations: 31.98 kB / 1.398 GB, free: 9.688 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.0002825/0.412, allocations: 244 kB / 1.398 GB, free: 9.441 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4122, allocations: 119.2 kB / 1.398 GB, free: 9.324 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.4139, allocations: 0.8496 MB / 1.399 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4139, allocations: 8 kB / 1.399 GB, free: 8.453 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4139, allocations: 0 / 1.399 GB, free: 8.453 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4139, allocations: 3.984 kB / 1.399 GB, free: 8.449 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.4174, allocations: 2.066 MB / 1.401 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4174, allocations: 4 kB / 1.401 GB, free: 6.305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.418, allocations: 147.8 kB / 1.401 GB, free: 6.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.418, allocations: 8 kB / 1.401 GB, free: 6.152 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.4181, allocations: 23.98 kB / 1.401 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.4181, allocations: 7.938 kB / 1.401 GB, free: 6.121 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4181, allocations: 4 kB / 1.401 GB, free: 6.117 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.4205, allocations: 1.399 MB / 1.402 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.4208, allocations: 147.1 kB / 1.402 GB, free: 4.535 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.4209, allocations: 20 kB / 1.402 GB, free: 4.516 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.4213, allocations: 43.95 kB / 1.403 GB, free: 4.473 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4214, allocations: 64.42 kB / 1.403 GB, free: 4.406 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.4214, allocations: 28 kB / 1.403 GB, free: 4.379 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009926/0.4224, allocations: 0.6858 MB / 1.403 GB, free: 3.684 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4224, allocations: 0 / 1.403 GB, free: 3.684 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001098/0.4235, allocations: 446.7 kB / 1.404 GB, free: 3.246 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.002862/0.4264, allocations: 1.969 MB / 1.406 GB, free: 1.223 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003034/0.4294, allocations: 1.562 MB / 1.407 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4294, allocations: 0 / 1.407 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.4302, allocations: 377 kB / 1.408 GB, free: 15.22 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.4317, allocations: 325.1 kB / 1.408 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.4468, allocations: 9.431 MB / 1.417 GB, free: 5.188 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.4474, allocations: 0.51 MB / 1.418 GB, free: 4.645 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006428/0.448, allocations: 140.5 kB / 1.418 GB, free: 4.504 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.4487, allocations: 499.3 kB / 1.418 GB, free: 4.016 MB / 1.107 GB Notification: Performance of SimCode: time 1.132e-06/0.4487, allocations: 0 / 1.418 GB, free: 4.016 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06559/0.5143, allocations: 27.75 MB / 1.445 GB, free: 8.711 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.28, allocations: 1.625 kB / 1.445 GB, free: 8.711 MB / 1.139 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 20.215510684996843] Failed to read output from testmodel.py, exit status != 0: 13.413537065964192 13.435617316 13.060815803 Calling exit ...