Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001414/0.001414, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00156/0.00156, allocations: 161 kB / 23.82 MB, free: 0.75 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.9445/0.9445, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.872/1.872, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.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_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.586e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03291/0.03293, allocations: 50.11 MB / 0.8605 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02529/0.05822, allocations: 19.11 MB / 0.8791 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.06238, allocations: 329.1 kB / 0.8795 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.06494, allocations: 1.703 MB / 0.8811 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.07221, allocations: 5.848 MB / 0.8868 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006387/0.0786, allocations: 5.202 MB / 0.8919 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01974/0.09834, allocations: 26.51 MB / 0.9178 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.1084, allocations: 7.837 MB / 0.9255 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.016/0.1244, allocations: 12.05 MB / 0.9372 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008268/0.1326, allocations: 6.748 MB / 0.9438 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.1339, allocations: 1.047 MB / 0.9448 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.1367, allocations: 1.667 MB / 0.9465 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.1386, allocations: 2.783 MB / 0.9492 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.1423, allocations: 3.672 MB / 0.9528 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.008482/0.1508, allocations: 9.161 MB / 0.9617 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1508, allocations: 0 / 0.9617 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1508, allocations: 0 / 0.9617 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001117/0.1509, allocations: 0 / 0.9617 GB, free: 7.551 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.01128/0.1622, allocations: 10.81 MB / 0.9723 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1622, allocations: 8.031 kB / 0.9723 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.1654, allocations: 1.805 MB / 0.974 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.1759, allocations: 10.68 MB / 0.9845 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.1762, allocations: 0.5053 MB / 0.985 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/0.1768, allocations: 0.5273 MB / 0.9855 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/0.1827, allocations: 5.042 MB / 0.9904 GB, free: 9.488 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.448e-05/0.1828, allocations: 11.92 kB / 0.9904 GB, free: 9.477 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.1831, allocations: 208 kB / 0.9906 GB, free: 9.273 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003647/0.1834, allocations: 140 kB / 0.9907 GB, free: 9.137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.1871, allocations: 1.943 MB / 0.9926 GB, free: 7.176 MB / 0.948 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.02134/0.2085, allocations: 23.97 MB / 1.016 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.2101, allocations: 1.016 MB / 1.017 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.2111, allocations: 0.6946 MB / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/0.2115, allocations: 161.8 kB / 1.018 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.2131, allocations: 1.737 MB / 1.02 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=212): time 3.917e-06/0.2131, allocations: 0 / 1.02 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.003574/0.2167, allocations: 2.35 MB / 1.022 GB, free: 8.547 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2167, allocations: 85.34 kB / 1.022 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006484/0.2232, allocations: 6.494 MB / 1.028 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.2234, allocations: 89.7 kB / 1.028 GB, free: 1.855 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002764/0.2261, allocations: 4.258 MB / 1.033 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.2268, allocations: 0.7943 MB / 1.033 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/0.2276, allocations: 0.8267 MB / 1.034 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.2277, allocations: 476.8 kB / 1.035 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/0.2286, allocations: 485.9 kB / 1.035 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.2311, allocations: 4.38 MB / 1.039 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.2335, allocations: 2.558 MB / 1.042 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.2336, allocations: 8 kB / 1.042 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003744/0.2373, allocations: 2.908 MB / 1.045 GB, free: 15.13 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.2373, allocations: 24.25 kB / 1.045 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.2374, allocations: 28 kB / 1.045 GB, free: 15.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-05/0.2374, allocations: 48 kB / 1.045 GB, free: 15.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.2391, allocations: 0.78 MB / 1.046 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.176e-05/0.2392, allocations: 67.78 kB / 1.046 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.2415, allocations: 490.3 kB / 1.046 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.2417, allocations: 160 kB / 1.046 GB, free: 13.55 MB / 1.01 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 (400): * Single equations (assignments): 400 * 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.001045/0.2427, allocations: 388.7 kB / 1.047 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007691/0.2435, allocations: 0.7727 MB / 1.047 GB, free: 12.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.2464, allocations: 2.162 MB / 1.049 GB, free: 10.22 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.2464, allocations: 27.98 kB / 1.049 GB, free: 10.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2465, allocations: 0 / 1.049 GB, free: 10.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/0.2483, allocations: 1.427 MB / 1.051 GB, free: 8.723 MB / 1.01 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.00931/0.2576, allocations: 8.126 MB / 1.059 GB, free: 0.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.2576, allocations: 8 kB / 1.059 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6388/0.8964, allocations: 0.5121 MB / 1.059 GB, free: 206.4 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.545e-05/0.8965, allocations: 12.31 kB / 1.059 GB, free: 206.4 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/0.8969, allocations: 74.3 kB / 1.059 GB, free: 206.4 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.8969, allocations: 12 kB / 1.059 GB, free: 206.4 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8969, allocations: 3.375 kB / 1.059 GB, free: 206.4 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.9017, allocations: 2.946 MB / 1.062 GB, free: 206 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.9033, allocations: 1.267 MB / 1.064 GB, free: 206 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/0.9037, allocations: 57.14 kB / 1.064 GB, free: 206 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.9051, allocations: 207.2 kB / 1.064 GB, free: 206 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.9053, allocations: 143.3 kB / 1.064 GB, free: 206 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.9054, allocations: 118.3 kB / 1.064 GB, free: 206 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.003861/0.9093, allocations: 3.449 MB / 1.067 GB, free: 205.7 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9093, allocations: 0.9375 kB / 1.067 GB, free: 205.7 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.002992/0.9123, allocations: 1.935 MB / 1.069 GB, free: 205.7 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (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].actPos.y,chi.valEva.val[2].actPos.y,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].actPos.y,chi.valCon.val[2].actPos.y,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 (222): * Single equations (assignments): 209 * 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.0006553/0.9129, allocations: 427.4 kB / 1.07 GB, free: 205.6 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.9152, allocations: 1.783 MB / 1.071 GB, free: 205.6 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9152, allocations: 2.5 kB / 1.071 GB, free: 205.6 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.9161, allocations: 0.7802 MB / 1.072 GB, free: 205.5 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006822/0.9229, allocations: 3.862 MB / 1.076 GB, free: 205.1 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.9389, allocations: 12.58 MB / 1.088 GB, free: 199.9 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.9407, allocations: 2.178 MB / 1.09 GB, free: 199.7 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.004836/0.9456, allocations: 1.645 MB / 1.092 GB, free: 199.4 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9467, allocations: 0.4935 MB / 1.092 GB, free: 199.4 MB / 1.011 GB Notification: Performance of SimCode: time 2.004e-06/0.9467, allocations: 1.094 kB / 1.092 GB, free: 199.4 MB / 1.011 GB Notification: Performance of Templates: time 0.1247/1.071, allocations: 128 MB / 1.217 GB, free: 114.4 MB / 1.011 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.294792166445404]