Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002117/0.002117, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002683/0.002683, allocations: 216.3 kB / 22.25 MB, free: 5.117 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.5096 GB / 0.8147 GB, free: 17.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002092/0.002092, allocations: 69.36 kB / 1.184 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 181.4 MB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2824/0.6709, allocations: 241.5 MB / 1.597 GB, free: 13.99 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.925/1.596, allocations: 43.59 MB / 1.64 GB, free: 59.75 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/1.609, allocations: 329.5 kB / 1.64 GB, free: 59.75 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/1.621, allocations: 3.308 MB / 1.643 GB, free: 59.7 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02821/1.649, allocations: 8.295 MB / 1.652 GB, free: 59.42 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01751/1.666, allocations: 5.899 MB / 1.657 GB, free: 59.24 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04519/1.712, allocations: 26.95 MB / 1.684 GB, free: 57.71 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/1.727, allocations: 7.51 MB / 1.691 GB, free: 54.05 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02456/1.752, allocations: 10.36 MB / 1.701 GB, free: 49.53 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/1.766, allocations: 7.025 MB / 1.708 GB, free: 46.84 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003988/1.77, allocations: 1.048 MB / 1.709 GB, free: 46.84 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/1.784, allocations: 3.674 MB / 1.713 GB, free: 45.86 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005378/1.79, allocations: 2.695 MB / 1.715 GB, free: 44.2 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01579/1.805, allocations: 5.516 MB / 1.721 GB, free: 40.64 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02908/1.835, allocations: 18.49 MB / 1.739 GB, free: 30.06 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.835, allocations: 0 / 1.739 GB, free: 30.06 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.723e-06/1.835, allocations: 0 / 1.739 GB, free: 30.06 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000747/1.835, allocations: 0 / 1.739 GB, free: 30.06 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.02919/1.864, allocations: 10.51 MB / 1.749 GB, free: 22.94 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.865, allocations: 14.77 kB / 1.749 GB, free: 22.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009473/1.874, allocations: 1.487 MB / 1.75 GB, free: 22.22 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/1.897, allocations: 11.08 MB / 1.761 GB, free: 11.84 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/1.897, allocations: 0.5077 MB / 1.762 GB, free: 11.3 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/1.899, allocations: 0.5143 MB / 1.762 GB, free: 10.79 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/1.914, allocations: 7.361 MB / 1.769 GB, free: 3.262 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/1.914, allocations: 15.86 kB / 1.769 GB, free: 3.246 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006112/1.914, allocations: 206.7 kB / 1.77 GB, free: 3.047 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.209e-05/1.915, allocations: 136 kB / 1.77 GB, free: 2.914 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/1.93, allocations: 6.387 MB / 1.776 GB, free: 12.51 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 preOpt removeSimpleEquations (simulation): time 0.06224/1.992, allocations: 34.47 MB / 1.81 GB, free: 8.16 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/1.998, allocations: 2.478 MB / 1.812 GB, free: 5.684 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004033/2.002, allocations: 1.761 MB / 1.814 GB, free: 3.926 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/2.003, allocations: 252.3 kB / 1.814 GB, free: 3.691 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/2.008, allocations: 1.897 MB / 1.816 GB, free: 1.785 MB / 1.342 GB Notification: Performance of pre-optimization done (n=212): time 4.579e-06/2.008, allocations: 0 / 1.816 GB, free: 1.785 MB / 1.342 GB Notification: Performance of matching and sorting (n=212): time 0.01457/2.022, allocations: 5.162 MB / 1.821 GB, free: 12.62 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/2.022, allocations: 81.34 kB / 1.821 GB, free: 12.52 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02131/2.044, allocations: 9.223 MB / 1.83 GB, free: 3.32 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/2.045, allocations: 85.7 kB / 1.83 GB, free: 3.23 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.005718/2.05, allocations: 3.828 MB / 1.834 GB, free: 15.4 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/2.052, allocations: 0.7745 MB / 1.835 GB, free: 14.64 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/2.053, allocations: 0.7806 MB / 1.835 GB, free: 13.85 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001456/2.054, allocations: 301.1 kB / 1.836 GB, free: 13.55 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/2.057, allocations: 1.747 MB / 1.837 GB, free: 11.8 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006467/2.064, allocations: 3.364 MB / 1.841 GB, free: 7.812 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/2.074, allocations: 4.436 MB / 1.845 GB, free: 2.926 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/2.074, allocations: 8 kB / 1.845 GB, free: 2.918 MB / 1.373 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01448/2.088, allocations: 5.271 MB / 1.85 GB, free: 13.6 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/2.088, allocations: 20 kB / 1.85 GB, free: 13.58 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-05/2.088, allocations: 39.97 kB / 1.85 GB, free: 13.54 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.392e-05/2.089, allocations: 44 kB / 1.85 GB, free: 13.5 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/2.092, allocations: 0.8311 MB / 1.851 GB, free: 12.66 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-05/2.092, allocations: 63.78 kB / 1.851 GB, free: 12.6 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/2.1, allocations: 0.6691 MB / 1.852 GB, free: 11.93 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008608/2.101, allocations: 156 kB / 1.852 GB, free: 11.78 MB / 1.389 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.008035/2.109, allocations: 3.042 MB / 1.855 GB, free: 8.723 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004083/2.113, allocations: 0.7646 MB / 1.856 GB, free: 7.953 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/2.126, allocations: 4.251 MB / 1.86 GB, free: 3.703 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/2.126, allocations: 31.98 kB / 1.86 GB, free: 3.672 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/2.126, allocations: 0 / 1.86 GB, free: 3.672 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007754/2.134, allocations: 3.359 MB / 1.863 GB, free: 268 kB / 1.389 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.03479/2.169, allocations: 11.4 MB / 1.874 GB, free: 4.781 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/2.169, allocations: 0 / 1.874 GB, free: 4.781 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/2.172, allocations: 0.562 MB / 1.875 GB, free: 4.219 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.903e-05/2.172, allocations: 12 kB / 1.875 GB, free: 4.207 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/2.172, allocations: 79.94 kB / 1.875 GB, free: 4.129 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.536e-05/2.172, allocations: 12 kB / 1.875 GB, free: 4.117 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/2.172, allocations: 7.938 kB / 1.875 GB, free: 4.109 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/2.189, allocations: 6.386 MB / 1.881 GB, free: 13.68 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005528/2.195, allocations: 1.414 MB / 1.882 GB, free: 12.27 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002644/2.197, allocations: 48 kB / 1.882 GB, free: 12.22 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005679/2.203, allocations: 291.5 kB / 1.883 GB, free: 11.94 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/2.203, allocations: 153.6 kB / 1.883 GB, free: 11.79 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005031/2.204, allocations: 111.9 kB / 1.883 GB, free: 11.68 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01581/2.22, allocations: 6.56 MB / 1.889 GB, free: 5.141 MB / 1.42 GB Notification: Performance of sort global known variables: time 2.4e-07/2.22, allocations: 0 / 1.889 GB, free: 5.141 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.01027/2.23, allocations: 2.101 MB / 1.891 GB, free: 3.035 MB / 1.42 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.003146/2.233, allocations: 1.07 MB / 1.892 GB, free: 2.055 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.01057/2.244, allocations: 3.855 MB / 1.896 GB, free: 14.2 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/2.244, allocations: 4 kB / 1.896 GB, free: 14.2 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.004656/2.248, allocations: 1.656 MB / 1.898 GB, free: 12.54 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02678/2.275, allocations: 4.596 MB / 1.902 GB, free: 8.098 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/2.314, allocations: 16.22 MB / 1.918 GB, free: 7.961 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/2.325, allocations: 5.474 MB / 1.924 GB, free: 2.461 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.01123/2.336, allocations: 2.089 MB / 1.926 GB, free: 412 kB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/2.339, allocations: 0.5306 MB / 1.926 GB, free: 15.87 MB / 1.467 GB Notification: Performance of SimCode: time 1.293e-06/2.339, allocations: 0 / 1.926 GB, free: 15.87 MB / 1.467 GB Notification: Performance of Templates: time 0.3169/2.656, allocations: 159.3 MB / 2.082 GB, free: 2.277 MB / 1.607 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.274000790901482]