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.001306/0.001306, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001846/0.001846, allocations: 217.3 kB / 23.04 MB, free: 5.07 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.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.399/3.399, allocations: 0.5003 GB / 0.8061 GB, free: 26.92 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.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.002007/0.002007, allocations: 62.92 kB / 1.171 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.0024/0.3569, allocations: 0.988 MB / 1.346 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3595, allocations: 1.657 MB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3597, allocations: 7.938 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.3597, allocations: 15.8 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3599, allocations: 27.75 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.3607, allocations: 222.1 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.3611, allocations: 311.4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3613, allocations: 59.03 kB / 1.349 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.3618, allocations: 139.6 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.3621, allocations: 127.5 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3623, allocations: 32 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3624, allocations: 43.98 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.3625, allocations: 63.83 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.3628, allocations: 119.5 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.3634, allocations: 318.9 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3634, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3634, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3635, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 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.001437/0.3649, allocations: 480.6 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.365, allocations: 12.03 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.748e-05/0.365, allocations: 4.469 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.3651, allocations: 50.73 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.3654, allocations: 32.77 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.3659, allocations: 202.2 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.366, allocations: 20.66 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.366, allocations: 24.36 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3666, allocations: 223.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3666, allocations: 4 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3667, allocations: 15.97 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3667, allocations: 4 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.3672, allocations: 176.6 kB / 1.351 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3683, allocations: 0.5889 MB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.3688, allocations: 150.3 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3691, allocations: 92.73 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3691, allocations: 7.984 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.3697, allocations: 258.1 kB / 1.352 GB, free: 9.922 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 2.314e-06/0.3697, allocations: 0 / 1.352 GB, free: 9.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.001084/0.3708, allocations: 427.5 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3708, allocations: 59.39 kB / 1.352 GB, free: 9.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.371, allocations: 147.3 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.3711, allocations: 49.69 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.3712, allocations: 117 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.3712, allocations: 71.47 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3714, allocations: 81.67 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3715, allocations: 334.8 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.3718, allocations: 107.9 kB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.3721, allocations: 139.5 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.3725, allocations: 221.4 kB / 1.353 GB, free: 8.125 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3725, allocations: 0 / 1.353 GB, free: 8.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000674/0.3731, allocations: 356.5 kB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.3732, allocations: 33.7 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3732, allocations: 4 kB / 1.354 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.3732, allocations: 4 kB / 1.354 GB, free: 7.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3734, allocations: 39.86 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3734, allocations: 0 / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3737, allocations: 55.86 kB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.3737, allocations: 19.98 kB / 1.354 GB, free: 7.605 MB / 1.045 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.0001798/0.3739, allocations: 161.6 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3739, allocations: 19.91 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.374, allocations: 17.95 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.374, allocations: 8 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.374, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.374, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3751, allocations: 0.669 MB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3751, allocations: 0 / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.3752, allocations: 11.98 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3752, allocations: 4 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.3752, allocations: 15.98 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3752, allocations: 3.984 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3752, allocations: 3.938 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.376, allocations: 432.4 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.376, allocations: 11.91 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.3761, allocations: 19.94 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3763, allocations: 23.97 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.3763, allocations: 23.95 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.3764, allocations: 19.98 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.076e-05/0.3765, allocations: 108.8 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3765, allocations: 0 / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003535/0.3768, allocations: 67.89 kB / 1.355 GB, free: 5.926 MB / 1.045 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.001241/0.3781, allocations: 0.9875 MB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007216/0.3788, allocations: 327.6 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3788, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.3791, allocations: 111.9 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3794, allocations: 22.8 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.3828, allocations: 2.396 MB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.3832, allocations: 0.7243 MB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.492e-05/0.3833, allocations: 25.94 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.3835, allocations: 55.41 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3835, allocations: 4 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4118, allocations: 4.851 MB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.83, allocations: 11.94 kB / 1.365 GB, free: 12.41 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.701762059994508] Failed to read output from testmodel.py, exit status != 0: 11.994286367029417 12.011141267 11.644480595 Calling exit ...