Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002844/0.002843, allocations: 195.7 kB / 16.14 MB, free: 6.633 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.593/1.593, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.915/2.915, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002012, allocations: 59.91 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/0.9411, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02468/0.9658, allocations: 20.67 MB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008693/0.9746, allocations: 4.989 MB / 1.042 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.9757, allocations: 19.88 kB / 1.042 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.9766, allocations: 218.7 kB / 1.042 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.9791, allocations: 0.7537 MB / 1.043 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.9813, allocations: 0.6347 MB / 1.043 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.9838, allocations: 1.812 MB / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.9844, allocations: 389.8 kB / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.9854, allocations: 0.5095 MB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.9861, allocations: 462 kB / 1.046 GB, free: 4.215 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.9862, allocations: 20 kB / 1.046 GB, free: 4.195 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.9876, allocations: 0.6042 MB / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.9878, allocations: 115.5 kB / 1.047 GB, free: 3.477 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.9882, allocations: 270.5 kB / 1.047 GB, free: 3.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.9895, allocations: 0.81 MB / 1.048 GB, free: 2.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9895, allocations: 7.938 kB / 1.048 GB, free: 2.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9895, allocations: 0 / 1.048 GB, free: 2.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9895, allocations: 0 / 1.048 GB, free: 2.391 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001827/0.9913, allocations: 0.9227 MB / 1.049 GB, free: 1.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.9914, allocations: 8.031 kB / 1.049 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.9915, allocations: 64.19 kB / 1.049 GB, free: 1.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.9922, allocations: 463.3 kB / 1.05 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.9923, allocations: 24.59 kB / 1.05 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.9923, allocations: 36 kB / 1.05 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.993, allocations: 309.9 kB / 1.05 GB, free: 496 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9931, allocations: 0 / 1.05 GB, free: 496 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.9931, allocations: 8 kB / 1.05 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.9931, allocations: 8 kB / 1.05 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.9938, allocations: 266.4 kB / 1.05 GB, free: 216 kB / 0.795 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.002339/0.9961, allocations: 1.337 MB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.9967, allocations: 258.5 kB / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.997, allocations: 136.8 kB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.9976, allocations: 498.6 kB / 1.052 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.9977, allocations: 38.56 kB / 1.052 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.9977, allocations: 0 / 1.052 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.001894/0.9996, allocations: 0.5551 MB / 1.053 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.9997, allocations: 55.41 kB / 1.053 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/1, allocations: 477.9 kB / 1.053 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/1, allocations: 29.7 kB / 1.053 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/1.001, allocations: 244.5 kB / 1.054 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/1.001, allocations: 90.69 kB / 1.054 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.001, allocations: 77.67 kB / 1.054 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.001, allocations: 358.8 kB / 1.054 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/1.001, allocations: 116.8 kB / 1.054 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/1.002, allocations: 181 kB / 1.054 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/1.002, allocations: 269.4 kB / 1.055 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.002, allocations: 0 / 1.055 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001646/1.004, allocations: 497.7 kB / 1.055 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.004, allocations: 4 kB / 1.055 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.004, allocations: 4 kB / 1.055 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/1.005, allocations: 48.81 kB / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/1.005, allocations: 71.89 kB / 1.055 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005362/1.006, allocations: 0.5678 MB / 1.056 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/1.006, allocations: 67.66 kB / 1.056 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/1.006, allocations: 12 kB / 1.056 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004924/1.007, allocations: 248.5 kB / 1.056 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000401/1.007, allocations: 177.4 kB / 1.056 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006533/1.008, allocations: 264.5 kB / 1.057 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/1.008, allocations: 4 kB / 1.057 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000925/1.009, allocations: 371.5 kB / 1.057 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.009, allocations: 4 kB / 1.057 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/1.009, allocations: 160 / 1.057 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/1.009, allocations: 4 kB / 1.057 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.009, allocations: 91.81 kB / 1.057 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.009, allocations: 3.984 kB / 1.057 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/1.01, allocations: 63.62 kB / 1.057 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/1.01, allocations: 16 kB / 1.057 GB, free: 8.641 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/1.01, allocations: 196.2 kB / 1.057 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.01, allocations: 47.44 kB / 1.057 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/1.011, allocations: 417.5 kB / 1.058 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.011, allocations: 11.98 kB / 1.058 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.011, allocations: 0 / 1.058 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.011, allocations: 4 kB / 1.058 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.013, allocations: 0.9318 MB / 1.059 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.013, allocations: 8.125 kB / 1.059 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/1.014, allocations: 47.95 kB / 1.059 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/1.014, allocations: 44.77 kB / 1.059 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/1.014, allocations: 8 kB / 1.059 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005586/1.014, allocations: 0.5562 MB / 1.059 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/1.014, allocations: 7.969 kB / 1.059 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/1.015, allocations: 0.496 MB / 1.06 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/1.016, allocations: 152.4 kB / 1.06 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/1.016, allocations: 8 kB / 1.06 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/1.016, allocations: 35.95 kB / 1.06 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/1.016, allocations: 27.91 kB / 1.06 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/1.016, allocations: 12 kB / 1.06 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004601/1.017, allocations: 322.9 kB / 1.06 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/1.017, allocations: 0 / 1.06 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009218/1.018, allocations: 255.5 kB / 1.061 GB, free: 4.918 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007002/1.018, allocations: 256.9 kB / 1.061 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.02, allocations: 467.4 kB / 1.061 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.02, allocations: 3.938 kB / 1.061 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/1.02, allocations: 163.8 kB / 1.061 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.022, allocations: 250.6 kB / 1.062 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/1.024, allocations: 1.001 MB / 1.063 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/1.025, allocations: 0.8513 MB / 1.063 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005491/1.025, allocations: 124.3 kB / 1.064 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.025, allocations: 47.42 kB / 1.064 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/1.025, allocations: 0 / 1.064 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of Templates: time 0.02227/1.048, allocations: 9.932 MB / 1.073 GB, free: 7.941 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches