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.001794/0.001794, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002263/0.002263, allocations: 214.7 kB / 23.03 MB, free: 4.922 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.066/3.066, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 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.001908/0.001908, allocations: 65.41 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.33, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002256/0.3322, allocations: 0.9336 MB / 1.346 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3346, allocations: 1.595 MB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3347, allocations: 7.938 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.3347, allocations: 15.8 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3348, allocations: 23.73 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3355, allocations: 230 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3359, allocations: 307.5 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.336, allocations: 55.03 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.3363, allocations: 151.5 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.3365, allocations: 119.6 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.3365, allocations: 32 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.3366, allocations: 44 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.3367, allocations: 63.81 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3368, allocations: 95.69 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3372, allocations: 326.9 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3372, allocations: 4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3372, allocations: 0 / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3372, allocations: 0 / 1.349 GB, free: 11.93 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.0009136/0.3381, allocations: 475.4 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3382, allocations: 8.031 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.535e-05/0.3382, allocations: 4.469 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.3383, allocations: 50.73 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.3385, allocations: 36.83 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.3388, allocations: 207.7 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.3389, allocations: 24.64 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.3389, allocations: 20.38 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.3394, allocations: 223.6 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3394, allocations: 0 / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.3394, allocations: 23.95 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3395, allocations: 4 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.3399, allocations: 176.7 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.3408, allocations: 0.5149 MB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.3412, allocations: 154.3 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.3414, allocations: 92.75 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.3414, allocations: 4 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.3419, allocations: 254.1 kB / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.993e-06/0.3419, allocations: 0 / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.001003/0.3429, allocations: 439.4 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.343, allocations: 55.41 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3431, allocations: 150.9 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.3432, allocations: 45.7 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.3433, allocations: 125 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.3433, allocations: 67.47 kB / 1.352 GB, free: 8.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3435, allocations: 81.67 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3436, allocations: 334.8 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.3439, allocations: 137.6 kB / 1.353 GB, free: 8.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.3441, allocations: 169.2 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.3445, allocations: 229.3 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3445, allocations: 0 / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006301/0.3451, allocations: 382.2 kB / 1.353 GB, free: 7.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.3452, allocations: 37.69 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3452, allocations: 0 / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3452, allocations: 8.062 kB / 1.353 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3453, allocations: 31.92 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3454, allocations: 7.984 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3456, allocations: 51.8 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.3456, allocations: 12 kB / 1.354 GB, free: 7.125 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.0001706/0.3458, allocations: 161.7 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3458, allocations: 23.89 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.3459, allocations: 17.97 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3459, allocations: 4 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3459, allocations: 0 / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3459, allocations: 3.984 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.3469, allocations: 0.6418 MB / 1.354 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3469, allocations: 8 kB / 1.354 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.3469, allocations: 15.92 kB / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3469, allocations: 0 / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.347, allocations: 11.98 kB / 1.354 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.347, allocations: 7.984 kB / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.347, allocations: 0 / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.3477, allocations: 440.4 kB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.3477, allocations: 11.91 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.3478, allocations: 27.92 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3479, allocations: 15.98 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.348, allocations: 27.89 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.348, allocations: 19.98 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.3481, allocations: 108.8 kB / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3481, allocations: 0 / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003117/0.3484, allocations: 67.89 kB / 1.355 GB, free: 5.453 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.001085/0.3495, allocations: 0.9991 MB / 1.356 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.3501, allocations: 345.3 kB / 1.356 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3501, allocations: 0 / 1.356 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.3504, allocations: 119.8 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3507, allocations: 24.11 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.3538, allocations: 2.51 MB / 1.359 GB, free: 1.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.3539, allocations: 116.2 kB / 1.359 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.354, allocations: 21.94 kB / 1.359 GB, free: 1.141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3541, allocations: 63.41 kB / 1.359 GB, free: 1.078 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3541, allocations: 96 / 1.359 GB, free: 1.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.3813, allocations: 4.959 MB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.08, allocations: 14.11 kB / 1.364 GB, free: 12.29 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.398442008998245] Failed to read output from testmodel.py, exit status != 0: 11.231582190957852 11.247146558 10.90677579 Calling exit ...