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.002446/0.002446, allocations: 93.47 kB / 19.44 MB, free: 336 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.003037/0.003037, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.66/1.66, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 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.414/3.414, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.294e-06/2.294e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.307e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002401/0.002434, allocations: 0.9674 MB / 0.8784 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.005148, allocations: 1.605 MB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.005241, allocations: 7.938 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.005284, allocations: 11.81 kB / 0.88 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.005426, allocations: 33.75 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.006094, allocations: 223.3 kB / 0.8802 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.006639, allocations: 312.2 kB / 0.8805 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.00681, allocations: 51.58 kB / 0.8806 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.007216, allocations: 195.6 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.007396, allocations: 100.4 kB / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.007455, allocations: 29.59 kB / 0.8809 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.007565, allocations: 43.94 kB / 0.8809 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.007646, allocations: 67.8 kB / 0.881 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.00778, allocations: 87.8 kB / 0.8811 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.008254, allocations: 356.5 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.008262, allocations: 4 kB / 0.8814 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008263, allocations: 0 / 0.8814 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.008269, allocations: 0 / 0.8814 GB, free: 2.656 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.001079/0.009348, allocations: 0.5785 MB / 0.882 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.009389, allocations: 8.031 kB / 0.882 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.009654, allocations: 48.78 kB / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.01004, allocations: 209.1 kB / 0.8822 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.01008, allocations: 21.38 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.01013, allocations: 20.38 kB / 0.8823 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.01065, allocations: 221.6 kB / 0.8825 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01066, allocations: 192 / 0.8825 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.0107, allocations: 28.23 kB / 0.8825 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01071, allocations: 3.938 kB / 0.8825 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.01117, allocations: 172.7 kB / 0.8827 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.0122, allocations: 0.5774 MB / 0.8832 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.01268, allocations: 167 kB / 0.8834 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.01294, allocations: 95.64 kB / 0.8835 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.01297, allocations: 4 kB / 0.8835 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.01352, allocations: 259.8 kB / 0.8837 GB, free: 136 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.01352, allocations: 0 / 0.8837 GB, free: 136 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.001415/0.01494, allocations: 457 kB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.015, allocations: 55.41 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01523, allocations: 235.9 kB / 0.8844 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.01529, allocations: 45.69 kB / 0.8845 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01543, allocations: 171.7 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.01552, allocations: 67.59 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.01573, allocations: 103.3 kB / 0.8848 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003727/0.0161, allocations: 0.5157 MB / 0.8853 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.01643, allocations: 133.7 kB / 0.8854 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.01677, allocations: 205 kB / 0.8856 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.01719, allocations: 234 kB / 0.8859 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01719, allocations: 0 / 0.8859 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007598/0.01795, allocations: 418 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.018, allocations: 33.7 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01801, allocations: 0 / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01803, allocations: 3.938 kB / 0.8863 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.01821, allocations: 43.97 kB / 0.8863 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.01822, allocations: 8 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.01844, allocations: 43.77 kB / 0.8864 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.01849, allocations: 19.98 kB / 0.8864 GB, free: 13.26 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.000215/0.0187, allocations: 196.5 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.01877, allocations: 35.89 kB / 0.8866 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.01883, allocations: 21.97 kB / 0.8866 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01883, allocations: 3.938 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.01884, allocations: 3.984 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01885, allocations: 7.984 kB / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.01996, allocations: 0.6729 MB / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01997, allocations: 0 / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.02003, allocations: 15.92 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.02004, allocations: 4 kB / 0.8873 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.02007, allocations: 15.92 kB / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02007, allocations: 0 / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02008, allocations: 0 / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.02094, allocations: 0.4919 MB / 0.8878 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.02097, allocations: 23.83 kB / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.02103, allocations: 15.94 kB / 0.8879 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.02119, allocations: 23.92 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.02129, allocations: 31.94 kB / 0.8879 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.02133, allocations: 19.98 kB / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001235/0.02145, allocations: 153.2 kB / 0.8881 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02145, allocations: 0 / 0.8881 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003304/0.02178, allocations: 63.94 kB / 0.8882 GB, free: 11.4 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.00023/0.02201, allocations: 129.2 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.0228, allocations: 398.9 kB / 0.8887 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.0228, allocations: 0 / 0.8887 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.02313, allocations: 143.5 kB / 0.8888 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.02347, allocations: 35.91 kB / 0.8888 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/0.0243, allocations: 379.5 kB / 0.8892 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02444, allocations: 120.7 kB / 0.8893 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.559e-05/0.02452, allocations: 17.95 kB / 0.8893 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.02459, allocations: 28.48 kB / 0.8893 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.02459, allocations: 0 / 0.8893 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.008079/0.03267, allocations: 2.903 MB / 0.8922 GB, free: 7.234 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.715635254979134]