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.00178/0.00178, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002049/0.002049, allocations: 213.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|y1.y.2.|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.1.|y1.y.2.|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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.69 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.243/0.5537, allocations: 218.1 MB / 1.54 GB, free: 6.188 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06234/0.6161, allocations: 40.55 MB / 1.58 GB, free: 13.54 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008566/0.6246, allocations: 337.1 kB / 1.58 GB, free: 13.21 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009858/0.6345, allocations: 3.138 MB / 1.583 GB, free: 10.05 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02628/0.6608, allocations: 8.313 MB / 1.591 GB, free: 1.711 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.015/0.6758, allocations: 5.826 MB / 1.597 GB, free: 11.93 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.7501/1.426, allocations: 26.91 MB / 1.623 GB, free: 64.39 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/1.441, allocations: 7.539 MB / 1.631 GB, free: 63.95 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02413/1.465, allocations: 10.44 MB / 1.641 GB, free: 63.75 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01382/1.479, allocations: 7.012 MB / 1.648 GB, free: 62.6 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003739/1.482, allocations: 1.048 MB / 1.649 GB, free: 62.6 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/1.494, allocations: 3.021 MB / 1.652 GB, free: 62.6 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005197/1.499, allocations: 2.702 MB / 1.654 GB, free: 62.18 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01184/1.511, allocations: 4.271 MB / 1.658 GB, free: 61.17 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02376/1.535, allocations: 18.47 MB / 1.676 GB, free: 59.3 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.535, allocations: 1.125 kB / 1.676 GB, free: 59.3 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.355e-06/1.535, allocations: 3.75 kB / 1.676 GB, free: 59.3 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000534/1.535, allocations: 0 / 1.676 GB, free: 59.3 MB / 1.295 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.02818/1.563, allocations: 10.5 MB / 1.687 GB, free: 55.27 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.563, allocations: 11.44 kB / 1.687 GB, free: 55.27 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008998/1.572, allocations: 1.455 MB / 1.688 GB, free: 54.75 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02243/1.595, allocations: 11.13 MB / 1.699 GB, free: 53.16 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/1.595, allocations: 0.5135 MB / 1.699 GB, free: 53.02 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/1.597, allocations: 0.5172 MB / 1.7 GB, free: 53.01 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.613, allocations: 8.214 MB / 1.708 GB, free: 51.38 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/1.613, allocations: 10.27 kB / 1.708 GB, free: 51.38 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006123/1.614, allocations: 203.9 kB / 1.708 GB, free: 51.38 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.614, allocations: 143.5 kB / 1.708 GB, free: 51.38 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.627, allocations: 6.352 MB / 1.715 GB, free: 51.31 MB / 1.295 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.04593/1.672, allocations: 23.78 MB / 1.738 GB, free: 36.37 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/1.678, allocations: 2.479 MB / 1.74 GB, free: 35.12 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.682, allocations: 1.745 MB / 1.742 GB, free: 34.25 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.683, allocations: 236.5 kB / 1.742 GB, free: 34.16 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004245/1.687, allocations: 2.741 MB / 1.745 GB, free: 32.04 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 6.111e-06/1.687, allocations: 0 / 1.745 GB, free: 32.04 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.0122/1.699, allocations: 5.053 MB / 1.75 GB, free: 29.54 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/1.699, allocations: 73.66 kB / 1.75 GB, free: 29.47 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01591/1.715, allocations: 8.324 MB / 1.758 GB, free: 22.53 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009183/1.716, allocations: 93.69 kB / 1.758 GB, free: 22.43 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004527/1.72, allocations: 3.867 MB / 1.762 GB, free: 18.56 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.722, allocations: 0.7773 MB / 1.763 GB, free: 17.79 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/1.723, allocations: 0.7806 MB / 1.763 GB, free: 17 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/1.723, allocations: 301.1 kB / 1.764 GB, free: 16.71 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.726, allocations: 1.739 MB / 1.765 GB, free: 14.96 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/1.73, allocations: 5.189 MB / 1.77 GB, free: 8.719 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006575/1.737, allocations: 4.424 MB / 1.775 GB, free: 3.961 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/1.737, allocations: 8 kB / 1.775 GB, free: 3.953 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01164/1.749, allocations: 5.164 MB / 1.78 GB, free: 14.92 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/1.749, allocations: 20.2 kB / 1.78 GB, free: 14.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-05/1.749, allocations: 36 kB / 1.78 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.416e-05/1.749, allocations: 48 kB / 1.78 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/1.753, allocations: 0.8239 MB / 1.781 GB, free: 14.04 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.144e-05/1.753, allocations: 69.19 kB / 1.781 GB, free: 13.99 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/1.76, allocations: 0.576 MB / 1.781 GB, free: 13.42 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.761, allocations: 156 kB / 1.781 GB, free: 13.27 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * 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 (402): * Single equations (assignments): 402 * 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.01305/1.774, allocations: 3.041 MB / 1.784 GB, free: 10.26 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005572/1.78, allocations: 0.6831 MB / 1.785 GB, free: 9.574 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.791, allocations: 4.179 MB / 1.789 GB, free: 5.41 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/1.791, allocations: 27.94 kB / 1.789 GB, free: 5.383 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.791, allocations: 7.984 kB / 1.789 GB, free: 5.375 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007221/1.799, allocations: 3.328 MB / 1.792 GB, free: 2.004 MB / 1.311 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.02693/1.826, allocations: 9.589 MB / 1.802 GB, free: 8.426 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.826, allocations: 4 kB / 1.802 GB, free: 8.422 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.829, allocations: 0.5617 MB / 1.802 GB, free: 7.879 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/1.829, allocations: 8 kB / 1.802 GB, free: 7.871 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/1.829, allocations: 75.94 kB / 1.802 GB, free: 7.797 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/1.829, allocations: 18.75 kB / 1.802 GB, free: 7.785 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.829, allocations: 0 / 1.802 GB, free: 7.785 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.843, allocations: 6.278 MB / 1.809 GB, free: 1.465 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00532/1.848, allocations: 1.319 MB / 1.81 GB, free: 152 kB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/1.851, allocations: 55.98 kB / 1.81 GB, free: 96 kB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00557/1.856, allocations: 287.5 kB / 1.81 GB, free: 15.81 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/1.857, allocations: 148.1 kB / 1.81 GB, free: 15.67 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004057/1.857, allocations: 119.8 kB / 1.81 GB, free: 15.55 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01404/1.871, allocations: 5.853 MB / 1.816 GB, free: 9.742 MB / 1.342 GB Notification: Performance of sort global known variables: time 8.32e-07/1.871, allocations: 0 / 1.816 GB, free: 9.742 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.009618/1.881, allocations: 2.175 MB / 1.818 GB, free: 7.562 MB / 1.342 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.00278/1.883, allocations: 1.081 MB / 1.819 GB, free: 6.602 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.009377/1.893, allocations: 3.837 MB / 1.823 GB, free: 2.883 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.893, allocations: 4 kB / 1.823 GB, free: 2.879 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/1.897, allocations: 1.657 MB / 1.825 GB, free: 1.262 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0218/1.919, allocations: 3.737 MB / 1.828 GB, free: 13.7 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03795/1.957, allocations: 15.99 MB / 1.844 GB, free: 13.8 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009416/1.966, allocations: 5.018 MB / 1.849 GB, free: 8.758 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.009236/1.975, allocations: 1.928 MB / 1.851 GB, free: 6.859 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.978, allocations: 0.4948 MB / 1.851 GB, free: 6.367 MB / 1.373 GB Notification: Performance of SimCode: time 1.002e-06/1.978, allocations: 8 kB / 1.851 GB, free: 6.359 MB / 1.373 GB Notification: Performance of Templates: time 0.2576/2.235, allocations: 152.8 MB / 2 GB, free: 15.96 MB / 1.529 GB " [Timeout remaining time 298] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.490472891993704]