Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00167/0.00167, allocations: 116.1 kB / 17.17 MB, free: 6 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.001475/0.001475, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.843/2.843, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_latest_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.001876/0.001876, allocations: 68.17 kB / 1.165 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.911, allocations: 179 MB / 1.34 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002385/0.9134, allocations: 0.9906 MB / 1.341 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.9159, allocations: 1.643 MB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.9161, allocations: 6.156 kB / 1.343 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.9161, allocations: 11.81 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.9163, allocations: 35.47 kB / 1.343 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.917, allocations: 219.5 kB / 1.343 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.9174, allocations: 313.1 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.9176, allocations: 55.33 kB / 1.343 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.918, allocations: 142.2 kB / 1.343 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.9182, allocations: 121 kB / 1.344 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.9183, allocations: 29.91 kB / 1.344 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.9184, allocations: 52.27 kB / 1.344 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.9184, allocations: 72.72 kB / 1.344 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.9186, allocations: 112.5 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.919, allocations: 313.5 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.919, allocations: 0 / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/0.919, allocations: 1.281 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.919, allocations: 0 / 1.344 GB, free: 10.65 MB / 1.029 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.001036/0.92, allocations: 0.5443 MB / 1.345 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9201, allocations: 18.03 kB / 1.345 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.9201, allocations: 8.406 kB / 1.345 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.9202, allocations: 51.67 kB / 1.345 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.9204, allocations: 31.92 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.9209, allocations: 260.2 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.921, allocations: 23.83 kB / 1.345 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.9211, allocations: 26.83 kB / 1.345 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.9217, allocations: 227.5 kB / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.9217, allocations: 0 / 1.345 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.9218, allocations: 13.02 kB / 1.345 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.9218, allocations: 3.781 kB / 1.345 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.9223, allocations: 169.2 kB / 1.345 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.9236, allocations: 0.6251 MB / 1.346 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.924, allocations: 152.6 kB / 1.346 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.9242, allocations: 91.2 kB / 1.346 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.9243, allocations: 6.156 kB / 1.346 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.9248, allocations: 253.5 kB / 1.347 GB, free: 8.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.9248, allocations: 0 / 1.347 GB, free: 8.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.000991/0.9258, allocations: 429.1 kB / 1.347 GB, free: 8.441 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.9258, allocations: 59.77 kB / 1.347 GB, free: 8.375 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.9259, allocations: 145.4 kB / 1.347 GB, free: 8.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.926, allocations: 48.66 kB / 1.347 GB, free: 8.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.9261, allocations: 122.6 kB / 1.347 GB, free: 8.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.9262, allocations: 69.27 kB / 1.347 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.9263, allocations: 78.66 kB / 1.347 GB, free: 7.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9264, allocations: 330.9 kB / 1.348 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.9267, allocations: 103.2 kB / 1.348 GB, free: 7.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.9269, allocations: 147 kB / 1.348 GB, free: 7.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.9273, allocations: 221.8 kB / 1.348 GB, free: 7.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9273, allocations: 0 / 1.348 GB, free: 7.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006417/0.9279, allocations: 364.5 kB / 1.349 GB, free: 7.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.928, allocations: 37.64 kB / 1.349 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.928, allocations: 1.031 kB / 1.349 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.928, allocations: 2.312 kB / 1.349 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.9282, allocations: 37.69 kB / 1.349 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9282, allocations: 2.75 kB / 1.349 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.9284, allocations: 51.19 kB / 1.349 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.9285, allocations: 21.89 kB / 1.349 GB, free: 7.078 MB / 1.029 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.0001639/0.9286, allocations: 162.7 kB / 1.349 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.9287, allocations: 19.77 kB / 1.349 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.9287, allocations: 24.03 kB / 1.349 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9287, allocations: 2.875 kB / 1.349 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9287, allocations: 1.062 kB / 1.349 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9287, allocations: 0 / 1.349 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.9298, allocations: 0.6924 MB / 1.35 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9298, allocations: 0 / 1.35 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.9298, allocations: 16.3 kB / 1.35 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.9298, allocations: 5.719 kB / 1.35 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.9299, allocations: 15.72 kB / 1.35 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9299, allocations: 1.688 kB / 1.35 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9299, allocations: 0 / 1.35 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.9306, allocations: 430.7 kB / 1.35 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.9307, allocations: 94.64 kB / 1.35 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.9307, allocations: 27.08 kB / 1.35 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.9309, allocations: 12.55 kB / 1.35 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.931, allocations: 30.42 kB / 1.35 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.931, allocations: 16.17 kB / 1.35 GB, free: 5.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.718e-05/0.9311, allocations: 106.2 kB / 1.35 GB, free: 5.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.9311, allocations: 0 / 1.35 GB, free: 5.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003399/0.9314, allocations: 65.5 kB / 1.35 GB, free: 5.816 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.001182/0.9326, allocations: 0.9881 MB / 1.351 GB, free: 5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006502/0.9332, allocations: 321.1 kB / 1.352 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9332, allocations: 1.438 kB / 1.352 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.9335, allocations: 113.3 kB / 1.352 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.9338, allocations: 21.95 kB / 1.352 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.937, allocations: 2.38 MB / 1.354 GB, free: 2.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.9374, allocations: 0.7288 MB / 1.355 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.9375, allocations: 22.73 kB / 1.355 GB, free: 2.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9376, allocations: 60.09 kB / 1.355 GB, free: 2.145 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.9376, allocations: 0 / 1.355 GB, free: 2.145 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.9611, allocations: 4.632 MB / 1.359 GB, free: 15.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.888, allocations: 17.59 kB / 1.359 GB, free: 15.83 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 14.891992322984152] Failed to read output from testmodel.py, exit status != 0: 9.014086459996179 9.028987959 8.107084285000001 Calling exit ...