Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001775/0.001775, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.38 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2748, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9243/1.199, allocations: 342.5 MB / 1.285 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.05272/1.252, allocations: 36.55 MB / 1.32 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006888/1.259, allocations: 135.2 kB / 1.321 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007484/1.266, allocations: 2.346 MB / 1.323 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01754/1.284, allocations: 5.769 MB / 1.328 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/1.292, allocations: 3.039 MB / 1.331 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0129/1.305, allocations: 8.549 MB / 1.34 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007915/1.313, allocations: 4.186 MB / 1.344 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01213/1.325, allocations: 4.901 MB / 1.349 GB, free: 9.215 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/1.33, allocations: 2.707 MB / 1.351 GB, free: 6.512 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001429/1.332, allocations: 376 kB / 1.352 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.343, allocations: 5.118 MB / 1.357 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002509/1.345, allocations: 1.266 MB / 1.358 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004811/1.35, allocations: 2.076 MB / 1.36 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/1.364, allocations: 7.012 MB / 1.367 GB, free: 6.629 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.364, allocations: 0 / 1.367 GB, free: 6.629 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.715e-06/1.364, allocations: 0 / 1.367 GB, free: 6.629 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001742/1.365, allocations: 0 / 1.367 GB, free: 6.629 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.009513/1.374, allocations: 4.356 MB / 1.371 GB, free: 2.188 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.374, allocations: 8.031 kB / 1.371 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009204/1.383, allocations: 1.47 MB / 1.372 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/1.391, allocations: 2.759 MB / 1.375 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/1.392, allocations: 449.9 kB / 1.376 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007916/1.393, allocations: 259.9 kB / 1.376 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/1.401, allocations: 3.395 MB / 1.379 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/1.401, allocations: 0 / 1.379 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004642/1.402, allocations: 100 kB / 1.379 GB, free: 9.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/1.402, allocations: 108.9 kB / 1.379 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/1.412, allocations: 3.029 MB / 1.382 GB, free: 6.402 MB / 1.045 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.0344/1.446, allocations: 14.42 MB / 1.396 GB, free: 6.895 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/1.452, allocations: 1.629 MB / 1.398 GB, free: 5.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002492/1.455, allocations: 0.7072 MB / 1.399 GB, free: 4.504 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/1.455, allocations: 300.3 kB / 1.399 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002781/1.458, allocations: 0.845 MB / 1.4 GB, free: 3.293 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 3.527e-06/1.458, allocations: 0 / 1.4 GB, free: 3.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=104): time 0.006593/1.465, allocations: 2.209 MB / 1.402 GB, free: 1.051 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/1.465, allocations: 119.8 kB / 1.402 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/1.469, allocations: 2.63 MB / 1.405 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002932/1.47, allocations: 53.7 kB / 1.405 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.471, allocations: 1.581 MB / 1.406 GB, free: 12.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/1.472, allocations: 374.8 kB / 1.407 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006013/1.472, allocations: 367 kB / 1.407 GB, free: 11.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.472, allocations: 305.1 kB / 1.407 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.474, allocations: 0.8089 MB / 1.408 GB, free: 10.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/1.477, allocations: 1.515 MB / 1.409 GB, free: 8.922 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.482, allocations: 2.217 MB / 1.412 GB, free: 6.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.482, allocations: 12 kB / 1.412 GB, free: 6.398 MB / 1.076 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00595/1.488, allocations: 2.527 MB / 1.414 GB, free: 3.855 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/1.488, allocations: 41.7 kB / 1.414 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.488, allocations: 23.98 kB / 1.414 GB, free: 3.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/1.488, allocations: 32 kB / 1.414 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.49, allocations: 491.4 kB / 1.415 GB, free: 3.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-05/1.49, allocations: 47.86 kB / 1.415 GB, free: 3.227 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.493, allocations: 394.3 kB / 1.415 GB, free: 2.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.493, allocations: 91.91 kB / 1.415 GB, free: 2.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003493/1.496, allocations: 1.476 MB / 1.417 GB, free: 1.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002553/1.499, allocations: 1.503 MB / 1.418 GB, free: 15.45 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004111/1.503, allocations: 2.195 MB / 1.42 GB, free: 12.95 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/1.503, allocations: 4 kB / 1.42 GB, free: 12.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005883/1.509, allocations: 2.507 MB / 1.423 GB, free: 10.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.509, allocations: 45.69 kB / 1.423 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/1.509, allocations: 20.62 kB / 1.423 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/1.509, allocations: 36 kB / 1.423 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/1.511, allocations: 475.3 kB / 1.423 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/1.511, allocations: 43.86 kB / 1.423 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/1.514, allocations: 335.3 kB / 1.424 GB, free: 9.484 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.514, allocations: 99.91 kB / 1.424 GB, free: 9.387 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 1 * 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.0004669/1.514, allocations: 300.8 kB / 1.424 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/1.515, allocations: 276.5 kB / 1.424 GB, free: 8.812 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/1.519, allocations: 1.703 MB / 1.426 GB, free: 7.086 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.519, allocations: 12 kB / 1.426 GB, free: 7.074 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.519, allocations: 0 / 1.426 GB, free: 7.074 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003082/1.522, allocations: 1.337 MB / 1.427 GB, free: 5.707 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007992/1.53, allocations: 4.377 MB / 1.432 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.53, allocations: 8 kB / 1.432 GB, free: 1.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.532, allocations: 244.2 kB / 1.432 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/1.532, allocations: 52.83 kB / 1.432 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/1.532, allocations: 39.92 kB / 1.432 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/1.533, allocations: 1.543 MB / 1.433 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/1.533, allocations: 7.938 kB / 1.433 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/1.539, allocations: 2.528 MB / 1.436 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/1.54, allocations: 0.5012 MB / 1.436 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/1.54, allocations: 31.98 kB / 1.436 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.542, allocations: 146.1 kB / 1.436 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.542, allocations: 88.38 kB / 1.437 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.542, allocations: 55.91 kB / 1.437 GB, free: 11.66 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002837/1.545, allocations: 1.799 MB / 1.438 GB, free: 9.867 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.81e-07/1.545, allocations: 0 / 1.438 GB, free: 9.867 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003732/1.549, allocations: 1.527 MB / 1.44 GB, free: 8.336 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009838/1.55, allocations: 441.7 kB / 1.44 GB, free: 7.91 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007812/1.557, allocations: 3.128 MB / 1.443 GB, free: 4.77 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.557, allocations: 0 / 1.443 GB, free: 4.77 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.559, allocations: 0.8127 MB / 1.444 GB, free: 3.941 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/1.566, allocations: 1.293 MB / 1.445 GB, free: 2.672 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.578, allocations: 5.807 MB / 1.451 GB, free: 12.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/1.58, allocations: 2.107 MB / 1.453 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009682/1.581, allocations: 219.3 kB / 1.453 GB, free: 10.39 MB / 1.123 GB Notification: Performance of SimCode: time 1.373e-06/1.581, allocations: 3.938 kB / 1.453 GB, free: 10.39 MB / 1.123 GB Notification: Performance of Templates: time 0.07911/1.66, allocations: 55.51 MB / 1.508 GB, free: 3.152 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches