Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005742/0.005742, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001356/0.001356, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.84 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8349, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1731/1.008, allocations: 161.6 MB / 1.366 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002937/1.011, allocations: 1.753 MB / 1.367 GB, free: 9.824 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/1.011, allocations: 11.94 kB / 1.367 GB, free: 9.812 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/1.012, allocations: 166.9 kB / 1.367 GB, free: 9.648 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/1.013, allocations: 0.5282 MB / 1.368 GB, free: 9.121 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.014, allocations: 390.3 kB / 1.368 GB, free: 8.742 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002484/1.017, allocations: 2.524 MB / 1.371 GB, free: 6.211 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/1.018, allocations: 0.9294 MB / 1.372 GB, free: 5.266 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/1.019, allocations: 1.039 MB / 1.373 GB, free: 4.223 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/1.02, allocations: 0.7 MB / 1.373 GB, free: 3.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/1.02, allocations: 56 kB / 1.373 GB, free: 3.465 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/1.022, allocations: 0.7445 MB / 1.374 GB, free: 2.719 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/1.022, allocations: 306.9 kB / 1.374 GB, free: 2.418 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/1.022, allocations: 0.5479 MB / 1.375 GB, free: 1.867 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/1.024, allocations: 1.382 MB / 1.376 GB, free: 492 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.024, allocations: 3.984 kB / 1.376 GB, free: 488 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.122e-06/1.024, allocations: 8 kB / 1.376 GB, free: 480 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.024, allocations: 0 / 1.376 GB, free: 480 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002275/1.026, allocations: 1.455 MB / 1.378 GB, free: 14.95 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.026, allocations: 12.03 kB / 1.378 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/1.027, allocations: 182.5 kB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.028, allocations: 0.8606 MB / 1.379 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/1.028, allocations: 41 kB / 1.379 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/1.028, allocations: 63.98 kB / 1.379 GB, free: 13.74 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.029, allocations: 0.7926 MB / 1.38 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.029, allocations: 3.938 kB / 1.38 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/1.03, allocations: 24 kB / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.03, allocations: 12 kB / 1.38 GB, free: 12.83 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/1.03, allocations: 0.5422 MB / 1.38 GB, free: 12.29 MB / 1.107 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.004091/1.034, allocations: 4.583 MB / 1.385 GB, free: 7.324 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/1.035, allocations: 422.3 kB / 1.385 GB, free: 6.902 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/1.036, allocations: 245.2 kB / 1.385 GB, free: 6.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/1.036, allocations: 194.2 kB / 1.386 GB, free: 6.434 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/1.036, allocations: 289.6 kB / 1.386 GB, free: 6.133 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/1.036, allocations: 0 / 1.386 GB, free: 6.133 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001383/1.038, allocations: 0.6293 MB / 1.386 GB, free: 5.496 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.038, allocations: 85.11 kB / 1.387 GB, free: 5.395 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.039, allocations: 1.114 MB / 1.388 GB, free: 4.262 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/1.039, allocations: 41.69 kB / 1.388 GB, free: 4.215 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/1.04, allocations: 492.1 kB / 1.388 GB, free: 3.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.04, allocations: 110.4 kB / 1.388 GB, free: 3.621 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.04, allocations: 110 kB / 1.388 GB, free: 3.508 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.04, allocations: 337.9 kB / 1.389 GB, free: 3.172 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/1.04, allocations: 214.4 kB / 1.389 GB, free: 2.957 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/1.041, allocations: 0.5096 MB / 1.389 GB, free: 2.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/1.042, allocations: 0.6353 MB / 1.39 GB, free: 1.602 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.042, allocations: 0 / 1.39 GB, free: 1.602 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001195/1.043, allocations: 0.7238 MB / 1.391 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.043, allocations: 34.36 kB / 1.391 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.043, allocations: 12 kB / 1.391 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.043, allocations: 8 kB / 1.391 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.045, allocations: 355.4 kB / 1.391 GB, free: 468 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/1.048, allocations: 6.087 MB / 1.397 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/1.049, allocations: 71.48 kB / 1.397 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/1.049, allocations: 27.98 kB / 1.397 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006972/1.05, allocations: 0.4889 MB / 1.398 GB, free: 9.547 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005293/1.05, allocations: 494 kB / 1.398 GB, free: 8.926 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007246/1.051, allocations: 0.5609 MB / 1.399 GB, free: 8.285 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.968e-06/1.051, allocations: 4 kB / 1.399 GB, free: 8.281 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009895/1.052, allocations: 0.6464 MB / 1.399 GB, free: 7.621 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.052, allocations: 43.72 kB / 1.399 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.052, allocations: 7.938 kB / 1.399 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/1.052, allocations: 8 kB / 1.399 GB, free: 7.559 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/1.053, allocations: 147.8 kB / 1.399 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.053, allocations: 19.92 kB / 1.399 GB, free: 7.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/1.053, allocations: 64.03 kB / 1.4 GB, free: 7.332 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/1.053, allocations: 24 kB / 1.4 GB, free: 7.309 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001892/1.054, allocations: 220.9 kB / 1.4 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.054, allocations: 106.8 kB / 1.4 GB, free: 6.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000885/1.055, allocations: 495 kB / 1.4 GB, free: 6.488 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.055, allocations: 0 / 1.4 GB, free: 6.488 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.055, allocations: 4 kB / 1.4 GB, free: 6.484 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.055, allocations: 3.984 kB / 1.4 GB, free: 6.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/1.057, allocations: 1.382 MB / 1.402 GB, free: 5.023 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.057, allocations: 7.984 kB / 1.402 GB, free: 5.016 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/1.057, allocations: 147.8 kB / 1.402 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/1.057, allocations: 0 / 1.402 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.057, allocations: 12.22 kB / 1.402 GB, free: 4.859 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/1.06, allocations: 6.024 MB / 1.408 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.06, allocations: 0 / 1.408 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/1.061, allocations: 0.6061 MB / 1.408 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/1.061, allocations: 211.9 kB / 1.409 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/1.061, allocations: 11.94 kB / 1.409 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.062, allocations: 19.97 kB / 1.409 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/1.062, allocations: 35.91 kB / 1.409 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.062, allocations: 15.98 kB / 1.409 GB, free: 13.65 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009284/1.063, allocations: 0.7836 MB / 1.409 GB, free: 12.86 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.063, allocations: 0 / 1.409 GB, free: 12.86 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001076/1.064, allocations: 407.4 kB / 1.41 GB, free: 12.46 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004232/1.064, allocations: 174.6 kB / 1.41 GB, free: 12.29 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002945/1.067, allocations: 1.093 MB / 1.411 GB, free: 11.17 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.067, allocations: 0 / 1.411 GB, free: 11.17 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/1.068, allocations: 293.8 kB / 1.411 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.07, allocations: 452.3 kB / 1.412 GB, free: 10.45 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/1.073, allocations: 1.782 MB / 1.413 GB, free: 8.617 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/1.073, allocations: 1.177 MB / 1.415 GB, free: 7.41 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008125/1.074, allocations: 379.6 kB / 1.415 GB, free: 7.035 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.074, allocations: 67.44 kB / 1.415 GB, free: 6.969 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.074, allocations: 0 / 1.415 GB, free: 6.969 MB / 1.139 GB Notification: Performance of Templates: time 0.02949/1.104, allocations: 18.46 MB / 1.433 GB, free: 4.695 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches