Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009608, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009734/0.0009734, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.816/2.816, allocations: 436.5 MB / 0.7104 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004097, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.897, allocations: 153.6 MB / 1.021 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.038/0.9351, allocations: 32.69 MB / 1.053 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.9599, allocations: 12.54 MB / 1.065 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007862/0.9678, allocations: 139.1 kB / 1.065 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005579/0.9735, allocations: 0.7453 MB / 1.066 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009616/0.9831, allocations: 1.881 MB / 1.068 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007001/0.9902, allocations: 1.646 MB / 1.069 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.002, allocations: 4.852 MB / 1.074 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02431/1.026, allocations: 11.44 MB / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008585/1.035, allocations: 2.635 MB / 1.088 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008944/1.044, allocations: 2.674 MB / 1.09 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00284/1.047, allocations: 316 kB / 1.091 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/1.052, allocations: 0.6517 MB / 1.091 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005571/1.058, allocations: 2.245 MB / 1.094 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004026/1.062, allocations: 1.182 MB / 1.095 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/1.076, allocations: 9.574 MB / 1.104 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.076, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/1.076, allocations: 4 kB / 1.104 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005583/1.077, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01717/1.094, allocations: 5.163 MB / 1.109 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.094, allocations: 11.98 kB / 1.109 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009475/1.104, allocations: 1.277 MB / 1.11 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.116, allocations: 3.471 MB / 1.114 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/1.117, allocations: 382.1 kB / 1.114 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/1.119, allocations: 0.5037 MB / 1.115 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.145, allocations: 8.804 MB / 1.123 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.146, allocations: 19.78 kB / 1.123 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003343/1.149, allocations: 227.9 kB / 1.123 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002807/1.152, allocations: 0.6304 MB / 1.124 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/1.17, allocations: 6.979 MB / 1.131 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06747/1.238, allocations: 40.42 MB / 1.17 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/1.243, allocations: 2.878 MB / 1.173 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/1.244, allocations: 30.09 kB / 1.173 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.061e-05/1.244, allocations: 68.66 kB / 1.173 GB, free: 1.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=265): time 7.484e-06/1.244, allocations: 0 / 1.173 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=424): time 0.3078/1.552, allocations: 77.43 MB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.552, allocations: 94.73 kB / 1.249 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.555, allocations: 2.336 MB / 1.251 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008393/1.556, allocations: 97.7 kB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6725/2.229, allocations: 2.329 MB / 1.254 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/2.231, allocations: 1.438 MB / 1.255 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/2.231, allocations: 89.22 kB / 1.255 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002841/2.232, allocations: 479.9 kB / 1.256 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/2.237, allocations: 2.982 MB / 1.258 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006604/2.244, allocations: 3.809 MB / 1.262 GB, free: 205 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/2.252, allocations: 3.554 MB / 1.266 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/2.252, allocations: 6.375 kB / 1.266 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03468/2.286, allocations: 12.5 MB / 1.278 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/2.286, allocations: 17.16 kB / 1.278 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/2.286, allocations: 22.47 kB / 1.278 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/2.308, allocations: 6.012 MB / 1.284 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/2.311, allocations: 492.6 kB / 1.284 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06798/2.379, allocations: 69.29 MB / 1.352 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005369/2.384, allocations: 215.8 kB / 1.352 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/2.386, allocations: 152.7 kB / 1.352 GB, free: 134.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004657/2.39, allocations: 1.996 MB / 1.354 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/2.392, allocations: 391.4 kB / 1.355 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/2.416, allocations: 12.19 MB / 1.366 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/2.416, allocations: 40 kB / 1.366 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001725/2.416, allocations: 48 kB / 1.367 GB, free: 119.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.678e-05/2.416, allocations: 19.92 kB / 1.367 GB, free: 119.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03709/2.453, allocations: 19.12 MB / 1.385 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.518e-05/2.453, allocations: 8 kB / 1.385 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/2.455, allocations: 287.7 kB / 1.386 GB, free: 99.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/2.475, allocations: 5.563 MB / 1.391 GB, free: 94.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009412/2.476, allocations: 79.98 kB / 1.391 GB, free: 94.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06331/2.539, allocations: 66.91 MB / 1.456 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.539, allocations: 8 kB / 1.456 GB, free: 24.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0279/2.567, allocations: 16.21 MB / 1.472 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003158/2.57, allocations: 1.051 MB / 1.473 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/2.571, allocations: 87.94 kB / 1.473 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/2.574, allocations: 211.7 kB / 1.474 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/2.575, allocations: 398.3 kB / 1.474 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/2.576, allocations: 108 kB / 1.474 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001946/2.578, allocations: 1.53 MB / 1.475 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.578, allocations: 8 kB / 1.475 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006881/2.585, allocations: 1.859 MB / 1.477 GB, free: 2.297 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007134/2.585, allocations: 232.8 kB / 1.478 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02123/2.607, allocations: 12.17 MB / 1.489 GB, free: 5.586 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/2.607, allocations: 8.062 kB / 1.489 GB, free: 5.578 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/2.623, allocations: 8.376 MB / 1.498 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/2.629, allocations: 1.038 MB / 1.499 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/2.651, allocations: 14.26 MB / 1.513 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005746/2.657, allocations: 4.186 MB / 1.517 GB, free: 9.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002723/2.66, allocations: 0.6746 MB / 1.517 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/2.66, allocations: 179.4 kB / 1.517 GB, free: 8.469 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/2.661, allocations: 8 kB / 1.517 GB, free: 8.461 MB / 1.045 GB Notification: Performance of Templates: time 0.1808/2.841, allocations: 102.5 MB / 1.618 GB, free: 2.891 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches