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.001803/0.001803, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002082/0.002082, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.659/1.659, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.872/2.872, allocations: 0.49 GB / 0.7923 GB, free: 1.246 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.002045/0.002045, allocations: 71.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.253/1.278, allocations: 239.2 MB / 1.556 GB, free: 9.922 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06836/1.347, allocations: 43.42 MB / 1.598 GB, free: 14.39 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01177/1.358, allocations: 325.2 kB / 1.598 GB, free: 14.07 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01101/1.369, allocations: 3.305 MB / 1.602 GB, free: 10.75 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02414/1.393, allocations: 8.161 MB / 1.609 GB, free: 2.562 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01445/1.408, allocations: 5.754 MB / 1.615 GB, free: 12.86 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.03943/1.447, allocations: 26.46 MB / 1.641 GB, free: 2.324 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/1.464, allocations: 9.123 MB / 1.65 GB, free: 9.086 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02508/1.489, allocations: 10.29 MB / 1.66 GB, free: 14.79 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/1.502, allocations: 6.998 MB / 1.667 GB, free: 7.762 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.004044/1.506, allocations: 1.047 MB / 1.668 GB, free: 6.715 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.519, allocations: 3.617 MB / 1.671 GB, free: 3.094 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.00543/1.524, allocations: 2.702 MB / 1.674 GB, free: 392 kB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.01239/1.536, allocations: 5.508 MB / 1.679 GB, free: 10.85 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.03028/1.567, allocations: 18.48 MB / 1.697 GB, free: 8.32 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/1.567, allocations: 0 / 1.697 GB, free: 8.32 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.573e-06/1.567, allocations: 4 kB / 1.697 GB, free: 8.316 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0005279/1.567, allocations: 0 / 1.697 GB, free: 8.316 MB / 1.373 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.02876/1.596, allocations: 10.58 MB / 1.708 GB, free: 13.62 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.596, allocations: 11.98 kB / 1.708 GB, free: 13.61 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/1.605, allocations: 1.462 MB / 1.709 GB, free: 12.14 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.628, allocations: 11.05 MB / 1.72 GB, free: 1.023 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006162/1.628, allocations: 462 kB / 1.72 GB, free: 0.5547 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/1.63, allocations: 0.5193 MB / 1.721 GB, free: 36 kB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/1.649, allocations: 7.349 MB / 1.728 GB, free: 8.512 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/1.649, allocations: 11.89 kB / 1.728 GB, free: 8.5 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009935/1.65, allocations: 208 kB / 1.728 GB, free: 8.297 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.651, allocations: 140 kB / 1.728 GB, free: 8.16 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/1.666, allocations: 6.36 MB / 1.735 GB, free: 1.785 MB / 1.404 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.05983/1.726, allocations: 34.57 MB / 1.768 GB, free: 13.03 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006161/1.732, allocations: 2.469 MB / 1.771 GB, free: 10.55 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004018/1.736, allocations: 1.75 MB / 1.772 GB, free: 8.805 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002/1.738, allocations: 2.039 MB / 1.774 GB, free: 6.32 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004487/1.743, allocations: 1.885 MB / 1.776 GB, free: 4.422 MB / 1.451 GB Notification: Performance of pre-optimization done (n=212): time 4.298e-06/1.743, allocations: 0 / 1.776 GB, free: 4.422 MB / 1.451 GB Notification: Performance of matching and sorting (n=212): time 0.01376/1.757, allocations: 5.133 MB / 1.781 GB, free: 15.28 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/1.757, allocations: 81.33 kB / 1.781 GB, free: 15.19 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01931/1.776, allocations: 9.195 MB / 1.79 GB, free: 6.012 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0008896/1.777, allocations: 85.7 kB / 1.79 GB, free: 5.922 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.005794/1.783, allocations: 3.833 MB / 1.794 GB, free: 2.074 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.784, allocations: 0.7709 MB / 1.795 GB, free: 1.297 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/1.786, allocations: 0.7845 MB / 1.796 GB, free: 0.5039 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.786, allocations: 305.1 kB / 1.796 GB, free: 208 kB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/1.79, allocations: 1.735 MB / 1.798 GB, free: 14.46 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/1.796, allocations: 3.341 MB / 1.801 GB, free: 10.48 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008991/1.805, allocations: 4.422 MB / 1.805 GB, free: 5.602 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.805, allocations: 8 kB / 1.805 GB, free: 5.594 MB / 1.482 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.0138/1.819, allocations: 5.243 MB / 1.81 GB, free: 304 kB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.819, allocations: 16 kB / 1.81 GB, free: 288 kB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.926e-05/1.819, allocations: 32 kB / 1.81 GB, free: 256 kB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.809e-05/1.819, allocations: 48 kB / 1.81 GB, free: 208 kB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/1.822, allocations: 0.8349 MB / 1.811 GB, free: 15.37 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.35e-05/1.823, allocations: 63.8 kB / 1.811 GB, free: 15.3 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007511/1.83, allocations: 0.6612 MB / 1.812 GB, free: 14.64 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007689/1.831, allocations: 163.9 kB / 1.812 GB, free: 14.48 MB / 1.498 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.006701/1.838, allocations: 3.038 MB / 1.815 GB, free: 11.43 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003161/1.841, allocations: 0.7607 MB / 1.816 GB, free: 10.66 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.851, allocations: 4.23 MB / 1.82 GB, free: 6.434 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/1.851, allocations: 31.98 kB / 1.82 GB, free: 6.402 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.851, allocations: 0 / 1.82 GB, free: 6.402 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007132/1.859, allocations: 3.316 MB / 1.823 GB, free: 3.039 MB / 1.498 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.02611/1.885, allocations: 11.32 MB / 1.834 GB, free: 7.562 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.885, allocations: 4 kB / 1.834 GB, free: 7.559 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/1.888, allocations: 0.5581 MB / 1.835 GB, free: 7 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-05/1.888, allocations: 12 kB / 1.835 GB, free: 6.988 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/1.888, allocations: 71.94 kB / 1.835 GB, free: 6.918 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/1.888, allocations: 16 kB / 1.835 GB, free: 6.902 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.888, allocations: 3.938 kB / 1.835 GB, free: 6.898 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.902, allocations: 6.332 MB / 1.841 GB, free: 0.5234 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004853/1.907, allocations: 1.452 MB / 1.843 GB, free: 15.05 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002441/1.909, allocations: 51.98 kB / 1.843 GB, free: 15 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005608/1.915, allocations: 283.6 kB / 1.843 GB, free: 14.72 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/1.916, allocations: 149.7 kB / 1.843 GB, free: 14.57 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004094/1.916, allocations: 115.9 kB / 1.843 GB, free: 14.46 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.01482/1.931, allocations: 6.541 MB / 1.85 GB, free: 7.941 MB / 1.529 GB Notification: Performance of sort global known variables: time 1.7e-07/1.931, allocations: 4 kB / 1.85 GB, free: 7.938 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.009488/1.94, allocations: 2.109 MB / 1.852 GB, free: 5.824 MB / 1.529 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.00282/1.943, allocations: 1.072 MB / 1.853 GB, free: 4.77 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.009585/1.953, allocations: 3.832 MB / 1.856 GB, free: 0.9414 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.953, allocations: 4 kB / 1.856 GB, free: 0.9375 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.004421/1.957, allocations: 1.706 MB / 1.858 GB, free: 15.23 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02384/1.981, allocations: 4.593 MB / 1.863 GB, free: 10.79 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.435/3.416, allocations: 15.82 MB / 1.878 GB, free: 472.2 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008205/3.424, allocations: 5.231 MB / 1.883 GB, free: 471 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/3.427, allocations: 0.5686 MB / 1.884 GB, free: 471 MB / 1.545 GB Notification: Performance of SimCode: time 1.623e-06/3.427, allocations: 0 / 1.884 GB, free: 471 MB / 1.545 GB Notification: Performance of Templates: time 0.2548/3.681, allocations: 152 MB / 2.032 GB, free: 384.3 MB / 1.545 GB " [Timeout remaining time 296] 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 -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: 42.28705088500283]