Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001186/0.001186, allocations: 169 kB / 24.28 MB, free: 276 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.9689/0.9689, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.003e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.1744/0.1744, allocations: 248 MB / 1.029 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.5128/0.6872, allocations: 45.22 MB / 1.073 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007422/0.6946, allocations: 328.7 kB / 1.074 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.006392/0.701, allocations: 3.186 MB / 1.077 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.7175, allocations: 8.578 MB / 1.085 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.7281, allocations: 6 MB / 1.091 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.03083/0.759, allocations: 27.48 MB / 1.118 GB, free: 98.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.7696, allocations: 7.926 MB / 1.126 GB, free: 93.6 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.024/0.7936, allocations: 13.93 MB / 1.139 GB, free: 87.48 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.8048, allocations: 6.965 MB / 1.146 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002782/0.8075, allocations: 1.068 MB / 1.147 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/0.8141, allocations: 3.067 MB / 1.15 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.8159, allocations: 2.835 MB / 1.153 GB, free: 83.06 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004696/0.8206, allocations: 3.704 MB / 1.157 GB, free: 81.44 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.8327, allocations: 10.23 MB / 1.167 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8327, allocations: 0 / 1.167 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8327, allocations: 0 / 1.167 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003701/0.8331, allocations: 0 / 1.167 GB, free: 77.45 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.01344/0.8465, allocations: 11.17 MB / 1.177 GB, free: 71.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8465, allocations: 9.188 kB / 1.177 GB, free: 71.07 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.8504, allocations: 1.829 MB / 1.179 GB, free: 70.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.8618, allocations: 10.82 MB / 1.19 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.8621, allocations: 0.5066 MB / 1.19 GB, free: 64.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/0.8627, allocations: 0.5408 MB / 1.191 GB, free: 64.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00634/0.8691, allocations: 5.021 MB / 1.196 GB, free: 61.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.8691, allocations: 10.53 kB / 1.196 GB, free: 61.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.8695, allocations: 213.3 kB / 1.196 GB, free: 61.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.8696, allocations: 201.9 kB / 1.196 GB, free: 61.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/0.8734, allocations: 1.97 MB / 1.198 GB, free: 61.39 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02261/0.896, allocations: 24.08 MB / 1.222 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.8978, allocations: 1.026 MB / 1.223 GB, free: 43.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.8988, allocations: 0.7201 MB / 1.223 GB, free: 42.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.8993, allocations: 247.1 kB / 1.224 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.9006, allocations: 1.742 MB / 1.225 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=220): time 4.428e-06/0.9007, allocations: 0 / 1.225 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=220): time 0.004033/0.9047, allocations: 2.405 MB / 1.228 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.9047, allocations: 77.41 kB / 1.228 GB, free: 37.69 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/0.9106, allocations: 6.593 MB / 1.234 GB, free: 31.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.9108, allocations: 89.7 kB / 1.234 GB, free: 31 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/0.9131, allocations: 4.311 MB / 1.238 GB, free: 26.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.9138, allocations: 0.8341 MB / 1.239 GB, free: 25.87 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007257/0.9145, allocations: 0.8466 MB / 1.24 GB, free: 25.01 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.9145, allocations: 476.8 kB / 1.24 GB, free: 24.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.9154, allocations: 494.1 kB / 1.241 GB, free: 24.05 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.917, allocations: 4.401 MB / 1.245 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.9192, allocations: 2.6 MB / 1.248 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.9192, allocations: 12 kB / 1.248 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.003989/0.9232, allocations: 2.951 MB / 1.251 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9232, allocations: 23.94 kB / 1.251 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.9233, allocations: 32 kB / 1.251 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/0.9233, allocations: 48 kB / 1.251 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9249, allocations: 0.8135 MB / 1.252 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-05/0.925, allocations: 74.3 kB / 1.252 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.9278, allocations: 474.4 kB / 1.252 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.928, allocations: 156 kB / 1.252 GB, free: 10.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (412): * Single equations (assignments): 412 * 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.001421/0.9294, allocations: 396.5 kB / 1.253 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/0.9302, allocations: 0.7766 MB / 1.253 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.9329, allocations: 2.21 MB / 1.256 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.9329, allocations: 31.98 kB / 1.256 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9329, allocations: 4 kB / 1.256 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001804/0.9347, allocations: 1.45 MB / 1.257 GB, free: 6.043 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.944, allocations: 8.224 MB / 1.265 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.944, allocations: 4.25 kB / 1.265 GB, free: 13.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.9452, allocations: 0.504 MB / 1.265 GB, free: 13.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.9452, allocations: 8 kB / 1.266 GB, free: 13.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.9454, allocations: 79.94 kB / 1.266 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.9454, allocations: 22.36 kB / 1.266 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9454, allocations: 0 / 1.266 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.9495, allocations: 3.003 MB / 1.269 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/0.9512, allocations: 1.295 MB / 1.27 GB, free: 8.863 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/0.9518, allocations: 63.97 kB / 1.27 GB, free: 8.801 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.9534, allocations: 186.5 kB / 1.27 GB, free: 8.621 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.9536, allocations: 153.1 kB / 1.27 GB, free: 8.477 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.9538, allocations: 119.9 kB / 1.27 GB, free: 8.359 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004232/0.958, allocations: 3.492 MB / 1.274 GB, free: 4.879 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.2e-07/0.958, allocations: 0 / 1.274 GB, free: 4.879 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004696/0.9627, allocations: 2.194 MB / 1.276 GB, free: 2.68 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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.001636/0.9644, allocations: 1.122 MB / 1.277 GB, free: 1.676 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.9673, allocations: 1.817 MB / 1.279 GB, free: 15.96 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9673, allocations: 4 kB / 1.279 GB, free: 15.96 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.9684, allocations: 0.7975 MB / 1.28 GB, free: 15.21 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008535/0.9769, allocations: 3.835 MB / 1.283 GB, free: 11.51 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.9938, allocations: 12.85 MB / 1.296 GB, free: 14.58 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.9955, allocations: 2.209 MB / 1.298 GB, free: 12.35 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.005074/1.001, allocations: 1.723 MB / 1.3 GB, free: 10.66 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.002, allocations: 0.4952 MB / 1.3 GB, free: 10.16 MB / 1.042 GB Notification: Performance of SimCode: time 2.896e-06/1.002, allocations: 0 / 1.3 GB, free: 10.16 MB / 1.042 GB Notification: Performance of Templates: time 0.1466/1.148, allocations: 138.5 MB / 1.435 GB, free: 2.309 MB / 1.167 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.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: 8.193365784129128]