Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.001861, allocations: 111 kB / 17.74 MB, free: 5.34 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.002042/0.002043, allocations: 188.4 kB / 18.67 MB, free: 4.418 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.853/1.853, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8111/0.8111, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 70.41 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 80.69 MB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.003026/0.1673, allocations: 1.471 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003849/0.1677, allocations: 99.64 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.1678, allocations: 0 / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1679, allocations: 7.922 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1681, allocations: 59.72 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1684, allocations: 39.88 kB / 0.6534 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1697, allocations: 1.217 MB / 0.6546 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.1698, allocations: 11.98 kB / 0.6546 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007727/0.1706, allocations: 463.4 kB / 0.655 GB, free: 8.258 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1717, allocations: 0.5419 MB / 0.6556 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.172, allocations: 63.94 kB / 0.6556 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1722, allocations: 60 kB / 0.6557 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.1726, allocations: 371.1 kB / 0.6561 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.1733, allocations: 390.6 kB / 0.6564 GB, free: 6.848 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.174, allocations: 0.662 MB / 0.6571 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.174, allocations: 0 / 0.6571 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.273e-06/0.174, allocations: 0 / 0.6571 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.174, allocations: 3.938 kB / 0.6571 GB, free: 6.18 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.005352/0.1794, allocations: 1.421 MB / 0.6585 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1795, allocations: 11.89 kB / 0.6585 GB, free: 4.691 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.1797, allocations: 68.38 kB / 0.6585 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.1805, allocations: 359.5 kB / 0.6589 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.1806, allocations: 57.69 kB / 0.6589 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1808, allocations: 96.09 kB / 0.659 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.1824, allocations: 0.885 MB / 0.6599 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1825, allocations: 4.188 kB / 0.6599 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.1826, allocations: 23.94 kB / 0.6599 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1826, allocations: 12 kB / 0.6599 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.1843, allocations: 0.7702 MB / 0.6607 GB, free: 2.383 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/0.1918, allocations: 4.306 MB / 0.6649 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.1936, allocations: 0.9721 MB / 0.6658 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.1949, allocations: 0.6642 MB / 0.6665 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1951, allocations: 9 kB / 0.6665 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1951, allocations: 47.5 kB / 0.6665 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.926e-06/0.1951, allocations: 4 kB / 0.6665 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.003751/0.1989, allocations: 1.644 MB / 0.6681 GB, free: 10.19 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.199, allocations: 60.41 kB / 0.6682 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1991, allocations: 145.3 kB / 0.6683 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.1993, allocations: 49.7 kB / 0.6684 GB, free: 9.914 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1994, allocations: 161.7 kB / 0.6685 GB, free: 9.75 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.1998, allocations: 414.1 kB / 0.6689 GB, free: 9.34 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.2004, allocations: 219 kB / 0.6691 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2006, allocations: 370.8 kB / 0.6695 GB, free: 8.75 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.2019, allocations: 0.5686 MB / 0.6701 GB, free: 8.18 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.2032, allocations: 0.6638 MB / 0.6707 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.2058, allocations: 1.258 MB / 0.6719 GB, free: 6.246 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.2058, allocations: 0 / 0.6719 GB, free: 6.246 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003007/0.2088, allocations: 1.469 MB / 0.6734 GB, free: 4.77 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.2089, allocations: 7.938 kB / 0.6734 GB, free: 4.762 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.2089, allocations: 4 kB / 0.6734 GB, free: 4.758 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.209, allocations: 7.938 kB / 0.6734 GB, free: 4.75 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.2115, allocations: 0.523 MB / 0.6739 GB, free: 4.227 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.2116, allocations: 8 kB / 0.6739 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/0.2124, allocations: 122.9 kB / 0.674 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.2125, allocations: 36 kB / 0.6741 GB, free: 4.062 MB / 0.5139 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 (157): * Single equations (assignments): 157 * 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.000347/0.2129, allocations: 218.4 kB / 0.6743 GB, free: 3.84 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.213, allocations: 39.56 kB / 0.6743 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.2134, allocations: 148 kB / 0.6744 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2134, allocations: 15.94 kB / 0.6745 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.2134, allocations: 3.938 kB / 0.6745 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.2134, allocations: 3.984 kB / 0.6745 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.2146, allocations: 0.7941 MB / 0.6752 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2146, allocations: 0 / 0.6752 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/0.2173, allocations: 0.5269 MB / 0.6758 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.2173, allocations: 15.92 kB / 0.6758 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.2175, allocations: 39.97 kB / 0.6758 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2175, allocations: 0 / 0.6758 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.2175, allocations: 8 kB / 0.6758 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.2207, allocations: 1.956 MB / 0.6777 GB, free: 232 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2208, allocations: 132.3 kB / 0.6779 GB, free: 80 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.2209, allocations: 43.95 kB / 0.6779 GB, free: 36 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.2217, allocations: 48.03 kB / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.2219, allocations: 64.84 kB / 0.678 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.2219, allocations: 27.94 kB / 0.678 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.222, allocations: 103.2 kB / 0.6781 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.222, allocations: 0 / 0.6781 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0006806/0.2227, allocations: 307.8 kB / 0.6784 GB, free: 15.49 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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 Backend phase and start with SimCode phase: time 0.0002256/0.2229, allocations: 146.3 kB / 0.6786 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.225, allocations: 1.338 MB / 0.6799 GB, free: 14 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.225, allocations: 0 / 0.6799 GB, free: 14 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009443/0.226, allocations: 0.6497 MB / 0.6805 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2266, allocations: 135.9 kB / 0.6806 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.2326, allocations: 4.701 MB / 0.6852 GB, free: 8.48 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.2331, allocations: 0.9181 MB / 0.6861 GB, free: 7.539 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.2336, allocations: 55.44 kB / 0.6862 GB, free: 7.484 MB / 0.5295 GB Notification: Performance of SimCode: time 2.81e-07/0.2336, allocations: 4 kB / 0.6862 GB, free: 7.48 MB / 0.5295 GB Notification: Performance of Templates: time 0.1885/0.4221, allocations: 10.82 MB / 0.6967 GB, free: 12.66 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches