Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008294, allocations: 91.94 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.156e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2517, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.418, allocations: 426.8 MB / 1.636 GB, free: 6.941 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/1.418, allocations: 110.5 kB / 1.636 GB, free: 6.879 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 11.48/12.9, allocations: 2.904 GB / 4.54 GB, free: 180.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.824e-06/12.9, allocations: 0 / 4.54 GB, free: 180.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003968/12.9, allocations: 318.5 kB / 4.54 GB, free: 180.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04954/12.95, allocations: 10.86 MB / 4.551 GB, free: 176.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/12.95, allocations: 7.625 kB / 4.551 GB, free: 176.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/12.97, allocations: 1.625 MB / 4.552 GB, free: 175.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05941/13.02, allocations: 18.88 MB / 4.571 GB, free: 173.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/13.03, allocations: 0.6276 MB / 4.571 GB, free: 173.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005371/13.03, allocations: 0.8536 MB / 4.572 GB, free: 173.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04596/13.08, allocations: 11.82 MB / 4.584 GB, free: 172.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009287/13.08, allocations: 37.23 kB / 4.584 GB, free: 172.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004832/13.08, allocations: 356.6 kB / 4.584 GB, free: 172.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/13.08, allocations: 207.7 kB / 4.584 GB, free: 172.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/13.11, allocations: 10.09 MB / 4.594 GB, free: 172.4 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.1249/13.24, allocations: 51.39 MB / 4.644 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/13.25, allocations: 5.785 MB / 4.65 GB, free: 140.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007678/13.26, allocations: 3.857 MB / 4.654 GB, free: 139.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/13.26, allocations: 2.183 MB / 4.656 GB, free: 136.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/13.26, allocations: 94.58 kB / 4.656 GB, free: 136.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=482): time 1.304e-05/13.26, allocations: 0 / 4.656 GB, free: 136.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=482): time 0.02271/13.28, allocations: 7.44 MB / 4.663 GB, free: 133.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/13.28, allocations: 370.1 kB / 4.664 GB, free: 133.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04779/13.33, allocations: 14.69 MB / 4.678 GB, free: 123.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00253/13.33, allocations: 125.7 kB / 4.678 GB, free: 123.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0143/13.35, allocations: 6.034 MB / 4.684 GB, free: 118.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004096/13.35, allocations: 1.71 MB / 4.686 GB, free: 116.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/13.36, allocations: 132 kB / 4.686 GB, free: 116.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0008281/13.36, allocations: 0.5742 MB / 4.686 GB, free: 115.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006527/13.36, allocations: 3.459 MB / 4.69 GB, free: 112.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008254/13.37, allocations: 5.492 MB / 4.695 GB, free: 107.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/13.38, allocations: 4.558 MB / 4.699 GB, free: 103.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.114e-05/13.38, allocations: 12 kB / 4.699 GB, free: 103.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02536/13.4, allocations: 10.84 MB / 4.71 GB, free: 93.92 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005729/13.41, allocations: 25.34 MB / 4.735 GB, free: 67.26 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003223/13.41, allocations: 64 kB / 4.735 GB, free: 67.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/13.41, allocations: 1.025 MB / 4.736 GB, free: 66.28 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006454/13.42, allocations: 1.454 MB / 4.737 GB, free: 65.04 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/13.44, allocations: 33.04 MB / 4.77 GB, free: 29.43 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01983/13.46, allocations: 1.487 MB / 4.771 GB, free: 27.93 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/13.46, allocations: 272 kB / 4.771 GB, free: 27.67 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/13.46, allocations: 5.719 kB / 4.771 GB, free: 27.66 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01877/13.48, allocations: 9.742 MB / 4.781 GB, free: 17.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002946/13.48, allocations: 67.98 kB / 4.781 GB, free: 17.73 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/13.48, allocations: 0.9855 MB / 4.782 GB, free: 16.69 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006157/13.49, allocations: 1.455 MB / 4.783 GB, free: 15.23 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881/15.37, allocations: 33.29 MB / 4.816 GB, free: 184.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/15.39, allocations: 1.381 MB / 4.817 GB, free: 184.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002623/15.39, allocations: 271.1 kB / 4.817 GB, free: 184.4 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002519/15.39, allocations: 489.7 kB / 4.818 GB, free: 184.3 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006729/15.4, allocations: 1.172 MB / 4.819 GB, free: 184.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03087/15.43, allocations: 8.321 MB / 4.827 GB, free: 183.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/15.43, allocations: 51.94 kB / 4.827 GB, free: 183.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001388/15.43, allocations: 10.94 kB / 4.827 GB, free: 183.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01703/15.45, allocations: 6.43 MB / 4.833 GB, free: 183.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1117/15.56, allocations: 44.09 MB / 4.876 GB, free: 161.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.619e-05/15.56, allocations: 10.19 kB / 4.876 GB, free: 161.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005644/15.57, allocations: 1.062 MB / 4.877 GB, free: 161.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/15.57, allocations: 0.9745 MB / 4.878 GB, free: 160.9 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00151/15.57, allocations: 152.9 kB / 4.879 GB, free: 160.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/15.59, allocations: 33.15 MB / 4.911 GB, free: 134.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/15.59, allocations: 15.41 kB / 4.911 GB, free: 134.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03305/15.63, allocations: 15.65 MB / 4.926 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0157/15.64, allocations: 2.964 MB / 4.929 GB, free: 128.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007903/15.65, allocations: 130.4 kB / 4.929 GB, free: 128.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/15.66, allocations: 0.6703 MB / 4.93 GB, free: 128.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002057/15.67, allocations: 355.8 kB / 4.93 GB, free: 128.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001711/15.67, allocations: 197.4 kB / 4.93 GB, free: 128.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03505/15.7, allocations: 12 MB / 4.942 GB, free: 127.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.61e-07/15.7, allocations: 0 / 4.942 GB, free: 127.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04218/15.75, allocations: 6.502 MB / 4.949 GB, free: 127.5 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006181/15.75, allocations: 1.405 MB / 4.95 GB, free: 127.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0386/15.79, allocations: 18.27 MB / 4.968 GB, free: 122.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-05/15.79, allocations: 8.062 kB / 4.968 GB, free: 122.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01133/15.8, allocations: 5.633 MB / 4.973 GB, free: 119.8 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04821/15.85, allocations: 7.915 MB / 4.981 GB, free: 119.7 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07789/15.93, allocations: 26.04 MB / 5.006 GB, free: 115.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02332/15.95, allocations: 9.593 MB / 5.016 GB, free: 114.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0538/16.01, allocations: 13.26 MB / 5.029 GB, free: 113.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004562/16.01, allocations: 0.6555 MB / 5.029 GB, free: 113.5 MB / 1.214 GB Notification: Performance of SimCode: time 1.973e-06/16.01, allocations: 0 / 5.029 GB, free: 113.5 MB / 1.214 GB Notification: Performance of Templates: time 1.51/17.52, allocations: 293.2 MB / 5.316 GB, free: 214.1 MB / 1.276 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches