Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001583/0.001583, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001756/0.001757, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 68.03 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3769, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004838/0.3818, allocations: 2.637 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.3843, allocations: 1.492 MB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3844, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.3853, allocations: 227.1 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.3858, allocations: 187.2 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3861, allocations: 151.6 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3865, allocations: 227.3 kB / 1.032 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.3868, allocations: 174.5 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.387, allocations: 95.67 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.3872, allocations: 115.6 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.3873, allocations: 12 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.3876, allocations: 227.5 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3877, allocations: 75.8 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.985e-05/0.3878, allocations: 91.53 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.3882, allocations: 330.9 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3882, allocations: 0 / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3883, allocations: 4 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3883, allocations: 0 / 1.033 GB, free: 12.04 MB / 0.8106 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.0007538/0.389, allocations: 487.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3891, allocations: 12.03 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.3897, allocations: 72.66 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.39, allocations: 236 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.39, allocations: 12.7 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.3901, allocations: 20.36 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.3906, allocations: 316.4 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3906, allocations: 7.922 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3906, allocations: 4 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.3907, allocations: 28.27 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.391, allocations: 248.6 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3927, allocations: 1.622 MB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.3934, allocations: 415.2 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3935, allocations: 89.66 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.3937, allocations: 85.09 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3937, allocations: 38.55 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3937, allocations: 4 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.000662/0.3944, allocations: 308.6 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.3945, allocations: 81.05 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3947, allocations: 180.7 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3947, allocations: 25.7 kB / 1.037 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.3948, allocations: 147.9 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.3948, allocations: 51.2 kB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.3949, allocations: 49.69 kB / 1.037 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3951, allocations: 327 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3952, allocations: 84.81 kB / 1.037 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3954, allocations: 147.8 kB / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3957, allocations: 253.2 kB / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3957, allocations: 0 / 1.038 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003815/0.3961, allocations: 270.2 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3961, allocations: 4 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3961, allocations: 8.438 kB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3962, allocations: 11.94 kB / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3964, allocations: 59.83 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3964, allocations: 7.938 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3966, allocations: 15.98 kB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3966, allocations: 8 kB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000172/0.3968, allocations: 176.1 kB / 1.038 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001464/0.3969, allocations: 150.3 kB / 1.038 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002609/0.3972, allocations: 232.8 kB / 1.039 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.626e-06/0.3972, allocations: 3.984 kB / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003446/0.3975, allocations: 253.2 kB / 1.039 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3976, allocations: 8 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3976, allocations: 7.984 kB / 1.039 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.3976, allocations: 4 kB / 1.039 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3978, allocations: 51.84 kB / 1.039 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3978, allocations: 8 kB / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3979, allocations: 20.27 kB / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3979, allocations: 12 kB / 1.039 GB, free: 4.902 MB / 0.8106 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.000123/0.398, allocations: 192.2 kB / 1.039 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3981, allocations: 19.84 kB / 1.039 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.3985, allocations: 203.7 kB / 1.039 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3985, allocations: 4 kB / 1.039 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3985, allocations: 0 / 1.039 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3985, allocations: 4 kB / 1.039 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3997, allocations: 0.9689 MB / 1.04 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3997, allocations: 4 kB / 1.04 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3998, allocations: 35.91 kB / 1.04 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3999, allocations: 4 kB / 1.04 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3999, allocations: 8 kB / 1.04 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3999, allocations: 4.438 kB / 1.04 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3999, allocations: 11.94 kB / 1.04 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.4003, allocations: 428.8 kB / 1.041 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4004, allocations: 108.9 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4004, allocations: 4 kB / 1.041 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4006, allocations: 19.98 kB / 1.041 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.4007, allocations: 19.86 kB / 1.041 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4007, allocations: 12 kB / 1.041 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001095/0.4008, allocations: 132.2 kB / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4008, allocations: 0 / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004982/0.4013, allocations: 79.98 kB / 1.041 GB, free: 2.465 MB / 0.8106 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.0001623/0.4015, allocations: 111.1 kB / 1.041 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.4019, allocations: 306.5 kB / 1.042 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4019, allocations: 0 / 1.042 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4021, allocations: 95.94 kB / 1.042 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.4025, allocations: 35.86 kB / 1.042 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.4033, allocations: 477.5 kB / 1.042 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4037, allocations: 0.748 MB / 1.043 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.4039, allocations: 81.45 kB / 1.043 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4039, allocations: 19.44 kB / 1.043 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.4039, allocations: 0 / 1.043 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of Templates: time 0.004805/0.4087, allocations: 1.794 MB / 1.045 GB, free: 14.73 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches