Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 111.4 kB / 16.37 MB, free: 5.984 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.001189/0.001189, allocations: 194.6 kB / 17.31 MB, free: 5.602 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.15 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.52 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01419/0.3214, allocations: 6.299 MB / 0.9573 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.3321, allocations: 4.53 MB / 0.9617 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3334, allocations: 23.88 kB / 0.9617 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004377/0.3378, allocations: 0.9142 MB / 0.9626 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3426, allocations: 0.7762 MB / 0.9634 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.3443, allocations: 319.5 kB / 0.9637 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.3474, allocations: 1.136 MB / 0.9648 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3493, allocations: 0.6888 MB / 0.9655 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3506, allocations: 470.4 kB / 0.9659 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.3522, allocations: 0.5019 MB / 0.9664 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.3525, allocations: 72 kB / 0.9665 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.3538, allocations: 279.5 kB / 0.9667 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.3543, allocations: 247.3 kB / 0.967 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3554, allocations: 413.9 kB / 0.9674 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.358, allocations: 1.071 MB / 0.9684 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3581, allocations: 0 / 0.9684 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3581, allocations: 0 / 0.9684 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.3581, allocations: 0 / 0.9684 GB, free: 6.32 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00421/0.3624, allocations: 1.098 MB / 0.9695 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3624, allocations: 12.03 kB / 0.9695 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.3685, allocations: 0.628 MB / 0.9701 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.3707, allocations: 0.5697 MB / 0.9707 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.3708, allocations: 41.67 kB / 0.9707 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.3711, allocations: 52.12 kB / 0.9707 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/0.3752, allocations: 1.018 MB / 0.9717 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.3753, allocations: 3.938 kB / 0.9717 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3754, allocations: 19.98 kB / 0.9718 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.3756, allocations: 57.28 kB / 0.9718 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.3802, allocations: 1.008 MB / 0.9728 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.3887, allocations: 3.47 MB / 0.9762 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.3915, allocations: 499.4 kB / 0.9767 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.3926, allocations: 220.7 kB / 0.9769 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.3926, allocations: 12.5 kB / 0.9769 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.3927, allocations: 46.55 kB / 0.9769 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/0.3927, allocations: 0 / 0.9769 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.0128/0.4055, allocations: 2.011 MB / 0.9789 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.4057, allocations: 55.41 kB / 0.979 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.407, allocations: 0.5704 MB / 0.9795 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/0.4072, allocations: 41.7 kB / 0.9795 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.4076, allocations: 348.2 kB / 0.9799 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.408, allocations: 149.8 kB / 0.98 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.4083, allocations: 90.16 kB / 0.9801 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.4086, allocations: 374.7 kB / 0.9805 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.4099, allocations: 258.9 kB / 0.9807 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.4114, allocations: 369.7 kB / 0.9811 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.4139, allocations: 0.6226 MB / 0.9817 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4139, allocations: 0 / 0.9817 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004577/0.4185, allocations: 0.9311 MB / 0.9826 GB, free: 7.109 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.4186, allocations: 8 kB / 0.9826 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.4186, allocations: 4 kB / 0.9826 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.4208, allocations: 277.1 kB / 0.9829 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.422, allocations: 115.8 kB / 0.983 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.4352, allocations: 9.106 MB / 0.9919 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4365, allocations: 44.02 kB / 0.9919 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4367, allocations: 19.98 kB / 0.9919 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001601/0.4383, allocations: 437 kB / 0.9923 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.4395, allocations: 357.4 kB / 0.9927 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002614/0.4421, allocations: 0.609 MB / 0.9933 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/0.4422, allocations: 4 kB / 0.9933 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.004467/0.4466, allocations: 1.117 MB / 0.9944 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4467, allocations: 11.94 kB / 0.9944 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4467, allocations: 4.344 kB / 0.9944 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.4482, allocations: 221 kB / 0.9946 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4493, allocations: 123.8 kB / 0.9947 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.4607, allocations: 8.792 MB / 1.003 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.462, allocations: 47.94 kB / 1.003 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4621, allocations: 12 kB / 1.003 GB, free: 15.96 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.4625, allocations: 223.3 kB / 1.004 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.4628, allocations: 71.16 kB / 1.004 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4631, allocations: 78.38 kB / 1.004 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4631, allocations: 4 kB / 1.004 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.4632, allocations: 7.984 kB / 1.004 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4632, allocations: 0 / 1.004 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.4648, allocations: 0.6416 MB / 1.004 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.4648, allocations: 4 kB / 1.004 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.4658, allocations: 83.92 kB / 1.004 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.4674, allocations: 265 kB / 1.005 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.4675, allocations: 7.984 kB / 1.005 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.4792, allocations: 9.07 MB / 1.014 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4793, allocations: 7.969 kB / 1.014 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.483, allocations: 0.9169 MB / 1.014 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.4835, allocations: 180.5 kB / 1.015 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4837, allocations: 11.98 kB / 1.015 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.4846, allocations: 35.95 kB / 1.015 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.4848, allocations: 43.88 kB / 1.015 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.4849, allocations: 19.98 kB / 1.015 GB, free: 3.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007841/0.4857, allocations: 403.1 kB / 1.015 GB, free: 2.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4857, allocations: 0 / 1.015 GB, free: 2.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001931/0.4877, allocations: 300 kB / 1.015 GB, free: 2.656 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.4879, allocations: 107.2 kB / 1.016 GB, free: 2.543 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006255/0.4942, allocations: 2.36 MB / 1.018 GB, free: 28 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4943, allocations: 0 / 1.018 GB, free: 28 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.4967, allocations: 1.004 MB / 1.019 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.4986, allocations: 236.6 kB / 1.019 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5025, allocations: 1.291 MB / 1.02 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.5034, allocations: 0.9859 MB / 1.021 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009004/0.5043, allocations: 153.3 kB / 1.021 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.5045, allocations: 43.42 kB / 1.021 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/0.5045, allocations: 0 / 1.021 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.03947/0.544, allocations: 13.46 MB / 1.035 GB, free: 14.88 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches