Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001027/0.001027, 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.0009733/0.0009733, allocations: 195.2 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.323/2.323, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4821, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00734/0.4895, allocations: 7.082 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1309/0.6204, allocations: 151.1 MB / 1.172 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.6213, allocations: 19.94 kB / 1.172 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.622, allocations: 269.4 kB / 1.172 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.6241, allocations: 0.7721 MB / 1.173 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.626, allocations: 1.027 MB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001868/0.6279, allocations: 2.07 MB / 1.176 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.6292, allocations: 1.103 MB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.6301, allocations: 0.8176 MB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009303/0.6311, allocations: 0.8885 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.6314, allocations: 216 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.6323, allocations: 0.5504 MB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.6327, allocations: 490.5 kB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008539/0.6335, allocations: 0.9759 MB / 1.181 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.6357, allocations: 2.621 MB / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6357, allocations: 0 / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6357, allocations: 0 / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.6358, allocations: 0 / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003492/0.6393, allocations: 2.054 MB / 1.185 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6393, allocations: 16.03 kB / 1.185 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.6396, allocations: 224.2 kB / 1.186 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/0.6405, allocations: 254.6 kB / 1.186 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.6417, allocations: 0.9693 MB / 1.187 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6419, allocations: 152.8 kB / 1.187 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.642, allocations: 148 kB / 1.187 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6443, allocations: 1.596 MB / 1.189 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.6444, allocations: 0 / 1.189 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6445, allocations: 64 kB / 1.189 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.6445, allocations: 44 kB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.6469, allocations: 1.592 MB / 1.19 GB, free: 0.5 MB / 0.9356 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.005701/0.6526, allocations: 4.746 MB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.6543, allocations: 1.094 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.655, allocations: 435.7 kB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/0.6551, allocations: 37.02 kB / 1.197 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.6561, allocations: 0.7075 MB / 1.197 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.185e-06/0.6561, allocations: 0 / 1.197 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.003548/0.6597, allocations: 1.657 MB / 1.199 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6598, allocations: 192.9 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.6607, allocations: 0.8378 MB / 1.2 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.6608, allocations: 49.7 kB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.6611, allocations: 0.6245 MB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.6614, allocations: 350.9 kB / 1.201 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.6616, allocations: 210.8 kB / 1.201 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.6618, allocations: 341.9 kB / 1.201 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.6624, allocations: 378.4 kB / 1.202 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.6632, allocations: 0.5102 MB / 1.202 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.6646, allocations: 0.8633 MB / 1.203 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6646, allocations: 0 / 1.203 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002214/0.6668, allocations: 1.149 MB / 1.204 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6668, allocations: 4 kB / 1.204 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6669, allocations: 7.938 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.6674, allocations: 84.78 kB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.6683, allocations: 219.7 kB / 1.204 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.6701, allocations: 1.661 MB / 1.206 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.6709, allocations: 127 kB / 1.206 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.671, allocations: 43.97 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.6714, allocations: 348 kB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.6716, allocations: 118.5 kB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.6746, allocations: 1.532 MB / 1.208 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.6746, allocations: 15.94 kB / 1.208 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.6746, allocations: 0 / 1.208 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6746, allocations: 7.969 kB / 1.208 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.6759, allocations: 1.377 MB / 1.21 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6759, allocations: 0 / 1.21 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.6767, allocations: 195.7 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.6771, allocations: 76.77 kB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.6772, allocations: 35.97 kB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6788, allocations: 1.677 MB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6788, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6811, allocations: 1.285 MB / 1.213 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.6815, allocations: 363.2 kB / 1.213 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.6817, allocations: 28 kB / 1.213 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.6825, allocations: 80.84 kB / 1.213 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.6827, allocations: 101.2 kB / 1.213 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.6828, allocations: 51.97 kB / 1.213 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006775/0.6834, allocations: 0.6176 MB / 1.214 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6835, allocations: 0 / 1.214 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000835/0.6843, allocations: 474.5 kB / 1.214 GB, free: 7.047 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003601/0.6879, allocations: 2.353 MB / 1.217 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.6909, allocations: 1.398 MB / 1.218 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.691, allocations: 0 / 1.218 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.692, allocations: 0.6857 MB / 1.219 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.6932, allocations: 352.7 kB / 1.219 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.7051, allocations: 9.164 MB / 1.228 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.7057, allocations: 1.224 MB / 1.229 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.7066, allocations: 313.3 kB / 1.23 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.7074, allocations: 0.6124 MB / 1.23 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.7074, allocations: 0 / 1.23 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/1.107, allocations: 29.06 MB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.47, allocations: 1.094 kB / 1.258 GB, free: 229 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches