Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001369/0.001369, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6642 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/0.9938, allocations: 140.4 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0302/1.024, allocations: 29.65 MB / 0.9779 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01519/1.039, allocations: 8.223 MB / 0.9859 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/1.042, allocations: 26.59 kB / 0.9859 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.044, allocations: 339.5 kB / 0.9863 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/1.049, allocations: 1.238 MB / 0.9875 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/1.053, allocations: 1.023 MB / 0.9885 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007182/1.061, allocations: 4.213 MB / 0.9926 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/1.065, allocations: 1.174 MB / 0.9937 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/1.069, allocations: 1.511 MB / 0.9952 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/1.073, allocations: 1.62 MB / 0.9968 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/1.074, allocations: 72 kB / 0.9968 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/1.078, allocations: 0.9475 MB / 0.9978 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/1.079, allocations: 346.7 kB / 0.9981 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/1.081, allocations: 0.692 MB / 0.9988 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004614/1.085, allocations: 2.131 MB / 1.001 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/1.086, allocations: 7.984 kB / 1.001 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.744e-06/1.086, allocations: 0 / 1.001 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.035e-05/1.086, allocations: 0 / 1.001 GB, free: 12.81 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004636/1.09, allocations: 1.667 MB / 1.002 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.09, allocations: 12.03 kB / 1.003 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/1.091, allocations: 147.4 kB / 1.003 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/1.093, allocations: 0.887 MB / 1.004 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/1.093, allocations: 81.31 kB / 1.004 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/1.094, allocations: 116 kB / 1.004 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.095, allocations: 0.6395 MB / 1.004 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.095, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/1.095, allocations: 20 kB / 1.004 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/1.095, allocations: 16 kB / 1.004 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/1.096, allocations: 472.8 kB / 1.005 GB, free: 8.625 MB / 0.7637 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.005594/1.102, allocations: 2.871 MB / 1.008 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/1.103, allocations: 311.1 kB / 1.008 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/1.103, allocations: 153.3 kB / 1.008 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.103, allocations: 348.7 kB / 1.008 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.103, allocations: 34.84 kB / 1.008 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/1.103, allocations: 0 / 1.008 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.001543/1.105, allocations: 0.5205 MB / 1.009 GB, free: 4.152 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/1.105, allocations: 55.41 kB / 1.009 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.106, allocations: 0.9153 MB / 1.01 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/1.106, allocations: 57.7 kB / 1.01 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.107, allocations: 0.5263 MB / 1.01 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/1.107, allocations: 118.3 kB / 1.011 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/1.107, allocations: 291 kB / 1.011 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.107, allocations: 338 kB / 1.011 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/1.108, allocations: 189.4 kB / 1.011 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.109, allocations: 1.151 MB / 1.012 GB, free: 116 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/1.11, allocations: 451.5 kB / 1.013 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.11, allocations: 7.938 kB / 1.013 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001457/1.111, allocations: 0.6539 MB / 1.014 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.112, allocations: 4 kB / 1.014 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.112, allocations: 4 kB / 1.014 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.112, allocations: 4 kB / 1.014 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.113, allocations: 235.9 kB / 1.014 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/1.115, allocations: 2.958 MB / 1.017 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/1.118, allocations: 0.7221 MB / 1.017 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/1.118, allocations: 27.98 kB / 1.017 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008615/1.119, allocations: 369.3 kB / 1.018 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001411/1.121, allocations: 1.154 MB / 1.019 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008003/1.121, allocations: 457 kB / 1.019 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/1.122, allocations: 7.938 kB / 1.019 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001659/1.123, allocations: 0.659 MB / 1.02 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.123, allocations: 4 kB / 1.02 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.123, allocations: 7.938 kB / 1.02 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/1.123, allocations: 4 kB / 1.02 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/1.124, allocations: 155.8 kB / 1.02 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/1.124, allocations: 11.92 kB / 1.02 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.129, allocations: 0.9925 MB / 1.021 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.129, allocations: 24 kB / 1.021 GB, free: 6.656 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005618/1.129, allocations: 246.5 kB / 1.021 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005113/1.13, allocations: 94.78 kB / 1.021 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/1.131, allocations: 0.5086 MB / 1.022 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.132, allocations: 7.984 kB / 1.022 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.132, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.132, allocations: 7.938 kB / 1.022 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/1.134, allocations: 1.26 MB / 1.023 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.134, allocations: 4 kB / 1.023 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/1.135, allocations: 119.8 kB / 1.023 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.135, allocations: 0 / 1.023 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.135, allocations: 16 kB / 1.023 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.137, allocations: 2.942 MB / 1.026 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.137, allocations: 3.938 kB / 1.026 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.138, allocations: 0.5694 MB / 1.027 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/1.139, allocations: 207.8 kB / 1.027 GB, free: 448 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.139, allocations: 12 kB / 1.027 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/1.14, allocations: 59.78 kB / 1.027 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/1.14, allocations: 27.91 kB / 1.027 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.14, allocations: 15.98 kB / 1.027 GB, free: 332 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009945/1.141, allocations: 0.6084 MB / 1.028 GB, free: 15.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00215/1.143, allocations: 0.5345 MB / 1.028 GB, free: 15.17 MB / 0.795 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009885/1.144, allocations: 334.7 kB / 1.029 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003233/1.147, allocations: 0.8356 MB / 1.029 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.147, allocations: 0 / 1.029 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/1.148, allocations: 231.7 kB / 1.03 GB, free: 13.78 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.151, allocations: 479.7 kB / 1.03 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/1.155, allocations: 1.867 MB / 1.032 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/1.156, allocations: 1.025 MB / 1.033 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001663/1.157, allocations: 210.9 kB / 1.033 GB, free: 10.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.158, allocations: 79.41 kB / 1.033 GB, free: 10.05 MB / 0.795 GB Notification: Performance of SimCode: time 1.924e-06/1.158, allocations: 0 / 1.033 GB, free: 10.05 MB / 0.795 GB Notification: Performance of Templates: time 0.04629/1.204, allocations: 24.51 MB / 1.057 GB, free: 2 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches