Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 92.31 kB / 16.02 MB, free: 80 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.001222/0.001222, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.00041, allocations: 12 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7521, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1448/0.8969, allocations: 127.9 MB / 1.149 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04156/0.9385, allocations: 25.01 MB / 1.173 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007888/0.9465, allocations: 123.2 kB / 1.173 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006432/0.953, allocations: 1.422 MB / 1.175 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/0.9696, allocations: 4.164 MB / 1.179 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009676/0.9793, allocations: 3.179 MB / 1.182 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01504/0.9944, allocations: 11.43 MB / 1.193 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005759/1, allocations: 2.52 MB / 1.195 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007345/1.008, allocations: 2.757 MB / 1.198 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/1.012, allocations: 2.302 MB / 1.2 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/1.014, allocations: 128 kB / 1.2 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007602/1.021, allocations: 2.472 MB / 1.203 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/1.023, allocations: 0.6221 MB / 1.203 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004232/1.027, allocations: 1.7 MB / 1.205 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008393/1.036, allocations: 4.832 MB / 1.21 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.036, allocations: 4 kB / 1.21 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.159e-06/1.036, allocations: 0 / 1.21 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002043/1.036, allocations: 0 / 1.21 GB, free: 0.6133 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008498/1.044, allocations: 3.359 MB / 1.213 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.044, allocations: 11.98 kB / 1.213 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.055, allocations: 1.37 MB / 1.214 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/1.062, allocations: 2.941 MB / 1.217 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/1.063, allocations: 247.9 kB / 1.218 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007841/1.064, allocations: 236 kB / 1.218 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/1.074, allocations: 3.173 MB / 1.221 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.074, allocations: 7.844 kB / 1.221 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005827/1.074, allocations: 107.9 kB / 1.221 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.723e-05/1.075, allocations: 71.92 kB / 1.221 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.085, allocations: 2.788 MB / 1.224 GB, free: 1.922 MB / 0.9669 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.02572/1.111, allocations: 13.3 MB / 1.237 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/1.116, allocations: 1.423 MB / 1.238 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/1.119, allocations: 0.9049 MB / 1.239 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/1.121, allocations: 1.785 MB / 1.241 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003896/1.125, allocations: 1.169 MB / 1.242 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 8.977e-06/1.125, allocations: 0 / 1.242 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.02335/1.148, allocations: 4.295 MB / 1.246 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/1.149, allocations: 0.5727 MB / 1.247 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/1.154, allocations: 2.514 MB / 1.249 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.155, allocations: 61.64 kB / 1.249 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.156, allocations: 1.34 MB / 1.25 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/1.157, allocations: 445.7 kB / 1.251 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/1.158, allocations: 145.6 kB / 1.251 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.158, allocations: 305.1 kB / 1.251 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/1.162, allocations: 0.9758 MB / 1.252 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.166, allocations: 1.56 MB / 1.254 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6108/1.777, allocations: 2.218 MB / 1.256 GB, free: 219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/1.777, allocations: 4.188 kB / 1.256 GB, free: 219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01315/1.79, allocations: 3.094 MB / 1.259 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/1.791, allocations: 476.2 kB / 1.259 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.791, allocations: 15.38 kB / 1.259 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/1.794, allocations: 0.7201 MB / 1.26 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/1.797, allocations: 0.5038 MB / 1.261 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/1.799, allocations: 1.806 MB / 1.262 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/1.805, allocations: 0.5001 MB / 1.263 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/1.805, allocations: 105.2 kB / 1.263 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.805, allocations: 4.062 kB / 1.263 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/1.817, allocations: 2.814 MB / 1.266 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/1.817, allocations: 11.25 kB / 1.266 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/1.82, allocations: 0.7304 MB / 1.267 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/1.824, allocations: 0.4923 MB / 1.267 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/1.826, allocations: 1.81 MB / 1.269 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/1.831, allocations: 449 kB / 1.269 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/1.831, allocations: 111.2 kB / 1.269 GB, free: 214.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001924/1.833, allocations: 0.6917 MB / 1.27 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/1.834, allocations: 275.3 kB / 1.27 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.846, allocations: 2.6 MB / 1.273 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/1.846, allocations: 14.34 kB / 1.273 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.846, allocations: 3.188 kB / 1.273 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0108/1.857, allocations: 2.224 MB / 1.275 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/1.875, allocations: 6.506 MB / 1.281 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/1.875, allocations: 14.78 kB / 1.281 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.876, allocations: 299.2 kB / 1.282 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/1.879, allocations: 0.7196 MB / 1.282 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/1.879, allocations: 52.11 kB / 1.282 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.881, allocations: 1.79 MB / 1.284 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.881, allocations: 18.83 kB / 1.284 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.893, allocations: 3.561 MB / 1.288 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.894, allocations: 0.6617 MB / 1.288 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.895, allocations: 37.8 kB / 1.288 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.899, allocations: 288.9 kB / 1.289 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.899, allocations: 115.5 kB / 1.289 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.899, allocations: 71.52 kB / 1.289 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003111/1.902, allocations: 1.759 MB / 1.29 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.902, allocations: 0 / 1.29 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005947/1.908, allocations: 1.661 MB / 1.292 GB, free: 204.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/1.91, allocations: 0.8042 MB / 1.293 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.922, allocations: 3.62 MB / 1.296 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.922, allocations: 4 kB / 1.296 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.925, allocations: 0.9859 MB / 1.297 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009957/1.935, allocations: 1.428 MB / 1.299 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/1.947, allocations: 6.466 MB / 1.305 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.949, allocations: 1.707 MB / 1.307 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.95, allocations: 275.2 kB / 1.307 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.95, allocations: 0 / 1.307 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08472/2.034, allocations: 80.5 MB / 1.386 GB, free: 111.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches