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.00198/0.00198, allocations: 110 kB / 16.46 MB, free: 6.453 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.002358/0.002358, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.339/3.339, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 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.002105/0.002105, allocations: 71.09 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4324, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2633/0.6957, allocations: 239.2 MB / 1.555 GB, free: 2.801 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.07744/0.7732, allocations: 43.43 MB / 1.597 GB, free: 7.27 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01412/0.7873, allocations: 333.1 kB / 1.598 GB, free: 6.941 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.801, allocations: 3.309 MB / 1.601 GB, free: 3.613 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 1.184/1.985, allocations: 8.145 MB / 1.609 GB, free: 64.79 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01994/2.005, allocations: 5.748 MB / 1.614 GB, free: 64.77 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06059/2.066, allocations: 26.46 MB / 1.64 GB, free: 64.75 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02792/2.094, allocations: 9.118 MB / 1.649 GB, free: 63.99 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03458/2.128, allocations: 10.29 MB / 1.659 GB, free: 63.48 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02032/2.149, allocations: 7.003 MB / 1.666 GB, free: 62.32 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.006757/2.155, allocations: 1.048 MB / 1.667 GB, free: 62.32 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/2.175, allocations: 3.61 MB / 1.671 GB, free: 62.32 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.008073/2.183, allocations: 2.694 MB / 1.673 GB, free: 61.91 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02009/2.203, allocations: 5.512 MB / 1.679 GB, free: 60.56 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04236/2.246, allocations: 18.48 MB / 1.697 GB, free: 58.68 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/2.246, allocations: 4 kB / 1.697 GB, free: 58.68 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.985e-06/2.246, allocations: 0 / 1.697 GB, free: 58.68 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000915/2.247, allocations: 0 / 1.697 GB, free: 58.68 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.04773/2.294, allocations: 10.58 MB / 1.707 GB, free: 53.29 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/2.295, allocations: 12.61 kB / 1.707 GB, free: 53.29 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/2.306, allocations: 1.456 MB / 1.708 GB, free: 52.59 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/2.335, allocations: 11.04 MB / 1.719 GB, free: 44.97 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008379/2.336, allocations: 470.2 kB / 1.72 GB, free: 44.72 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/2.339, allocations: 0.5148 MB / 1.72 GB, free: 44.55 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/2.367, allocations: 7.353 MB / 1.727 GB, free: 39.84 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/2.367, allocations: 11.33 kB / 1.727 GB, free: 39.83 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/2.369, allocations: 202.3 kB / 1.728 GB, free: 39.63 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/2.369, allocations: 143.2 kB / 1.728 GB, free: 39.5 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/2.386, allocations: 6.364 MB / 1.734 GB, free: 33.15 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.06836/2.455, allocations: 34.57 MB / 1.768 GB, free: 12.99 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007761/2.463, allocations: 2.482 MB / 1.77 GB, free: 10.51 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005179/2.468, allocations: 1.746 MB / 1.772 GB, free: 8.766 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/2.47, allocations: 2.031 MB / 1.774 GB, free: 6.301 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006064/2.476, allocations: 1.893 MB / 1.776 GB, free: 4.402 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 7.815e-06/2.476, allocations: 0 / 1.776 GB, free: 4.402 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01883/2.495, allocations: 5.132 MB / 1.781 GB, free: 15.27 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.495, allocations: 77.41 kB / 1.781 GB, free: 15.18 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02996/2.525, allocations: 9.191 MB / 1.79 GB, free: 6.004 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/2.527, allocations: 85.7 kB / 1.79 GB, free: 5.914 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.007076/2.534, allocations: 3.826 MB / 1.793 GB, free: 2.086 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.002016/2.536, allocations: 0.7769 MB / 1.794 GB, free: 1.32 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/2.538, allocations: 0.7767 MB / 1.795 GB, free: 0.5352 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001432/2.538, allocations: 313 kB / 1.795 GB, free: 232 kB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/2.542, allocations: 1.728 MB / 1.797 GB, free: 14.5 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/2.548, allocations: 3.351 MB / 1.8 GB, free: 10.54 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009431/2.557, allocations: 4.42 MB / 1.805 GB, free: 5.789 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/2.557, allocations: 8 kB / 1.805 GB, free: 5.781 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01494/2.572, allocations: 5.244 MB / 1.81 GB, free: 0.6641 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/2.572, allocations: 20.03 kB / 1.81 GB, free: 0.6445 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.96e-05/2.572, allocations: 32 kB / 1.81 GB, free: 0.6133 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.04e-05/2.572, allocations: 48 kB / 1.81 GB, free: 0.5664 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/2.576, allocations: 0.8281 MB / 1.811 GB, free: 15.79 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.203e-05/2.576, allocations: 72.16 kB / 1.811 GB, free: 15.73 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008755/2.585, allocations: 0.658 MB / 1.811 GB, free: 15.07 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000841/2.586, allocations: 160 kB / 1.811 GB, free: 14.91 MB / 1.357 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.008719/2.594, allocations: 3.041 MB / 1.814 GB, free: 11.91 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003796/2.598, allocations: 0.7685 MB / 1.815 GB, free: 11.13 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/2.61, allocations: 4.224 MB / 1.819 GB, free: 6.918 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/2.61, allocations: 27.98 kB / 1.819 GB, free: 6.891 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/2.61, allocations: 0 / 1.819 GB, free: 6.891 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007236/2.618, allocations: 3.319 MB / 1.823 GB, free: 3.527 MB / 1.357 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.03777/2.655, allocations: 11.32 MB / 1.834 GB, free: 8.137 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/2.655, allocations: 0 / 1.834 GB, free: 8.137 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/2.658, allocations: 0.5641 MB / 1.834 GB, free: 7.594 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/2.658, allocations: 8 kB / 1.834 GB, free: 7.586 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004573/2.659, allocations: 75.94 kB / 1.834 GB, free: 7.512 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-05/2.659, allocations: 8 kB / 1.834 GB, free: 7.504 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.659, allocations: 4 kB / 1.834 GB, free: 7.5 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/2.676, allocations: 6.341 MB / 1.84 GB, free: 1.117 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006073/2.682, allocations: 1.456 MB / 1.842 GB, free: 15.64 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003592/2.685, allocations: 51.98 kB / 1.842 GB, free: 15.59 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007183/2.693, allocations: 295.4 kB / 1.842 GB, free: 15.3 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/2.693, allocations: 144.8 kB / 1.842 GB, free: 15.16 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006363/2.694, allocations: 119.9 kB / 1.842 GB, free: 15.05 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01931/2.713, allocations: 6.537 MB / 1.849 GB, free: 8.535 MB / 1.389 GB Notification: Performance of sort global known variables: time 2.11e-07/2.713, allocations: 0 / 1.849 GB, free: 8.535 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.01211/2.725, allocations: 2.098 MB / 1.851 GB, free: 6.434 MB / 1.389 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.003622/2.729, allocations: 1.079 MB / 1.852 GB, free: 5.465 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.01094/2.74, allocations: 3.823 MB / 1.856 GB, free: 1.75 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.74, allocations: 4 kB / 1.856 GB, free: 1.746 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.004504/2.744, allocations: 1.646 MB / 1.857 GB, free: 148 kB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02886/2.773, allocations: 4.598 MB / 1.862 GB, free: 11.73 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/2.818, allocations: 16.22 MB / 1.878 GB, free: 11.57 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/2.829, allocations: 5.467 MB / 1.883 GB, free: 6.082 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.01021/2.839, allocations: 2.094 MB / 1.885 GB, free: 4.004 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/2.842, allocations: 0.5414 MB / 1.886 GB, free: 3.465 MB / 1.42 GB Notification: Performance of SimCode: time 2.174e-06/2.842, allocations: 0 / 1.886 GB, free: 3.465 MB / 1.42 GB Notification: Performance of Templates: time 0.2903/3.132, allocations: 157.2 MB / 2.039 GB, free: 8.148 MB / 1.576 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 -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/jenkins/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: 16.456799928098917]