Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.12 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 159.9 MB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9295/1.271, allocations: 236.4 MB / 1.457 GB, free: 1.785 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02782/1.299, allocations: 17.53 MB / 1.474 GB, free: 216 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005313/1.304, allocations: 91.5 kB / 1.474 GB, free: 124 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006745/1.311, allocations: 2.131 MB / 1.476 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.321, allocations: 3.578 MB / 1.479 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007178/1.329, allocations: 2.583 MB / 1.482 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.341, allocations: 7.886 MB / 1.49 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/1.344, allocations: 1.93 MB / 1.491 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006385/1.351, allocations: 2.693 MB / 1.494 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/1.354, allocations: 1.62 MB / 1.496 GB, free: 9.633 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005432/1.355, allocations: 212 kB / 1.496 GB, free: 9.426 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007072/1.362, allocations: 3.598 MB / 1.499 GB, free: 5.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.363, allocations: 0.8919 MB / 1.5 GB, free: 4.926 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002534/1.366, allocations: 1.388 MB / 1.502 GB, free: 3.531 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.376, allocations: 4.932 MB / 1.506 GB, free: 14.58 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/1.376, allocations: 4 kB / 1.506 GB, free: 14.58 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.603e-06/1.376, allocations: 0 / 1.506 GB, free: 14.58 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001526/1.377, allocations: 0 / 1.506 GB, free: 14.58 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007619/1.384, allocations: 3.347 MB / 1.51 GB, free: 11.15 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.384, allocations: 12.03 kB / 1.51 GB, free: 11.14 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005832/1.39, allocations: 0.8885 MB / 1.511 GB, free: 10.25 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/1.395, allocations: 2.816 MB / 1.513 GB, free: 7.359 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.396, allocations: 110.6 kB / 1.513 GB, free: 7.25 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/1.396, allocations: 147.9 kB / 1.514 GB, free: 7.105 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/1.4, allocations: 1.668 MB / 1.515 GB, free: 5.359 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/1.4, allocations: 0 / 1.515 GB, free: 5.359 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/1.4, allocations: 60 kB / 1.515 GB, free: 5.301 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/1.4, allocations: 50.5 kB / 1.515 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/1.404, allocations: 1.454 MB / 1.517 GB, free: 3.793 MB / 1.201 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.01273/1.417, allocations: 8.138 MB / 1.525 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/1.42, allocations: 1.559 MB / 1.526 GB, free: 9.375 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/1.421, allocations: 0.5103 MB / 1.527 GB, free: 8.863 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.423, allocations: 0.7747 MB / 1.527 GB, free: 7.941 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/1.424, allocations: 0.543 MB / 1.528 GB, free: 7.383 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/1.424, allocations: 0 / 1.528 GB, free: 7.383 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.004322/1.428, allocations: 1.615 MB / 1.53 GB, free: 5.742 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.428, allocations: 64 kB / 1.53 GB, free: 5.664 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/1.432, allocations: 2.152 MB / 1.532 GB, free: 3.488 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.432, allocations: 49.7 kB / 1.532 GB, free: 3.434 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009937/1.433, allocations: 1.076 MB / 1.533 GB, free: 2.344 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/1.433, allocations: 313.4 kB / 1.533 GB, free: 2.035 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/1.434, allocations: 322.7 kB / 1.533 GB, free: 1.715 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/1.434, allocations: 305.1 kB / 1.534 GB, free: 1.414 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.435, allocations: 0.6202 MB / 1.534 GB, free: 0.793 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.437, allocations: 1.01 MB / 1.535 GB, free: 15.62 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/1.439, allocations: 1.547 MB / 1.537 GB, free: 13.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.439, allocations: 4 kB / 1.537 GB, free: 13.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004241/1.444, allocations: 1.911 MB / 1.539 GB, free: 12.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/1.444, allocations: 41.7 kB / 1.539 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/1.444, allocations: 12.78 kB / 1.539 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.444, allocations: 16 kB / 1.539 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.445, allocations: 323.5 kB / 1.539 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.445, allocations: 19.94 kB / 1.539 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.447, allocations: 187 kB / 1.539 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.447, allocations: 59.98 kB / 1.539 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002657/1.45, allocations: 1.117 MB / 1.54 GB, free: 10.24 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/1.452, allocations: 0.9988 MB / 1.541 GB, free: 9.098 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002929/1.455, allocations: 1.559 MB / 1.543 GB, free: 7.406 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/1.455, allocations: 4 kB / 1.543 GB, free: 7.402 MB / 1.232 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004273/1.459, allocations: 1.91 MB / 1.545 GB, free: 5.477 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/1.459, allocations: 41.7 kB / 1.545 GB, free: 5.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.459, allocations: 8 kB / 1.545 GB, free: 5.422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.459, allocations: 16 kB / 1.545 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.461, allocations: 331.5 kB / 1.545 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.184e-05/1.461, allocations: 19.94 kB / 1.545 GB, free: 5.062 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.463, allocations: 159.5 kB / 1.545 GB, free: 4.906 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.463, allocations: 63.98 kB / 1.545 GB, free: 4.844 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004356/1.463, allocations: 263.8 kB / 1.546 GB, free: 4.578 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/1.464, allocations: 222.5 kB / 1.546 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/1.467, allocations: 1.189 MB / 1.547 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/1.467, allocations: 8 kB / 1.547 GB, free: 3.148 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.468, allocations: 0.625 kB / 1.547 GB, free: 3.148 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/1.47, allocations: 1.235 MB / 1.548 GB, free: 1.828 MB / 1.232 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 postOpt removeSimpleEquations (simulation): time 0.007369/1.477, allocations: 3.104 MB / 1.551 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.477, allocations: 0 / 1.551 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.479, allocations: 191.9 kB / 1.551 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/1.479, allocations: 49.02 kB / 1.551 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/1.479, allocations: 23.98 kB / 1.551 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.481, allocations: 1.531 MB / 1.553 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.481, allocations: 4 kB / 1.553 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/1.485, allocations: 1.772 MB / 1.555 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.486, allocations: 411.3 kB / 1.555 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/1.487, allocations: 23.98 kB / 1.555 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.488, allocations: 67.94 kB / 1.555 GB, free: 10.37 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.488, allocations: 64.5 kB / 1.555 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/1.488, allocations: 27.98 kB / 1.555 GB, free: 10.28 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003129/1.492, allocations: 1.433 MB / 1.557 GB, free: 8.832 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.01e-07/1.492, allocations: 0 / 1.557 GB, free: 8.832 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003962/1.496, allocations: 1.119 MB / 1.558 GB, free: 7.711 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (82): * Single equations (assignments): 79 * 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.002194/1.498, allocations: 0.7311 MB / 1.558 GB, free: 7.113 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0054/1.503, allocations: 2.303 MB / 1.561 GB, free: 4.789 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.503, allocations: 4.125 kB / 1.561 GB, free: 4.785 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.505, allocations: 0.6077 MB / 1.561 GB, free: 4.16 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/1.511, allocations: 1.012 MB / 1.562 GB, free: 3.176 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.521, allocations: 4.261 MB / 1.566 GB, free: 14.86 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/1.523, allocations: 1.66 MB / 1.568 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002512/1.526, allocations: 0.5596 MB / 1.569 GB, free: 12.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/1.526, allocations: 159.4 kB / 1.569 GB, free: 12.45 MB / 1.264 GB Notification: Performance of SimCode: time 8.61e-07/1.526, allocations: 4 kB / 1.569 GB, free: 12.44 MB / 1.264 GB Notification: Performance of Templates: time 0.07149/1.598, allocations: 39.32 MB / 1.607 GB, free: 5.617 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches