Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009391/0.0009391, allocations: 67.75 kB / 20.97 MB, free: 3.582 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.000958/0.000958, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9803/0.9803, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.856/1.856, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.358e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001684/0.001707, allocations: 1.113 MB / 0.8126 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002825, allocations: 1.098 MB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.875e-05/0.002923, allocations: 4.562 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.002967, allocations: 23.67 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.003098, allocations: 44.75 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.003385, allocations: 101.8 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.003602, allocations: 251.2 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.003739, allocations: 71.8 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.003959, allocations: 143.7 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.734e-05/0.004046, allocations: 80.86 kB / 0.8144 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.004076, allocations: 24 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/0.004122, allocations: 28 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.004159, allocations: 61.12 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.004216, allocations: 71.81 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.004431, allocations: 179.2 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004433, allocations: 1.469 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004433, allocations: 0 / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004437, allocations: 0 / 0.8147 GB, free: 14.8 MB / 0.7761 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.0006023/0.00504, allocations: 0.5516 MB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.005075, allocations: 12.56 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.005237, allocations: 58.72 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.005466, allocations: 188.1 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.005547, allocations: 123.4 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.005576, allocations: 16.38 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.005794, allocations: 157.5 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.005805, allocations: 192 / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.00582, allocations: 8.375 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.00583, allocations: 7.938 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.005948, allocations: 67.84 kB / 0.8159 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.006506, allocations: 496.9 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.006706, allocations: 95.75 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.006767, allocations: 37.48 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.00679, allocations: 7.984 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.006931, allocations: 111.1 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.006933, allocations: 0.5312 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002882/0.007221, allocations: 158.8 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.007256, allocations: 59.39 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.007385, allocations: 226.9 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.007404, allocations: 33.7 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.007473, allocations: 188.1 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.007515, allocations: 59.48 kB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.007569, allocations: 52.14 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.007679, allocations: 0.4923 MB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.007736, allocations: 33.09 kB / 0.8178 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.007807, allocations: 63.03 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.007931, allocations: 103 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.007936, allocations: 8.781 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001886/0.008125, allocations: 157.4 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.008139, allocations: 9.438 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.008143, allocations: 0 / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.008157, allocations: 0 / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.008277, allocations: 43.91 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.008282, allocations: 5.094 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.008343, allocations: 19.88 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.008354, allocations: 9.969 kB / 0.8182 GB, free: 10.96 MB / 0.7761 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 9.158e-05/0.008446, allocations: 174.8 kB / 0.8184 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.008469, allocations: 19.91 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.008504, allocations: 29.78 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.008508, allocations: 6.375 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.008512, allocations: 0 / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008516, allocations: 0 / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.008662, allocations: 192.5 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008663, allocations: 3.938 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.008769, allocations: 35.98 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.008771, allocations: 0.9688 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.008785, allocations: 3.938 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008787, allocations: 4 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.008789, allocations: 5.578 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.009059, allocations: 214.5 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.009077, allocations: 15.84 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.009097, allocations: 4 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.009148, allocations: 16.58 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.009212, allocations: 21.31 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.009222, allocations: 7.984 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.009291, allocations: 159.2 kB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009292, allocations: 0.6875 kB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001681/0.00946, allocations: 47.89 kB / 0.8191 GB, free: 9.965 MB / 0.7761 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 8.682e-05/0.009546, allocations: 104.5 kB / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.009731, allocations: 115.6 kB / 0.8194 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.009732, allocations: 3.25 kB / 0.8194 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.009809, allocations: 56.8 kB / 0.8194 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01003, allocations: 48.06 kB / 0.8195 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.01083, allocations: 397 kB / 0.8198 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.01087, allocations: 76.22 kB / 0.8199 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.01094, allocations: 20.11 kB / 0.8199 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.011, allocations: 24.48 kB / 0.82 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.011, allocations: 1.125 kB / 0.82 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of Templates: time 0.004041/0.01504, allocations: 2.402 MB / 0.8223 GB, free: 6.742 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.296040493994951]