Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 69.62 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3967, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01713/0.4139, allocations: 15.05 MB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006134/0.4201, allocations: 3.888 MB / 1.087 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.4207, allocations: 23.88 kB / 1.087 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.4214, allocations: 182.7 kB / 1.087 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4233, allocations: 0.6803 MB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4247, allocations: 470.1 kB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.4261, allocations: 1.083 MB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.4266, allocations: 289.5 kB / 1.089 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.4272, allocations: 406.5 kB / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4275, allocations: 262.8 kB / 1.09 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.4276, allocations: 20 kB / 1.09 GB, free: 4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.4288, allocations: 0.7134 MB / 1.091 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.4289, allocations: 71.75 kB / 1.091 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.4291, allocations: 190.9 kB / 1.091 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4302, allocations: 0.7089 MB / 1.092 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4302, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4302, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4302, allocations: 4 kB / 1.092 GB, free: 2.312 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001157/0.4314, allocations: 0.7435 MB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4314, allocations: 19.97 kB / 1.092 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.4315, allocations: 40.47 kB / 1.092 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.4324, allocations: 0.4901 MB / 1.093 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4324, allocations: 16.33 kB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4325, allocations: 16 kB / 1.093 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.4329, allocations: 184.1 kB / 1.093 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4329, allocations: 3.938 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4329, allocations: 4 kB / 1.093 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4329, allocations: 4 kB / 1.093 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.4332, allocations: 131.8 kB / 1.093 GB, free: 0.5742 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.001123/0.4344, allocations: 0.8723 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.4346, allocations: 122.6 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4348, allocations: 72.81 kB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/0.4352, allocations: 344.3 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4352, allocations: 38.56 kB / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4352, allocations: 0 / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005756/0.4358, allocations: 217.1 kB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4359, allocations: 51.41 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.4362, allocations: 345.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4362, allocations: 25.7 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4364, allocations: 204.2 kB / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4364, allocations: 35.47 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.4365, allocations: 37.61 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4367, allocations: 350.7 kB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4368, allocations: 52.83 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.437, allocations: 96.23 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.4372, allocations: 113.6 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4373, allocations: 0 / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003626/0.4376, allocations: 173.2 kB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4377, allocations: 11.94 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4377, allocations: 4 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4377, allocations: 0 / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4378, allocations: 27.97 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4379, allocations: 0 / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.438, allocations: 19.92 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.4381, allocations: 8 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002129/0.4383, allocations: 156 kB / 1.096 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.4385, allocations: 88.89 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002481/0.4387, allocations: 109.7 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.4387, allocations: 96 / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003393/0.4391, allocations: 181 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.4391, allocations: 8 kB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.4391, allocations: 96 / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.4391, allocations: 7.922 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4392, allocations: 27.98 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.4392, allocations: 3.938 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.4394, allocations: 19.97 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4394, allocations: 4 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001054/0.4396, allocations: 192.3 kB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.4396, allocations: 39.47 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.4401, allocations: 220.7 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4401, allocations: 8 kB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.4402, allocations: 0 / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4402, allocations: 3.984 kB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.441, allocations: 0.6256 MB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.441, allocations: 0 / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.4412, allocations: 27.98 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4412, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4412, allocations: 0 / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4412, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4412, allocations: 96 / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.4417, allocations: 321.5 kB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.4418, allocations: 128.7 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.4418, allocations: 7.984 kB / 1.098 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.4421, allocations: 19.98 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4421, allocations: 11.98 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.4421, allocations: 8 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002412/0.4424, allocations: 247.2 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4424, allocations: 0 / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006136/0.443, allocations: 191.5 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000526/0.4435, allocations: 259.6 kB / 1.099 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005289/0.4441, allocations: 195.7 kB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4441, allocations: 0 / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.4443, allocations: 83.89 kB / 1.099 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.4451, allocations: 143 kB / 1.1 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.446, allocations: 0.5671 MB / 1.1 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4463, allocations: 0.7918 MB / 1.101 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000238/0.4466, allocations: 83.02 kB / 1.101 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.4466, allocations: 27.44 kB / 1.101 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4466, allocations: 0 / 1.101 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of Templates: time 0.01188/0.4585, allocations: 6.57 MB / 1.107 GB, free: 1.676 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches