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.001834/0.001834, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002182/0.002182, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.797 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.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.002951/0.002951, allocations: 65.5 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3731, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006064/0.3792, allocations: 3.844 MB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005302/0.3845, allocations: 2.592 MB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/0.3854, allocations: 31.88 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.3861, allocations: 233.5 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.3869, allocations: 253.9 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.3889, allocations: 0.7533 MB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.391, allocations: 1.911 MB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3921, allocations: 0.6208 MB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.3928, allocations: 0.6849 MB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.3936, allocations: 0.6215 MB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.3938, allocations: 216 kB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3941, allocations: 232 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.3944, allocations: 382.7 kB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.395, allocations: 0.618 MB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3972, allocations: 2.327 MB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3972, allocations: 0 / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3972, allocations: 3.938 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.3973, allocations: 0 / 1.378 GB, free: 14.66 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.003518/0.4008, allocations: 2.066 MB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4008, allocations: 8.031 kB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.401, allocations: 177.6 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.4013, allocations: 175.8 kB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4027, allocations: 0.7812 MB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.4028, allocations: 94.7 kB / 1.382 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.4029, allocations: 132.3 kB / 1.382 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.4051, allocations: 1.295 MB / 1.383 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.4051, allocations: 7.938 kB / 1.383 GB, free: 9.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.4052, allocations: 48 kB / 1.383 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.4053, allocations: 28 kB / 1.383 GB, free: 9.676 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4071, allocations: 0.8794 MB / 1.384 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.4132, allocations: 3.628 MB / 1.387 GB, free: 5.059 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4153, allocations: 0.9281 MB / 1.388 GB, free: 4.133 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/0.4161, allocations: 438.6 kB / 1.389 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.4161, allocations: 16.64 kB / 1.389 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009811/0.4171, allocations: 452.8 kB / 1.389 GB, free: 3.234 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.4171, allocations: 0 / 1.389 GB, free: 3.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002307/0.4194, allocations: 1.097 MB / 1.39 GB, free: 2.133 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.4195, allocations: 196.9 kB / 1.39 GB, free: 1.895 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4209, allocations: 0.9961 MB / 1.391 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4211, allocations: 49.69 kB / 1.391 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.4216, allocations: 0.5598 MB / 1.392 GB, free: 264 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.4218, allocations: 297.6 kB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.4221, allocations: 174.6 kB / 1.392 GB, free: 15.79 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4223, allocations: 349.7 kB / 1.393 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008973/0.4232, allocations: 436.1 kB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.4244, allocations: 0.8549 MB / 1.394 GB, free: 14.02 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.426, allocations: 0.8217 MB / 1.395 GB, free: 13.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.426, allocations: 0 / 1.395 GB, free: 13.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002425/0.4284, allocations: 1.187 MB / 1.396 GB, free: 11.94 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/0.4285, allocations: 67.39 kB / 1.396 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4285, allocations: 4 kB / 1.396 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4285, allocations: 4 kB / 1.396 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.4293, allocations: 188 kB / 1.396 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4293, allocations: 4 kB / 1.396 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.4302, allocations: 179.1 kB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.4303, allocations: 43.97 kB / 1.396 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.4314, allocations: 0.5796 MB / 1.397 GB, free: 10.85 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009415/0.4323, allocations: 0.7924 MB / 1.398 GB, free: 9.926 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.4335, allocations: 0.7086 MB / 1.398 GB, free: 9.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.4335, allocations: 4 kB / 1.398 GB, free: 9.176 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001861/0.4353, allocations: 1.058 MB / 1.4 GB, free: 8.086 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.4354, allocations: 73.52 kB / 1.4 GB, free: 8.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4354, allocations: 0 / 1.4 GB, free: 8.004 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4354, allocations: 12.25 kB / 1.4 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.436, allocations: 155.8 kB / 1.4 GB, free: 7.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.436, allocations: 7.984 kB / 1.4 GB, free: 7.832 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.4368, allocations: 143.4 kB / 1.4 GB, free: 7.691 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.4368, allocations: 35.98 kB / 1.4 GB, free: 7.656 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.0002926/0.4371, allocations: 244.6 kB / 1.4 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4373, allocations: 115.2 kB / 1.4 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.439, allocations: 0.8535 MB / 1.401 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.439, allocations: 8 kB / 1.401 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.439, allocations: 0 / 1.401 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.439, allocations: 7.922 kB / 1.401 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4426, allocations: 2.055 MB / 1.403 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4426, allocations: 4 kB / 1.403 GB, free: 4.285 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.4432, allocations: 156 kB / 1.403 GB, free: 4.133 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.4433, allocations: 12 kB / 1.403 GB, free: 4.121 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.4433, allocations: 23.98 kB / 1.403 GB, free: 4.098 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.4433, allocations: 4 kB / 1.403 GB, free: 4.094 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4433, allocations: 4 kB / 1.403 GB, free: 4.09 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.4458, allocations: 1.391 MB / 1.405 GB, free: 2.656 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.446, allocations: 143.1 kB / 1.405 GB, free: 2.516 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4461, allocations: 19.98 kB / 1.405 GB, free: 2.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.4466, allocations: 55.95 kB / 1.405 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4467, allocations: 60.44 kB / 1.405 GB, free: 2.379 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.4467, allocations: 27.98 kB / 1.405 GB, free: 2.352 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000994/0.4477, allocations: 0.6897 MB / 1.406 GB, free: 1.652 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4477, allocations: 0 / 1.406 GB, free: 1.652 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001145/0.4489, allocations: 442.7 kB / 1.406 GB, free: 1.219 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.002831/0.4517, allocations: 1.965 MB / 1.408 GB, free: 15.2 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002956/0.4546, allocations: 1.57 MB / 1.41 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4546, allocations: 0 / 1.41 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.4554, allocations: 372.5 kB / 1.41 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.4569, allocations: 315.2 kB / 1.41 GB, free: 12.89 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.4723, allocations: 9.433 MB / 1.419 GB, free: 3.168 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.4729, allocations: 0.5023 MB / 1.42 GB, free: 2.633 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.4735, allocations: 144.5 kB / 1.42 GB, free: 2.488 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/0.4742, allocations: 0.4914 MB / 1.42 GB, free: 1.996 MB / 1.107 GB Notification: Performance of SimCode: time 9.52e-07/0.4742, allocations: 0 / 1.42 GB, free: 1.996 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06997/0.5442, allocations: 27.75 MB / 1.448 GB, free: 6.695 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.72, allocations: 5.609 kB / 1.448 GB, free: 6.691 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 & 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.731166422832757] Failed to read output from testmodel.py, exit status != 0: 13.843791982159019 13.864009433 13.462920105 Calling exit ...