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.001018/0.001018, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009276/0.0009276, allocations: 167.7 kB / 24.87 MB, free: 9.223 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.8973/0.8973, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.809/1.809, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.833e-06/1.833e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.163e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03108/0.0311, allocations: 49.02 MB / 0.8607 GB, free: 296 kB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.05775, allocations: 19.05 MB / 0.8793 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007726/0.06547, allocations: 329.2 kB / 0.8796 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.06991, allocations: 1.699 MB / 0.8812 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.08302, allocations: 5.883 MB / 0.887 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00985/0.09287, allocations: 5.202 MB / 0.8921 GB, free: 84 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02584/0.1187, allocations: 26.5 MB / 0.9179 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.1294, allocations: 7.845 MB / 0.9256 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02841/0.1578, allocations: 12.65 MB / 0.938 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.1681, allocations: 6.596 MB / 0.9444 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.17, allocations: 1.012 MB / 0.9454 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.1738, allocations: 1.589 MB / 0.9469 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.1758, allocations: 2.659 MB / 0.9495 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.1812, allocations: 3.59 MB / 0.953 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009639/0.1908, allocations: 8.977 MB / 0.9618 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1908, allocations: 0 / 0.9618 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1908, allocations: 0 / 0.9618 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001814/0.191, allocations: 4 kB / 0.9618 GB, free: 8.469 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.01081/0.2018, allocations: 10.36 MB / 0.9719 GB, free: 14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2019, allocations: 8.031 kB / 0.9719 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.2054, allocations: 1.797 MB / 0.9737 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009865/0.2153, allocations: 9.658 MB / 0.9831 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.2156, allocations: 0.517 MB / 0.9836 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000601/0.2162, allocations: 0.5234 MB / 0.9841 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.2214, allocations: 4.705 MB / 0.9887 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.2215, allocations: 15.83 kB / 0.9887 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.2218, allocations: 200 kB / 0.9889 GB, free: 12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.563e-05/0.2219, allocations: 139.9 kB / 0.9891 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.2245, allocations: 1.551 MB / 0.9906 GB, free: 10.29 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.02606/0.2505, allocations: 23.86 MB / 1.014 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2521, allocations: 0.8941 MB / 1.015 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.2532, allocations: 0.5891 MB / 1.015 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.2536, allocations: 149.9 kB / 1.015 GB, free: 328 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.2551, allocations: 1.651 MB / 1.017 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=212): time 4.469e-06/0.2551, allocations: 0 / 1.017 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.003702/0.2588, allocations: 2.096 MB / 1.019 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2589, allocations: 77.41 kB / 1.019 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007451/0.2663, allocations: 6.357 MB / 1.025 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.2665, allocations: 85.7 kB / 1.025 GB, free: 5.797 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003839/0.2704, allocations: 4.323 MB / 1.03 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000675/0.271, allocations: 0.7942 MB / 1.03 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.2721, allocations: 0.842 MB / 1.031 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2722, allocations: 476.8 kB / 1.032 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.273, allocations: 369.9 kB / 1.032 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.2755, allocations: 4.144 MB / 1.036 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.2781, allocations: 2.393 MB / 1.039 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.2781, allocations: 8 kB / 1.039 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004012/0.2821, allocations: 2.661 MB / 1.041 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.2821, allocations: 20 kB / 1.041 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.2822, allocations: 28 kB / 1.041 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/0.2822, allocations: 52.09 kB / 1.041 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/0.2873, allocations: 0.7533 MB / 1.042 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.582e-05/0.2873, allocations: 71.72 kB / 1.042 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/0.2899, allocations: 441.9 kB / 1.042 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.29, allocations: 132 kB / 1.043 GB, free: 2.309 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 (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.001011/0.2911, allocations: 384.1 kB / 1.043 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.2918, allocations: 0.7611 MB / 1.044 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.2943, allocations: 1.982 MB / 1.046 GB, free: 15.17 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.2943, allocations: 27.98 kB / 1.046 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2943, allocations: 0 / 1.046 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/0.2957, allocations: 1.247 MB / 1.047 GB, free: 13.85 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.007944/0.3037, allocations: 6.321 MB / 1.053 GB, free: 7.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3037, allocations: 0 / 1.053 GB, free: 7.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.3049, allocations: 483.6 kB / 1.053 GB, free: 6.973 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.3049, allocations: 8 kB / 1.053 GB, free: 6.965 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.305, allocations: 79.88 kB / 1.054 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.305, allocations: 12 kB / 1.054 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.305, allocations: 7.938 kB / 1.054 GB, free: 6.867 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.3081, allocations: 2.66 MB / 1.056 GB, free: 4.152 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.3095, allocations: 1.221 MB / 1.057 GB, free: 2.926 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.31, allocations: 59.92 kB / 1.057 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.3114, allocations: 139.9 kB / 1.058 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.3115, allocations: 141.7 kB / 1.058 GB, free: 2.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.3117, allocations: 99.89 kB / 1.058 GB, free: 2.492 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.6984/1.01, allocations: 3.126 MB / 1.061 GB, free: 207.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.6e-07/1.01, allocations: 0 / 1.061 GB, free: 207.4 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.005284/1.015, allocations: 1.93 MB / 1.063 GB, free: 207.4 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.0007953/1.016, allocations: 420.8 kB / 1.063 GB, free: 207.3 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.019, allocations: 1.579 MB / 1.065 GB, free: 207.2 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.019, allocations: 0 / 1.065 GB, free: 207.2 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/1.02, allocations: 0.6884 MB / 1.065 GB, free: 207.2 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009784/1.029, allocations: 3.869 MB / 1.069 GB, free: 206.8 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.044, allocations: 12.49 MB / 1.081 GB, free: 201.6 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.045, allocations: 2.173 MB / 1.083 GB, free: 201.4 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.003429/1.049, allocations: 1.106 MB / 1.085 GB, free: 201.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005281/1.054, allocations: 2.589 MB / 1.087 GB, free: 201 MB / 1.011 GB Notification: Performance of SimCode: time 1.894e-06/1.054, allocations: 1.375 kB / 1.087 GB, free: 201 MB / 1.011 GB Notification: Performance of Templates: time 0.1351/1.189, allocations: 140.3 MB / 1.224 GB, free: 109.1 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.946208404842764]