Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 103 kB / 16.35 MB, free: 5.828 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.001594/0.001594, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 65.52 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3201, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01973/0.3399, allocations: 17.45 MB / 0.9682 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007323/0.3472, allocations: 4.929 MB / 0.973 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007086/0.348, allocations: 15.88 kB / 0.973 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.349, allocations: 250.4 kB / 0.9732 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.3507, allocations: 0.6139 MB / 0.9738 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.3528, allocations: 0.7319 MB / 0.9745 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3541, allocations: 0.9702 MB / 0.9755 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.3546, allocations: 337.5 kB / 0.9758 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.3553, allocations: 414.2 kB / 0.9762 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.3557, allocations: 314.6 kB / 0.9765 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.3558, allocations: 28 kB / 0.9765 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.3571, allocations: 0.7214 MB / 0.9772 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3573, allocations: 139.5 kB / 0.9774 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.3575, allocations: 250.5 kB / 0.9776 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.3587, allocations: 0.8763 MB / 0.9785 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3587, allocations: 0 / 0.9785 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3587, allocations: 0 / 0.9785 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3588, allocations: 4 kB / 0.9785 GB, free: 11.92 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001234/0.36, allocations: 0.8758 MB / 0.9793 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3601, allocations: 8.031 kB / 0.9793 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3602, allocations: 64.27 kB / 0.9794 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.3609, allocations: 461.7 kB / 0.9798 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3609, allocations: 24.5 kB / 0.9799 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.361, allocations: 28 kB / 0.9799 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.3615, allocations: 286.2 kB / 0.9802 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3615, allocations: 4 kB / 0.9802 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3615, allocations: 8 kB / 0.9802 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3615, allocations: 8 kB / 0.9802 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.3619, allocations: 190.1 kB / 0.9804 GB, free: 9.871 MB / 0.7637 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.001823/0.3638, allocations: 1.476 MB / 0.9818 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.3641, allocations: 162.8 kB / 0.982 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3643, allocations: 80.8 kB / 0.982 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.3658, allocations: 1.28 MB / 0.9833 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3659, allocations: 34.5 kB / 0.9833 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3659, allocations: 4 kB / 0.9833 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0006091/0.3665, allocations: 251.8 kB / 0.9836 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3665, allocations: 51.41 kB / 0.9836 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.3672, allocations: 0.5847 MB / 0.9842 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3672, allocations: 33.7 kB / 0.9842 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3674, allocations: 268 kB / 0.9845 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.3674, allocations: 59.28 kB / 0.9845 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.3675, allocations: 69.88 kB / 0.9846 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3677, allocations: 358.8 kB / 0.9849 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.3679, allocations: 81.88 kB / 0.985 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3682, allocations: 210.7 kB / 0.9852 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.3686, allocations: 239.2 kB / 0.9854 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3686, allocations: 4 kB / 0.9854 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005709/0.3692, allocations: 306.7 kB / 0.9857 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.3692, allocations: 15.92 kB / 0.9857 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3692, allocations: 0 / 0.9857 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3692, allocations: 4 kB / 0.9858 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.3695, allocations: 64.16 kB / 0.9858 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3695, allocations: 7.938 kB / 0.9858 GB, free: 3.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.3698, allocations: 43.67 kB / 0.9859 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.3699, allocations: 15.98 kB / 0.9859 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002819/0.3701, allocations: 212.6 kB / 0.9861 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002589/0.3704, allocations: 205.6 kB / 0.9863 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003468/0.3708, allocations: 231.2 kB / 0.9865 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.3708, allocations: 8 kB / 0.9865 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005194/0.3713, allocations: 308.6 kB / 0.9868 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3713, allocations: 8 kB / 0.9868 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3713, allocations: 11.94 kB / 0.9868 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.3713, allocations: 4 kB / 0.9868 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3716, allocations: 60.16 kB / 0.9869 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3716, allocations: 4 kB / 0.9869 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3719, allocations: 39.81 kB / 0.9869 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3719, allocations: 12 kB / 0.9869 GB, free: 2.582 MB / 0.7637 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 (33): * Single equations (assignments): 33 * 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.0001373/0.3721, allocations: 200.1 kB / 0.9871 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3721, allocations: 51.36 kB / 0.9872 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.3727, allocations: 267.9 kB / 0.9874 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.3727, allocations: 7.984 kB / 0.9874 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3727, allocations: 3.984 kB / 0.9874 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3728, allocations: 0 / 0.9874 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/0.3737, allocations: 0.7317 MB / 0.9882 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3738, allocations: 4 kB / 0.9882 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3739, allocations: 23.98 kB / 0.9882 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3739, allocations: 4 kB / 0.9882 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3739, allocations: 11.98 kB / 0.9882 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3739, allocations: 3.938 kB / 0.9882 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3739, allocations: 4 kB / 0.9882 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.3744, allocations: 346.3 kB / 0.9885 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3745, allocations: 148.4 kB / 0.9887 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3746, allocations: 0 / 0.9887 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3748, allocations: 19.98 kB / 0.9887 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3749, allocations: 16.05 kB / 0.9887 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3749, allocations: 8 kB / 0.9887 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004395/0.3753, allocations: 422.8 kB / 0.9891 GB, free: 220 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3753, allocations: 0 / 0.9891 GB, free: 220 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007641/0.3761, allocations: 231.7 kB / 0.9893 GB, free: 15.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001181/0.3773, allocations: 0.4903 MB / 0.9898 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.378, allocations: 315.5 kB / 0.9901 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.378, allocations: 4 kB / 0.9901 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3782, allocations: 88.83 kB / 0.9902 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3793, allocations: 272.3 kB / 0.9905 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3806, allocations: 0.8013 MB / 0.9913 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.381, allocations: 0.8467 MB / 0.9921 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.3813, allocations: 96.27 kB / 0.9922 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.3813, allocations: 43.42 kB / 0.9922 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.3814, allocations: 4 kB / 0.9922 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.01737/0.3987, allocations: 10.16 MB / 1.002 GB, free: 3.086 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches