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.001602/0.001602, allocations: 108.4 kB / 16.45 MB, free: 6.453 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.001904/0.001904, allocations: 216.2 kB / 19.43 MB, free: 3.625 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 / 252.8 MB, free: 8.957 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.426/3.426, allocations: 0.5096 GB / 0.8112 GB, free: 18.27 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.002054/0.002054, allocations: 63.89 kB / 1.179 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 181.4 MB / 1.356 GB, free: 2.168 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006569/0.3461, allocations: 4.61 MB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.351, allocations: 2.623 MB / 1.363 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.3519, allocations: 27.88 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.3525, allocations: 237.4 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.3531, allocations: 250 kB / 1.363 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.3546, allocations: 0.7568 MB / 1.364 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.3566, allocations: 1.908 MB / 1.366 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.3577, allocations: 0.6556 MB / 1.367 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.3585, allocations: 0.6927 MB / 1.367 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006945/0.3592, allocations: 0.6918 MB / 1.368 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.3594, allocations: 216 kB / 1.368 GB, free: 5.422 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.3597, allocations: 239.9 kB / 1.368 GB, free: 5.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.36, allocations: 386.7 kB / 1.369 GB, free: 4.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006595/0.3607, allocations: 0.7656 MB / 1.37 GB, free: 4.039 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.363, allocations: 2.319 MB / 1.372 GB, free: 1.711 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.363, allocations: 0 / 1.372 GB, free: 1.711 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.224e-06/0.363, allocations: 0 / 1.372 GB, free: 1.711 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.512e-05/0.363, allocations: 0 / 1.372 GB, free: 1.711 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.003334/0.3664, allocations: 1.828 MB / 1.374 GB, free: 15.81 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3664, allocations: 11.98 kB / 1.374 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.3666, allocations: 173.6 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.3669, allocations: 179.8 kB / 1.374 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3682, allocations: 0.8417 MB / 1.375 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.3682, allocations: 98.69 kB / 1.375 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3684, allocations: 124.4 kB / 1.375 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.3707, allocations: 1.174 MB / 1.376 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.3707, allocations: 0 / 1.376 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3708, allocations: 52 kB / 1.376 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.3708, allocations: 28 kB / 1.376 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.3728, allocations: 0.8871 MB / 1.377 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.3795, allocations: 4.124 MB / 1.381 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.382, allocations: 1.686 MB / 1.383 GB, free: 6.047 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.3829, allocations: 450 kB / 1.383 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.3829, allocations: 12.59 kB / 1.383 GB, free: 5.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009051/0.3838, allocations: 452.7 kB / 1.384 GB, free: 5.148 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.3838, allocations: 4 kB / 1.384 GB, free: 5.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002483/0.3863, allocations: 1.093 MB / 1.385 GB, free: 4.043 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.3864, allocations: 188.9 kB / 1.385 GB, free: 3.816 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.3879, allocations: 1.008 MB / 1.386 GB, free: 2.789 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.388, allocations: 49.7 kB / 1.386 GB, free: 2.734 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/0.3885, allocations: 0.556 MB / 1.386 GB, free: 2.172 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.3888, allocations: 297.4 kB / 1.387 GB, free: 1.879 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.3891, allocations: 174.6 kB / 1.387 GB, free: 1.703 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3893, allocations: 337.9 kB / 1.387 GB, free: 1.367 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/0.3902, allocations: 388.7 kB / 1.388 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.3912, allocations: 0.542 MB / 1.388 GB, free: 392 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.3928, allocations: 0.8217 MB / 1.389 GB, free: 15.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3928, allocations: 0 / 1.389 GB, free: 15.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002464/0.3953, allocations: 1.125 MB / 1.39 GB, free: 14.38 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.3954, allocations: 75.39 kB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3954, allocations: 0 / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.3954, allocations: 8 kB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.3962, allocations: 175.8 kB / 1.39 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3962, allocations: 11.94 kB / 1.39 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.3971, allocations: 187.1 kB / 1.39 GB, free: 13.92 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.3972, allocations: 31.98 kB / 1.39 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001027/0.3982, allocations: 0.5254 MB / 1.391 GB, free: 13.36 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007961/0.399, allocations: 483.2 kB / 1.391 GB, free: 12.83 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.4001, allocations: 0.7047 MB / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.4002, allocations: 0 / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.001887/0.402, allocations: 1.008 MB / 1.393 GB, free: 11.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.4021, allocations: 68.48 kB / 1.393 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4021, allocations: 4 kB / 1.393 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.4021, allocations: 4 kB / 1.393 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.4027, allocations: 155.8 kB / 1.393 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4027, allocations: 8 kB / 1.393 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.4035, allocations: 143.7 kB / 1.394 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.4036, allocations: 35.98 kB / 1.394 GB, free: 10.64 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,ena.y,$PRE.ena.y,pulse.booPul.y,$PRE.pulse.booPul.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.0002843/0.4039, allocations: 240.2 kB / 1.394 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.404, allocations: 123.2 kB / 1.394 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.4058, allocations: 0.8418 MB / 1.395 GB, free: 9.418 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4059, allocations: 15.98 kB / 1.395 GB, free: 9.402 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4059, allocations: 0 / 1.395 GB, free: 9.402 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4059, allocations: 7.922 kB / 1.395 GB, free: 9.395 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.4096, allocations: 2.286 MB / 1.397 GB, free: 7.027 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.4096, allocations: 8.062 kB / 1.397 GB, free: 7.02 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.4102, allocations: 151.8 kB / 1.397 GB, free: 6.871 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.4102, allocations: 8 kB / 1.397 GB, free: 6.863 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.4103, allocations: 23.98 kB / 1.397 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.4103, allocations: 7.938 kB / 1.397 GB, free: 6.832 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4103, allocations: 4 kB / 1.397 GB, free: 6.828 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.4129, allocations: 1.398 MB / 1.399 GB, free: 5.383 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.4132, allocations: 220.2 kB / 1.399 GB, free: 5.148 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4133, allocations: 20 kB / 1.399 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.4138, allocations: 51.95 kB / 1.399 GB, free: 5.078 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.4139, allocations: 60.45 kB / 1.399 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.4139, allocations: 24 kB / 1.399 GB, free: 4.996 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001017/0.4149, allocations: 0.6936 MB / 1.4 GB, free: 4.293 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4149, allocations: 4 kB / 1.4 GB, free: 4.289 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001146/0.4161, allocations: 442.7 kB / 1.4 GB, free: 3.855 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.conPID.I.y,limPID.conPID.D.x,limPI.conPID.I.y,limPD.conPID.D.x,noLimPID.conPID.I.y,noLimPID.conPID.D.x) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,ena.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.002946/0.419, allocations: 1.957 MB / 1.402 GB, free: 1.844 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.4219, allocations: 1.453 MB / 1.403 GB, free: 352 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4219, allocations: 0 / 1.403 GB, free: 352 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.4227, allocations: 371.5 kB / 1.404 GB, free: 15.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4243, allocations: 322.8 kB / 1.404 GB, free: 15.68 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.4395, allocations: 9.189 MB / 1.413 GB, free: 6.254 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007831/0.4403, allocations: 1.093 MB / 1.414 GB, free: 5.133 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005979/0.4409, allocations: 140.5 kB / 1.414 GB, free: 4.992 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.4416, allocations: 0.4954 MB / 1.415 GB, free: 4.496 MB / 1.107 GB Notification: Performance of SimCode: time 1.302e-06/0.4416, allocations: 0 / 1.415 GB, free: 4.496 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06412/0.5057, allocations: 25.47 MB / 1.44 GB, free: 11.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.45, allocations: 14.56 kB / 1.44 GB, free: 11.31 MB / 1.139 GB " [Timeout remaining time 288] (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: 18.389703224995174] Failed to read output from testmodel.py, exit status != 0: 11.543236442026682 11.562794545 11.195910109 Calling exit ...