Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005361/0.005361, allocations: 101 kB / 15.73 MB, free: 6.047 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.001293/0.001293, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 62.72 kB / 0.9508 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2916, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03101/0.3226, allocations: 32.77 MB / 1.12 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.3368, allocations: 10.49 MB / 1.13 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.3385, allocations: 47.75 kB / 1.13 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.3404, allocations: 0.7341 MB / 1.131 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003751/0.3443, allocations: 1.578 MB / 1.132 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.3474, allocations: 1.409 MB / 1.134 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004852/0.3523, allocations: 4.885 MB / 1.139 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.3546, allocations: 2.066 MB / 1.141 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.3577, allocations: 1.896 MB / 1.142 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.3593, allocations: 1.365 MB / 1.144 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.3595, allocations: 140 kB / 1.144 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3617, allocations: 1.174 MB / 1.145 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.3621, allocations: 466.3 kB / 1.146 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.3631, allocations: 1.014 MB / 1.147 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.3664, allocations: 2.936 MB / 1.149 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3664, allocations: 0 / 1.149 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3664, allocations: 3.938 kB / 1.149 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.3664, allocations: 0 / 1.149 GB, free: 2.316 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003433/0.3699, allocations: 2.384 MB / 1.152 GB, free: 15.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3699, allocations: 8.031 kB / 1.152 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.3716, allocations: 386.2 kB / 1.152 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.3745, allocations: 1.73 MB / 1.154 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.3746, allocations: 78 kB / 1.154 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3747, allocations: 104 kB / 1.154 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3767, allocations: 1.311 MB / 1.155 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.3768, allocations: 7.938 kB / 1.155 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.3769, allocations: 39.98 kB / 1.155 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3769, allocations: 28 kB / 1.155 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3789, allocations: 1.022 MB / 1.156 GB, free: 11.03 MB / 0.92 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.006732/0.3856, allocations: 6.552 MB / 1.163 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.387, allocations: 0.6228 MB / 1.163 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.3877, allocations: 414.2 kB / 1.164 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.3901, allocations: 1.731 MB / 1.165 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007606/0.3909, allocations: 375.4 kB / 1.166 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003259/0.3912, allocations: 83.33 kB / 1.166 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.3912, allocations: 0 / 1.166 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003437/0.3947, allocations: 1.374 MB / 1.167 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3947, allocations: 59.34 kB / 1.167 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.3967, allocations: 1.8 MB / 1.169 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.3968, allocations: 41.69 kB / 1.169 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/0.3975, allocations: 0.85 MB / 1.17 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3976, allocations: 165.8 kB / 1.17 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.3979, allocations: 182.5 kB / 1.17 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.398, allocations: 341.9 kB / 1.171 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.3987, allocations: 340.6 kB / 1.171 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.3997, allocations: 0.7635 MB / 1.172 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4013, allocations: 1.023 MB / 1.173 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4013, allocations: 7.938 kB / 1.173 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002584/0.4039, allocations: 1.343 MB / 1.174 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.404, allocations: 39.73 kB / 1.174 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.404, allocations: 12.75 kB / 1.174 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.4046, allocations: 180.7 kB / 1.174 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.4053, allocations: 191.7 kB / 1.174 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006678/0.406, allocations: 0.7669 MB / 1.175 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.4069, allocations: 60.47 kB / 1.175 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.591e-05/0.407, allocations: 51.92 kB / 1.175 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.4082, allocations: 0.736 MB / 1.176 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009771/0.4092, allocations: 0.7261 MB / 1.177 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.4107, allocations: 0.9715 MB / 1.178 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.184e-06/0.4107, allocations: 0 / 1.178 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002396/0.4131, allocations: 1.307 MB / 1.179 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.4132, allocations: 38.39 kB / 1.179 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4132, allocations: 12 kB / 1.179 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.4134, allocations: 128.7 kB / 1.179 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.414, allocations: 171.7 kB / 1.179 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4162, allocations: 2.318 MB / 1.181 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.4171, allocations: 56.62 kB / 1.181 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.4172, allocations: 47.98 kB / 1.182 GB, free: 15.57 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.4175, allocations: 247.9 kB / 1.182 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4178, allocations: 177.8 kB / 1.182 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.42, allocations: 1.041 MB / 1.183 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.42, allocations: 8 kB / 1.183 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.42, allocations: 0 / 1.183 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001659/0.4217, allocations: 0.9896 MB / 1.184 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.4255, allocations: 2.159 MB / 1.186 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4255, allocations: 0 / 1.186 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.426, allocations: 91.86 kB / 1.186 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.4263, allocations: 128.3 kB / 1.186 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.4263, allocations: 19.97 kB / 1.186 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.4269, allocations: 0.7356 MB / 1.187 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4269, allocations: 0 / 1.187 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.4295, allocations: 1.411 MB / 1.188 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.43, allocations: 299 kB / 1.189 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.4303, allocations: 8 kB / 1.189 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.431, allocations: 43.86 kB / 1.189 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4311, allocations: 40.39 kB / 1.189 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.4312, allocations: 35.91 kB / 1.189 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001817/0.433, allocations: 1.239 MB / 1.19 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.433, allocations: 0 / 1.19 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002343/0.4354, allocations: 0.7876 MB / 1.191 GB, free: 5.859 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.4364, allocations: 388.6 kB / 1.191 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.4397, allocations: 1.528 MB / 1.193 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4397, allocations: 4 kB / 1.193 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008335/0.4405, allocations: 359.2 kB / 1.193 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/0.4441, allocations: 0.7729 MB / 1.194 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.4493, allocations: 2.906 MB / 1.197 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.4507, allocations: 1.495 MB / 1.198 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001579/0.4523, allocations: 458 kB / 1.198 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.4526, allocations: 131.4 kB / 1.199 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of SimCode: time 6.91e-07/0.4526, allocations: 0 / 1.199 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.05322/0.5059, allocations: 31.85 MB / 1.23 GB, free: 14.34 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches