Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.1 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.53 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.4999/0.761, allocations: 62.62 MB / 1.08 GB, free: 28.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.7796, allocations: 13.66 MB / 1.093 GB, free: 28.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.7821, allocations: 62.75 kB / 1.093 GB, free: 28.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.7849, allocations: 0.9424 MB / 1.094 GB, free: 28.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.794, allocations: 2.392 MB / 1.097 GB, free: 27.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006124/0.8002, allocations: 1.644 MB / 1.098 GB, free: 27.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006656/0.8069, allocations: 4.288 MB / 1.102 GB, free: 25.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.8089, allocations: 1.411 MB / 1.104 GB, free: 24.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.8126, allocations: 1.64 MB / 1.105 GB, free: 24.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.8147, allocations: 1.281 MB / 1.107 GB, free: 23.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.8151, allocations: 175.9 kB / 1.107 GB, free: 23.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.8184, allocations: 1.43 MB / 1.108 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.8189, allocations: 0.5163 MB / 1.109 GB, free: 22.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.82, allocations: 1.004 MB / 1.11 GB, free: 22.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.8253, allocations: 3.168 MB / 1.113 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8253, allocations: 0 / 1.113 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8253, allocations: 0 / 1.113 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.8254, allocations: 0 / 1.113 GB, free: 21.3 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00474/0.8301, allocations: 2.336 MB / 1.115 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.8302, allocations: 9.438 kB / 1.115 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.8317, allocations: 319.3 kB / 1.115 GB, free: 19.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.8343, allocations: 1.475 MB / 1.117 GB, free: 18.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.8345, allocations: 161 kB / 1.117 GB, free: 18.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.8346, allocations: 109.4 kB / 1.117 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.8374, allocations: 1.44 MB / 1.118 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.8375, allocations: 1.766 kB / 1.118 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.8376, allocations: 46.33 kB / 1.118 GB, free: 18.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.8376, allocations: 46 kB / 1.119 GB, free: 18.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.8407, allocations: 1.336 MB / 1.12 GB, free: 17.64 MB / 0.8419 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.007535/0.8482, allocations: 6.64 MB / 1.126 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.8502, allocations: 1.168 MB / 1.127 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.8514, allocations: 0.5626 MB / 1.128 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.852, allocations: 1.146 MB / 1.129 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.852, allocations: 45 kB / 1.129 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=77): time 3.026e-06/0.852, allocations: 0 / 1.129 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77): time 0.004061/0.8561, allocations: 1.592 MB / 1.131 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.8561, allocations: 116.4 kB / 1.131 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.858, allocations: 1.404 MB / 1.132 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.8581, allocations: 44.11 kB / 1.132 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.8586, allocations: 0.7151 MB / 1.133 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.8588, allocations: 262.7 kB / 1.133 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.8591, allocations: 175.6 kB / 1.133 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.8591, allocations: 350.3 kB / 1.134 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.8603, allocations: 0.4937 MB / 1.134 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.8616, allocations: 0.7193 MB / 1.135 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.864, allocations: 1.125 MB / 1.136 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.864, allocations: 5.531 kB / 1.136 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003125/0.8671, allocations: 1.353 MB / 1.137 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8671, allocations: 13.62 kB / 1.137 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.8672, allocations: 5.125 kB / 1.137 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.8672, allocations: 8.469 kB / 1.137 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8684, allocations: 274 kB / 1.138 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.8685, allocations: 14.91 kB / 1.138 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8698, allocations: 162.7 kB / 1.138 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/0.8699, allocations: 39.55 kB / 1.138 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001619/0.8715, allocations: 0.7959 MB / 1.139 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001245/0.8728, allocations: 0.7204 MB / 1.139 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002241/0.8751, allocations: 1.123 MB / 1.14 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.8751, allocations: 2.219 kB / 1.14 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003034/0.8781, allocations: 1.347 MB / 1.142 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8781, allocations: 8.531 kB / 1.142 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8781, allocations: 12.44 kB / 1.142 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.8782, allocations: 8.844 kB / 1.142 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.8794, allocations: 266.3 kB / 1.142 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.8794, allocations: 13.27 kB / 1.142 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.8807, allocations: 141.2 kB / 1.142 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.8808, allocations: 39.08 kB / 1.142 GB, free: 3.621 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0003085/0.8811, allocations: 235.7 kB / 1.142 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.8814, allocations: 155.3 kB / 1.143 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.8844, allocations: 1.475 MB / 1.144 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.8844, allocations: 7.969 kB / 1.144 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8844, allocations: 7.984 kB / 1.144 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002244/0.8867, allocations: 1.111 MB / 1.145 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.892, allocations: 3.101 MB / 1.148 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.8921, allocations: 4.75 kB / 1.148 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.893, allocations: 191.9 kB / 1.148 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.8931, allocations: 11.41 kB / 1.148 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.232e-05/0.8931, allocations: 22.52 kB / 1.148 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-06/0.8932, allocations: 10.34 kB / 1.148 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.8932, allocations: 8.781 kB / 1.148 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.8974, allocations: 2.073 MB / 1.15 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00079/0.8982, allocations: 378.2 kB / 1.151 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.8985, allocations: 21.97 kB / 1.151 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.8996, allocations: 101.6 kB / 1.151 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.8998, allocations: 87.88 kB / 1.151 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/0.8999, allocations: 43.73 kB / 1.151 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001556/0.9015, allocations: 1.082 MB / 1.152 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9015, allocations: 0 / 1.152 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002277/0.9038, allocations: 0.7987 MB / 1.153 GB, free: 13.09 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.0009176/0.9047, allocations: 477.2 kB / 1.153 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00405/0.9087, allocations: 1.811 MB / 1.155 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.9088, allocations: 0 / 1.155 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.9102, allocations: 0.6381 MB / 1.156 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.9136, allocations: 0.8267 MB / 1.156 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.9177, allocations: 2.768 MB / 1.159 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/0.9185, allocations: 1.28 MB / 1.16 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001535/0.9201, allocations: 405.7 kB / 1.161 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.9205, allocations: 132.4 kB / 1.161 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of SimCode: time 7.62e-07/0.9205, allocations: 2.75 kB / 1.161 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of Templates: time 0.04958/0.97, allocations: 33.46 MB / 1.194 GB, free: 7.547 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches