Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001563, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001766/0.001766, allocations: 191.5 kB / 16.25 MB, free: 6.645 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.727/2.727, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7598, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004244/0.7641, allocations: 2.678 MB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.7665, allocations: 1.476 MB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.7666, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.7674, allocations: 222.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.7678, allocations: 163.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.7682, allocations: 139.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.7685, allocations: 227.3 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.7689, allocations: 198.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.7691, allocations: 99.61 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.7694, allocations: 131.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.7694, allocations: 12 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.7698, allocations: 223.6 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.7699, allocations: 63.88 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.77, allocations: 91.53 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.7705, allocations: 336.9 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7705, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7705, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7705, allocations: 0 / 1.023 GB, free: 12.68 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008906/0.7714, allocations: 499 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7715, allocations: 12.03 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.7721, allocations: 76.64 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.7724, allocations: 228.1 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.7725, allocations: 12.7 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.7725, allocations: 20.36 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.773, allocations: 316.4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.7731, allocations: 3.938 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.7731, allocations: 11.98 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.7732, allocations: 28.27 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.7736, allocations: 252.6 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.7754, allocations: 1.622 MB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.7761, allocations: 419.1 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7762, allocations: 85.66 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.7764, allocations: 85.09 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7764, allocations: 50.55 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.7764, allocations: 0 / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.000637/0.7771, allocations: 308.6 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.7771, allocations: 81.05 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.7773, allocations: 173.2 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.7773, allocations: 29.7 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.7775, allocations: 148 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.7775, allocations: 55.3 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.7776, allocations: 45.61 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7778, allocations: 330.8 kB / 1.027 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.7779, allocations: 80.81 kB / 1.027 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.7781, allocations: 150.9 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.7785, allocations: 241.2 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7785, allocations: 0 / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004303/0.7789, allocations: 285.3 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.779, allocations: 9.719 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.779, allocations: 0 / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.779, allocations: 7.938 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.7793, allocations: 55.89 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7793, allocations: 7.938 kB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.7794, allocations: 15.98 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.7795, allocations: 8 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002029/0.7797, allocations: 176.1 kB / 1.028 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001643/0.7798, allocations: 151.1 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002677/0.7801, allocations: 240.2 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.7801, allocations: 0 / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003396/0.7805, allocations: 245.2 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.7805, allocations: 8 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7805, allocations: 4 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.7805, allocations: 4.344 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7807, allocations: 63.83 kB / 1.029 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7807, allocations: 4 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.7808, allocations: 15.98 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.7808, allocations: 8 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001113/0.781, allocations: 196.7 kB / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.781, allocations: 15.81 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.7814, allocations: 199.8 kB / 1.029 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7814, allocations: 4 kB / 1.029 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7814, allocations: 192 / 1.029 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7814, allocations: 3.938 kB / 1.029 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7827, allocations: 0.9689 MB / 1.03 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7827, allocations: 4.438 kB / 1.03 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.7829, allocations: 43.91 kB / 1.03 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.7829, allocations: 4 kB / 1.03 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.7829, allocations: 4 kB / 1.03 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7829, allocations: 4 kB / 1.03 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7829, allocations: 7.938 kB / 1.03 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.7833, allocations: 438.1 kB / 1.031 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.7835, allocations: 108.9 kB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.7835, allocations: 15.92 kB / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.7837, allocations: 11.98 kB / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.7837, allocations: 15.92 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7837, allocations: 8 kB / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001134/0.7839, allocations: 132 kB / 1.031 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7839, allocations: 0 / 1.031 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004869/0.7844, allocations: 72 kB / 1.031 GB, free: 3.113 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * 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 (14): * Single equations (assignments): 14 * 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.0002087/0.7846, allocations: 115.2 kB / 1.031 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.7851, allocations: 308.1 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.7851, allocations: 0 / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.7852, allocations: 83.77 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.7857, allocations: 46.41 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.7866, allocations: 0.5436 MB / 1.032 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.7869, allocations: 0.7441 MB / 1.033 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.7871, allocations: 77.45 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.7872, allocations: 23.44 kB / 1.033 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7872, allocations: 0 / 1.033 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of Templates: time 0.00452/0.7917, allocations: 1.804 MB / 1.035 GB, free: 15.3 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches