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.001181/0.001181, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001752/0.001752, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.202/3.202, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002849/0.002849, allocations: 61.16 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3645, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002379/0.3668, allocations: 0.9402 MB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3693, allocations: 1.599 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3694, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.3694, allocations: 15.75 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3696, allocations: 31.72 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.3702, allocations: 222.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3706, allocations: 303.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3708, allocations: 67.02 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.3711, allocations: 147.6 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3712, allocations: 123.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.3713, allocations: 28 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3714, allocations: 51.97 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.3715, allocations: 55.89 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3716, allocations: 99.62 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.372, allocations: 318.9 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.372, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.372, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.372, allocations: 0 / 1.33 GB, free: 13.55 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.0009206/0.3729, allocations: 479.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.373, allocations: 8.031 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.373, allocations: 4.469 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.373, allocations: 58.72 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.3732, allocations: 32.78 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.3736, allocations: 207.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.3736, allocations: 20.64 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.3737, allocations: 28.38 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.3742, allocations: 223.6 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3742, allocations: 3.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.3743, allocations: 15.98 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3743, allocations: 4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.3747, allocations: 168.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009676/0.3757, allocations: 0.5188 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.3761, allocations: 158.4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3764, allocations: 88.73 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3764, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.377, allocations: 249.7 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/0.377, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001124/0.3781, allocations: 432.1 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3781, allocations: 55.41 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3783, allocations: 147.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.3784, allocations: 53.69 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3785, allocations: 124.9 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.3786, allocations: 63.52 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.3787, allocations: 85.67 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3789, allocations: 326.8 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.3792, allocations: 137.6 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.3795, allocations: 181 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.3799, allocations: 217.3 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3799, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007733/0.3807, allocations: 402 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.3808, allocations: 37.69 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3808, allocations: 0 / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.3808, allocations: 4 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.381, allocations: 35.86 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.381, allocations: 4 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.3813, allocations: 51.8 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3813, allocations: 12 kB / 1.335 GB, free: 8.734 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.0002102/0.3815, allocations: 166.3 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3816, allocations: 15.91 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.3816, allocations: 21.95 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3816, allocations: 4 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3816, allocations: 0 / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3817, allocations: 0 / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3827, allocations: 0.6496 MB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3827, allocations: 0 / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.3828, allocations: 11.94 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.3828, allocations: 11.92 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3829, allocations: 7.984 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3829, allocations: 4 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3829, allocations: 0 / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.3836, allocations: 444.3 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.3837, allocations: 15.91 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.3837, allocations: 23.92 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3839, allocations: 15.98 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.384, allocations: 27.94 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.384, allocations: 19.98 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.3841, allocations: 104.8 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003552/0.3845, allocations: 67.92 kB / 1.336 GB, free: 7.07 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.001191/0.3857, allocations: 0.9992 MB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007641/0.3864, allocations: 345.5 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3864, allocations: 128 / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3867, allocations: 119.8 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.387, allocations: 26 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.3904, allocations: 2.502 MB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3906, allocations: 116.6 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.941e-05/0.3906, allocations: 29.83 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3907, allocations: 55.41 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3907, allocations: 0 / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.417, allocations: 4.988 MB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 7.078 kB / 1.345 GB, free: 13.89 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.806970175006427] Failed to read output from testmodel.py, exit status != 0: 12.219050136976875 12.245615786 11.868723899 Calling exit ...