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.001945/0.001945, allocations: 88.72 kB / 19.44 MB, free: 356 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.002073/0.002073, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.239/3.239, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.264e-06/2.264e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.605e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002833/0.002869, allocations: 0.9453 MB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.005962, allocations: 1.594 MB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.006161, allocations: 7.938 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.232e-05/0.006233, allocations: 12.62 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.006431, allocations: 36.81 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.007383, allocations: 220.2 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.00797, allocations: 307.4 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.008205, allocations: 55.95 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.008847, allocations: 187.7 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.009099, allocations: 104.6 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.009183, allocations: 28 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.009323, allocations: 47.94 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.009417, allocations: 60.7 kB / 0.8811 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.009601, allocations: 91.8 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.01023, allocations: 358.6 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01024, allocations: 0 / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01024, allocations: 0 / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.01025, allocations: 0 / 0.8815 GB, free: 2.5 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.001289/0.01154, allocations: 479.4 kB / 0.882 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.01158, allocations: 8.031 kB / 0.882 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.0119, allocations: 48.78 kB / 0.882 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.01234, allocations: 207.3 kB / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.01239, allocations: 22.19 kB / 0.8822 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.01245, allocations: 32.36 kB / 0.8823 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.013, allocations: 212.3 kB / 0.8825 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01301, allocations: 4.188 kB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.01305, allocations: 16.3 kB / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01307, allocations: 7.938 kB / 0.8825 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.01353, allocations: 168.7 kB / 0.8827 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01455, allocations: 0.4923 MB / 0.8831 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.01501, allocations: 154.5 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.01526, allocations: 84.81 kB / 0.8834 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01529, allocations: 4 kB / 0.8834 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005682/0.01586, allocations: 254.1 kB / 0.8836 GB, free: 228 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.01586, allocations: 4 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.001175/0.01704, allocations: 445.1 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.0171, allocations: 59.34 kB / 0.8841 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01726, allocations: 151.4 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.01733, allocations: 53.69 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01743, allocations: 117 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.01752, allocations: 59.58 kB / 0.8845 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.01767, allocations: 89.67 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.01785, allocations: 326.8 kB / 0.8849 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.01813, allocations: 133.6 kB / 0.885 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.01845, allocations: 172.5 kB / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.01887, allocations: 221.5 kB / 0.8854 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01887, allocations: 0 / 0.8854 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007936/0.01966, allocations: 406 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.01979, allocations: 41.69 kB / 0.8858 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.0198, allocations: 0 / 0.8858 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.01982, allocations: 7.938 kB / 0.8858 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01999, allocations: 27.92 kB / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.02, allocations: 7.938 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.02027, allocations: 55.73 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.02031, allocations: 12 kB / 0.8859 GB, free: 13.77 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.0002003/0.02051, allocations: 161.8 kB / 0.886 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.02058, allocations: 27.89 kB / 0.8861 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.02064, allocations: 21.97 kB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.02065, allocations: 7.938 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.02065, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02066, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.02177, allocations: 0.6075 MB / 0.8867 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.02177, allocations: 3.984 kB / 0.8867 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.02185, allocations: 19.92 kB / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02185, allocations: 0 / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.02189, allocations: 15.92 kB / 0.8867 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02189, allocations: 0 / 0.8867 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.02189, allocations: 4 kB / 0.8867 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.02276, allocations: 447.3 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.02278, allocations: 19.84 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.02284, allocations: 15.94 kB / 0.8872 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.02301, allocations: 23.97 kB / 0.8872 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.02311, allocations: 27.89 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.02316, allocations: 23.98 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.02325, allocations: 109.1 kB / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02325, allocations: 0 / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003701/0.02362, allocations: 59.94 kB / 0.8874 GB, free: 12.14 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.0002357/0.02386, allocations: 133.2 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007609/0.02462, allocations: 345.8 kB / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02462, allocations: 0 / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.02494, allocations: 120.3 kB / 0.888 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.02529, allocations: 41.91 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.02614, allocations: 374.4 kB / 0.8884 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.02629, allocations: 116.5 kB / 0.8885 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.507e-05/0.02637, allocations: 21.95 kB / 0.8885 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.02645, allocations: 28.48 kB / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.02645, allocations: 0 / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.007827/0.03427, allocations: 2.894 MB / 0.8914 GB, free: 8.066 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] 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.404947335016914]