Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 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.001423/0.001423, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.51/2.51, allocations: 437.1 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5764, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003386/0.5799, allocations: 2.03 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.5807, allocations: 450.6 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.5809, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.5811, allocations: 43.53 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.5812, allocations: 35.67 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.5815, allocations: 103.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.5817, allocations: 296.4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.582, allocations: 148.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.5821, allocations: 107.6 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5823, allocations: 99.48 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.5823, allocations: 36 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.5824, allocations: 36 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.5824, allocations: 59.78 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.5825, allocations: 123.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.5829, allocations: 377.1 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.5829, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5829, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.5829, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008594/0.5838, allocations: 0.538 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5838, allocations: 8.031 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.5839, allocations: 54.73 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.584, allocations: 24.66 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.5843, allocations: 276.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5843, allocations: 16.81 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5844, allocations: 24.38 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.5848, allocations: 238 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5848, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.5849, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5849, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.5853, allocations: 173 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.5865, allocations: 0.856 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.587, allocations: 178.7 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5872, allocations: 101 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5873, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5873, allocations: 34.56 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.5873, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0007996/0.5881, allocations: 221.3 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5882, allocations: 89.05 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5884, allocations: 231.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5884, allocations: 33.7 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5885, allocations: 156.1 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.5886, allocations: 43.39 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.5886, allocations: 29.72 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5888, allocations: 330.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.589, allocations: 76.72 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.5892, allocations: 107.3 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.5896, allocations: 155.3 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5896, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004635/0.5901, allocations: 210.6 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5901, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5901, allocations: 7.938 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5901, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.5903, allocations: 39.91 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5903, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.5905, allocations: 31.83 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5905, allocations: 4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002024/0.5907, allocations: 164.1 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001576/0.5909, allocations: 93.11 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002737/0.5912, allocations: 139.2 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.5912, allocations: 0 / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003667/0.5915, allocations: 193.2 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5916, allocations: 5.094 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.5916, allocations: 0 / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.5916, allocations: 12.03 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5917, allocations: 27.98 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.5917, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5918, allocations: 19.92 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5919, allocations: 8 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001024/0.592, allocations: 192.2 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.592, allocations: 23.66 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.5921, allocations: 21.34 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5921, allocations: 4 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5921, allocations: 0 / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5921, allocations: 7.984 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.5924, allocations: 297.4 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5924, allocations: 0 / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.5926, allocations: 35.97 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5926, allocations: 0 / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5926, allocations: 3.938 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5926, allocations: 3.938 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5926, allocations: 0 / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.5933, allocations: 351.1 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.5933, allocations: 96.94 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5934, allocations: 11.94 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5936, allocations: 16.05 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5936, allocations: 7.984 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5936, allocations: 4 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001551/0.5938, allocations: 172.5 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5938, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003613/0.5942, allocations: 71.62 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.0008576/0.595, allocations: 0.8767 MB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.5956, allocations: 231.8 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5956, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5958, allocations: 71.89 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.5963, allocations: 42.12 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.5992, allocations: 2.285 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.5995, allocations: 0.744 MB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.743e-05/0.5997, allocations: 17.55 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5998, allocations: 67.41 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.5998, allocations: 0 / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.6231, allocations: 4.078 MB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.726, allocations: 5.672 kB / 1.035 GB, free: 15.48 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches