Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.001353/0.001353, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001351/0.001351, allocations: 177 kB / 23.49 MB, free: 1.051 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.9066/0.9066, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.108/2.108, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.715e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001892/0.001919, allocations: 1.123 MB / 0.8793 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003051, allocations: 1.107 MB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003158, allocations: 4 kB / 0.8803 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.003207, allocations: 19.73 kB / 0.8804 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003348, allocations: 42.5 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.003675, allocations: 91.83 kB / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.003905, allocations: 251.2 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.004053, allocations: 71.8 kB / 0.8808 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.004296, allocations: 151.6 kB / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004397, allocations: 84.41 kB / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.004428, allocations: 24 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.025e-05/0.004479, allocations: 29.66 kB / 0.8811 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.004515, allocations: 51.81 kB / 0.8811 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.004575, allocations: 67.83 kB / 0.8812 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.004787, allocations: 179.3 kB / 0.8814 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004789, allocations: 0.5 kB / 0.8814 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004791, allocations: 5.531 kB / 0.8814 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004795, allocations: 0 / 0.8814 GB, free: 3.418 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006426/0.005437, allocations: 0.5555 MB / 0.8819 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.005474, allocations: 12.03 kB / 0.8819 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.005648, allocations: 58.31 kB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.005883, allocations: 188.2 kB / 0.8822 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.005969, allocations: 119.4 kB / 0.8823 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.006, allocations: 28.33 kB / 0.8823 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.006235, allocations: 146.8 kB / 0.8824 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.006246, allocations: 192 / 0.8824 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.006263, allocations: 12.38 kB / 0.8824 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.006275, allocations: 7.938 kB / 0.8825 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.006393, allocations: 60.62 kB / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.006972, allocations: 0.4913 MB / 0.883 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.007183, allocations: 99.22 kB / 0.8831 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.007247, allocations: 43.66 kB / 0.8831 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.007271, allocations: 4 kB / 0.8831 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.007412, allocations: 103 kB / 0.8832 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.007414, allocations: 0 / 0.8832 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002912/0.007705, allocations: 159.2 kB / 0.8834 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.007743, allocations: 59.39 kB / 0.8834 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.007875, allocations: 223.2 kB / 0.8837 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.007895, allocations: 37.7 kB / 0.8837 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.007965, allocations: 179.2 kB / 0.8839 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.008009, allocations: 71.42 kB / 0.8839 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.008063, allocations: 47.36 kB / 0.884 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.008175, allocations: 0.4962 MB / 0.8845 GB, free: 32 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.008232, allocations: 31.97 kB / 0.8845 GB, free: 0 / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.00832, allocations: 72 kB / 0.8846 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.008449, allocations: 103 kB / 0.8847 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.008453, allocations: 7.938 kB / 0.8847 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001951/0.008648, allocations: 149.5 kB / 0.8848 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.008663, allocations: 8 kB / 0.8848 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008668, allocations: 4 kB / 0.8848 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.008683, allocations: 0 / 0.8848 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.008809, allocations: 39.91 kB / 0.8849 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008814, allocations: 4 kB / 0.8849 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.008878, allocations: 27.81 kB / 0.8849 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.008889, allocations: 4 kB / 0.8849 GB, free: 15.56 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: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001049/0.008994, allocations: 176.5 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.00902, allocations: 19.91 kB / 0.8851 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.009055, allocations: 21.8 kB / 0.8851 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.00906, allocations: 8 kB / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.009064, allocations: 0 / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.009069, allocations: 0 / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.009227, allocations: 196.5 kB / 0.8853 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.00923, allocations: 3.938 kB / 0.8853 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.009342, allocations: 35.92 kB / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009344, allocations: 0 / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.009358, allocations: 4 kB / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.009361, allocations: 7.984 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009363, allocations: 0 / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.00964, allocations: 210.4 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.009661, allocations: 19.8 kB / 0.8856 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.009682, allocations: 8 kB / 0.8856 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.009738, allocations: 15.98 kB / 0.8856 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.009798, allocations: 15.97 kB / 0.8856 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.00981, allocations: 7.984 kB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.552e-05/0.009886, allocations: 172.2 kB / 0.8858 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009886, allocations: 3.938 kB / 0.8858 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001684/0.01005, allocations: 47.89 kB / 0.8858 GB, free: 14.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001007/0.01015, allocations: 107.3 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01034, allocations: 94.12 kB / 0.886 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01034, allocations: 4 kB / 0.886 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.01042, allocations: 55.59 kB / 0.8861 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.01067, allocations: 55.36 kB / 0.8861 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.01154, allocations: 398.8 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.01158, allocations: 76.22 kB / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.01166, allocations: 25.41 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.01171, allocations: 24.48 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of SimCode: time 1.133e-06/0.01171, allocations: 0 / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.004159/0.01587, allocations: 2.405 MB / 0.889 GB, free: 11.32 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.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.386755808023736]