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.001523/0.001523, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001632/0.001632, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9973/0.9973, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.072/2.072, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.51e-06, allocations: 0.5469 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.618e-05/5.169e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002812/0.002864, allocations: 0.9953 MB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.005695, allocations: 1.629 MB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.005896, allocations: 7.938 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.745e-05/0.005964, allocations: 15.8 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.006141, allocations: 33.53 kB / 0.8808 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.007125, allocations: 215.4 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.007619, allocations: 318 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.007847, allocations: 50.92 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.008389, allocations: 187.7 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.00858, allocations: 99.7 kB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.008629, allocations: 32 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.008758, allocations: 40 kB / 0.8817 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.008823, allocations: 68.45 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.009341, allocations: 87.86 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.009776, allocations: 232.9 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.009782, allocations: 0 / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.465e-06/0.009785, allocations: 0 / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.009795, allocations: 0 / 0.882 GB, free: 2.348 MB / 0.8386 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.001035/0.01083, allocations: 0.5539 MB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.01089, allocations: 8.031 kB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.01118, allocations: 56.77 kB / 0.8826 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.01158, allocations: 208.9 kB / 0.8828 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.01164, allocations: 24.64 kB / 0.8829 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.01168, allocations: 20.38 kB / 0.8829 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.0121, allocations: 193 kB / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01211, allocations: 192 / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.01214, allocations: 12.36 kB / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.01216, allocations: 11.94 kB / 0.8831 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.01239, allocations: 116.6 kB / 0.8832 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.0133, allocations: 0.5384 MB / 0.8837 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.01357, allocations: 103 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.01368, allocations: 59.64 kB / 0.8839 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.01371, allocations: 0 / 0.8839 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.01404, allocations: 227.8 kB / 0.8841 GB, free: 96 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.01405, allocations: 0 / 0.8841 GB, free: 96 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0006217/0.01467, allocations: 341.1 kB / 0.8844 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.01473, allocations: 63.34 kB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01488, allocations: 203.6 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.01492, allocations: 41.7 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.01501, allocations: 167.7 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.01507, allocations: 67.47 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01518, allocations: 87.34 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.01534, allocations: 0.5079 MB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.01551, allocations: 93.66 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.01567, allocations: 141 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.0159, allocations: 169.5 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.0159, allocations: 0 / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000425/0.01633, allocations: 342.2 kB / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.01638, allocations: 37.69 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01639, allocations: 4.062 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.01641, allocations: 3.938 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.01661, allocations: 35.92 kB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.01662, allocations: 4 kB / 0.8863 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.01679, allocations: 39.86 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.01682, allocations: 16 kB / 0.8864 GB, free: 13.64 MB / 0.8542 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.0001695/0.01699, allocations: 200.5 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.01704, allocations: 23.91 kB / 0.8866 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.01708, allocations: 21.95 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.01709, allocations: 7.938 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.0171, allocations: 0 / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.0171, allocations: 0 / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.01774, allocations: 0.5948 MB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01775, allocations: 0 / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.01781, allocations: 15.92 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.01782, allocations: 0 / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.01784, allocations: 19.92 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01785, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01785, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01828, allocations: 435.7 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01831, allocations: 11.91 kB / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.01836, allocations: 23.94 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.01845, allocations: 19.97 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.01854, allocations: 23.95 kB / 0.8877 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.01858, allocations: 15.98 kB / 0.8877 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.01865, allocations: 153 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01865, allocations: 3.938 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002757/0.01893, allocations: 71.83 kB / 0.888 GB, free: 11.95 MB / 0.8542 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.0002625/0.01919, allocations: 129.2 kB / 0.8881 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.01966, allocations: 298.7 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.01966, allocations: 0 / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01981, allocations: 107.7 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.02011, allocations: 39.89 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.02155, allocations: 345.1 kB / 0.8888 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.02162, allocations: 76.33 kB / 0.8889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.735e-05/0.02168, allocations: 33.88 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.02174, allocations: 24.5 kB / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.02175, allocations: 0 / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.006841/0.02859, allocations: 3.068 MB / 0.892 GB, free: 7.805 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.588276227936149]