Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.001341/0.001341, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001837/0.001837, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.371 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="cs",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.002021/0.002021, allocations: 71.91 kB / 1.15 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9559/0.958, allocations: 176.1 MB / 1.321 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.003672/0.9616, allocations: 0.9895 MB / 1.322 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.9648, allocations: 1.642 MB / 1.324 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.965, allocations: 11.72 kB / 1.324 GB, free: 5.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.965, allocations: 19.8 kB / 1.324 GB, free: 5.488 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.9652, allocations: 30.56 kB / 1.324 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.9661, allocations: 213.6 kB / 1.324 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.9666, allocations: 308.5 kB / 1.325 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.9668, allocations: 64.03 kB / 1.325 GB, free: 5.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.9672, allocations: 145.3 kB / 1.325 GB, free: 4.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.9673, allocations: 121.6 kB / 1.325 GB, free: 4.898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.9674, allocations: 30.16 kB / 1.325 GB, free: 4.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.9675, allocations: 47.64 kB / 1.325 GB, free: 4.891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.9676, allocations: 57.55 kB / 1.325 GB, free: 4.844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.9677, allocations: 123.8 kB / 1.325 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.9682, allocations: 317.8 kB / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9682, allocations: 1.062 kB / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9682, allocations: 0 / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.9682, allocations: 0 / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001091/0.9693, allocations: 0.5369 MB / 1.326 GB, free: 3.988 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9693, allocations: 18.33 kB / 1.326 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.913e-05/0.9694, allocations: 7.203 kB / 1.326 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.9694, allocations: 48.42 kB / 1.326 GB, free: 3.926 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.9696, allocations: 35.62 kB / 1.326 GB, free: 3.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.9701, allocations: 272.9 kB / 1.326 GB, free: 3.633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.9702, allocations: 24.16 kB / 1.326 GB, free: 3.621 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.9702, allocations: 26.39 kB / 1.326 GB, free: 3.613 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.9707, allocations: 220.1 kB / 1.327 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9707, allocations: 0 / 1.327 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.9708, allocations: 8.609 kB / 1.327 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9708, allocations: 3.281 kB / 1.327 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.9712, allocations: 185.8 kB / 1.327 GB, free: 3.371 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.9722, allocations: 0.6243 MB / 1.327 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.9727, allocations: 141.4 kB / 1.328 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.9729, allocations: 95.09 kB / 1.328 GB, free: 2.672 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.973, allocations: 10.11 kB / 1.328 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.9735, allocations: 249.5 kB / 1.328 GB, free: 2.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.9735, allocations: 5.125 kB / 1.328 GB, free: 2.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.001074/0.9746, allocations: 422.2 kB / 1.328 GB, free: 2.301 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.9746, allocations: 62.75 kB / 1.328 GB, free: 2.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.9748, allocations: 157.8 kB / 1.328 GB, free: 2.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.9748, allocations: 42.98 kB / 1.329 GB, free: 2.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.9749, allocations: 128.4 kB / 1.329 GB, free: 1.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.975, allocations: 62.3 kB / 1.329 GB, free: 1.883 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.9751, allocations: 78.2 kB / 1.329 GB, free: 1.832 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.9753, allocations: 327.2 kB / 1.329 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.9755, allocations: 107.7 kB / 1.329 GB, free: 1.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.9758, allocations: 143.5 kB / 1.329 GB, free: 1.367 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.9762, allocations: 228.9 kB / 1.33 GB, free: 1.219 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9762, allocations: 0 / 1.33 GB, free: 1.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006837/0.9769, allocations: 354.1 kB / 1.33 GB, free: 1.027 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.9769, allocations: 40.59 kB / 1.33 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9769, allocations: 1.375 kB / 1.33 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.9769, allocations: 1.312 kB / 1.33 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.9771, allocations: 38.48 kB / 1.33 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.9771, allocations: 6.094 kB / 1.33 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9774, allocations: 50.89 kB / 1.33 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.9774, allocations: 18.44 kB / 1.33 GB, free: 0.9336 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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.0001872/0.9776, allocations: 162.5 kB / 1.33 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.9777, allocations: 20.92 kB / 1.33 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.9777, allocations: 23.86 kB / 1.33 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9777, allocations: 3.812 kB / 1.33 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9778, allocations: 0 / 1.33 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9778, allocations: 0 / 1.33 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.9788, allocations: 0.6924 MB / 1.331 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9788, allocations: 4 kB / 1.331 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.9789, allocations: 16.2 kB / 1.331 GB, free: 208 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9789, allocations: 1.312 kB / 1.331 GB, free: 208 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.9789, allocations: 11.73 kB / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9789, allocations: 1.344 kB / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9789, allocations: 0 / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.9797, allocations: 433.7 kB / 1.331 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.9798, allocations: 94.45 kB / 1.331 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.9798, allocations: 14.88 kB / 1.331 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.98, allocations: 21.59 kB / 1.332 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.9801, allocations: 22.97 kB / 1.332 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.9801, allocations: 18.98 kB / 1.332 GB, free: 15.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.9802, allocations: 106.4 kB / 1.332 GB, free: 15.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.9802, allocations: 0 / 1.332 GB, free: 15.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003593/0.9806, allocations: 62.88 kB / 1.332 GB, free: 15.68 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001288/0.9819, allocations: 1.009 MB / 1.333 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.9825, allocations: 313.4 kB / 1.333 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9825, allocations: 1.062 kB / 1.333 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.9828, allocations: 117.6 kB / 1.333 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.9832, allocations: 20.39 kB / 1.333 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.9866, allocations: 2.373 MB / 1.335 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.987, allocations: 0.7289 MB / 1.336 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.51e-05/0.9871, allocations: 18.98 kB / 1.336 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.9872, allocations: 63.66 kB / 1.336 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.9872, allocations: 1.062 kB / 1.336 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/1.01, allocations: 4.61 MB / 1.341 GB, free: 9.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/9.66, allocations: 7.5 kB / 1.341 GB, free: 9.68 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.962011233030353] Failed to read output from testmodel.py, exit status != 0: 9.791890368971508 9.814662608 8.84215542 Calling exit ...