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.001381/0.001381, allocations: 104.3 kB / 19.7 MB, free: 2 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.001695/0.001695, allocations: 212.6 kB / 22.99 MB, free: 4.426 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002136/0.002136, allocations: 68.89 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4051, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2512/0.6563, allocations: 218.1 MB / 1.54 GB, free: 6.145 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06677/0.723, allocations: 40.55 MB / 1.58 GB, free: 13.5 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/0.7338, allocations: 333.1 kB / 1.58 GB, free: 13.17 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.7447, allocations: 3.134 MB / 1.583 GB, free: 10.02 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02667/0.7714, allocations: 8.313 MB / 1.591 GB, free: 1.676 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01686/0.7883, allocations: 5.835 MB / 1.597 GB, free: 11.89 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.015/1.803, allocations: 26.91 MB / 1.623 GB, free: 64.41 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01815/1.822, allocations: 7.538 MB / 1.631 GB, free: 63.97 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02941/1.851, allocations: 10.44 MB / 1.641 GB, free: 63.77 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01724/1.868, allocations: 7.009 MB / 1.648 GB, free: 62.62 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005212/1.873, allocations: 1.047 MB / 1.649 GB, free: 62.62 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.889, allocations: 3.025 MB / 1.652 GB, free: 62.62 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006886/1.896, allocations: 2.697 MB / 1.654 GB, free: 62.2 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0144/1.91, allocations: 4.274 MB / 1.658 GB, free: 61.19 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03199/1.942, allocations: 18.47 MB / 1.676 GB, free: 59.31 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.942, allocations: 0 / 1.676 GB, free: 59.31 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.272e-06/1.942, allocations: 1.375 kB / 1.676 GB, free: 59.31 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006423/1.943, allocations: 0 / 1.676 GB, free: 59.31 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.04659/1.989, allocations: 10.5 MB / 1.687 GB, free: 55.29 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.989, allocations: 11.16 kB / 1.687 GB, free: 55.29 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/2.003, allocations: 1.467 MB / 1.688 GB, free: 54.73 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0278/2.031, allocations: 11.13 MB / 1.699 GB, free: 53.13 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006059/2.032, allocations: 0.5101 MB / 1.699 GB, free: 52.99 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/2.034, allocations: 0.5113 MB / 1.7 GB, free: 52.99 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/2.052, allocations: 8.214 MB / 1.708 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/2.052, allocations: 15.41 kB / 1.708 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006436/2.053, allocations: 201.4 kB / 1.708 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/2.053, allocations: 142.1 kB / 1.708 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/2.066, allocations: 6.355 MB / 1.715 GB, free: 51.29 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.05121/2.118, allocations: 23.78 MB / 1.738 GB, free: 36.29 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005795/2.123, allocations: 2.475 MB / 1.74 GB, free: 35.05 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/2.127, allocations: 1.741 MB / 1.742 GB, free: 34.18 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009889/2.128, allocations: 240.8 kB / 1.742 GB, free: 34.09 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004324/2.132, allocations: 2.738 MB / 1.745 GB, free: 31.97 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 5.49e-06/2.132, allocations: 7.656 kB / 1.745 GB, free: 31.97 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01253/2.145, allocations: 5.048 MB / 1.75 GB, free: 29.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/2.145, allocations: 75.69 kB / 1.75 GB, free: 29.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/2.164, allocations: 8.323 MB / 1.758 GB, free: 22.38 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/2.165, allocations: 89.69 kB / 1.758 GB, free: 22.29 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005142/2.17, allocations: 3.872 MB / 1.762 GB, free: 18.42 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/2.172, allocations: 0.7751 MB / 1.763 GB, free: 17.65 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/2.174, allocations: 0.7884 MB / 1.763 GB, free: 16.86 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/2.174, allocations: 301.1 kB / 1.764 GB, free: 16.56 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/2.177, allocations: 1.739 MB / 1.765 GB, free: 14.82 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/2.181, allocations: 5.188 MB / 1.77 GB, free: 8.57 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/2.187, allocations: 4.424 MB / 1.775 GB, free: 3.812 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/2.187, allocations: 12 kB / 1.775 GB, free: 3.801 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01111/2.198, allocations: 5.16 MB / 1.78 GB, free: 14.77 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/2.199, allocations: 22.03 kB / 1.78 GB, free: 14.75 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/2.199, allocations: 35.98 kB / 1.78 GB, free: 14.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.48e-05/2.199, allocations: 48 kB / 1.78 GB, free: 14.67 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/2.202, allocations: 0.8325 MB / 1.781 GB, free: 13.89 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.977e-05/2.202, allocations: 64.73 kB / 1.781 GB, free: 13.84 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007346/2.21, allocations: 0.565 MB / 1.781 GB, free: 13.27 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/2.21, allocations: 167.9 kB / 1.781 GB, free: 13.11 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.006906/2.217, allocations: 3.03 MB / 1.784 GB, free: 10.12 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003218/2.22, allocations: 0.687 MB / 1.785 GB, free: 9.426 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/2.232, allocations: 4.181 MB / 1.789 GB, free: 5.258 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/2.232, allocations: 20 kB / 1.789 GB, free: 5.238 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/2.232, allocations: 0 / 1.789 GB, free: 5.238 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007907/2.24, allocations: 3.335 MB / 1.792 GB, free: 1.859 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.02641/2.266, allocations: 9.59 MB / 1.802 GB, free: 8.281 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/2.266, allocations: 4 kB / 1.802 GB, free: 8.277 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/2.269, allocations: 0.5575 MB / 1.802 GB, free: 7.738 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.412e-05/2.269, allocations: 12 kB / 1.802 GB, free: 7.727 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/2.269, allocations: 75.94 kB / 1.802 GB, free: 7.652 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/2.269, allocations: 14.89 kB / 1.802 GB, free: 7.641 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.269, allocations: 4 kB / 1.802 GB, free: 7.637 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/2.284, allocations: 6.282 MB / 1.809 GB, free: 1.312 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005798/2.29, allocations: 1.326 MB / 1.81 GB, free: 15.99 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002524/2.293, allocations: 55.92 kB / 1.81 GB, free: 15.94 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006129/2.299, allocations: 287.2 kB / 1.81 GB, free: 15.66 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/2.299, allocations: 152.3 kB / 1.81 GB, free: 15.52 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004647/2.3, allocations: 123.8 kB / 1.81 GB, free: 15.39 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01497/2.315, allocations: 5.853 MB / 1.816 GB, free: 9.582 MB / 1.342 GB Notification: Performance of sort global known variables: time 6.52e-07/2.315, allocations: 0 / 1.816 GB, free: 9.582 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01146/2.326, allocations: 2.175 MB / 1.818 GB, free: 7.402 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.003034/2.329, allocations: 1.072 MB / 1.819 GB, free: 6.449 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.0099/2.339, allocations: 3.832 MB / 1.823 GB, free: 2.727 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/2.339, allocations: 0 / 1.823 GB, free: 2.727 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/2.343, allocations: 1.65 MB / 1.825 GB, free: 1.117 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02135/2.364, allocations: 3.747 MB / 1.828 GB, free: 13.55 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/2.405, allocations: 15.98 MB / 1.844 GB, free: 13.66 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009125/2.414, allocations: 5.024 MB / 1.849 GB, free: 8.605 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.009661/2.424, allocations: 1.923 MB / 1.851 GB, free: 6.711 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002913/2.427, allocations: 0.5019 MB / 1.851 GB, free: 6.211 MB / 1.373 GB Notification: Performance of SimCode: time 1.292e-06/2.427, allocations: 0 / 1.851 GB, free: 6.211 MB / 1.373 GB Notification: Performance of Templates: time 0.2813/2.708, allocations: 152.9 MB / 2 GB, free: 15.81 MB / 1.529 GB " [Timeout remaining time 297] 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 cvode -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: 15.748041412996827]