Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001335/0.001335, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7973, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1698/0.9672, allocations: 162.6 MB / 1.326 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03549/1.003, allocations: 27.11 MB / 1.353 GB, free: 5.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/1.006, allocations: 75.56 kB / 1.353 GB, free: 5.336 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003042/1.009, allocations: 1.072 MB / 1.354 GB, free: 4.258 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00624/1.016, allocations: 1.889 MB / 1.356 GB, free: 2.363 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/1.02, allocations: 1.776 MB / 1.357 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008071/1.029, allocations: 5.55 MB / 1.363 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00703/1.036, allocations: 4.336 MB / 1.367 GB, free: 6.613 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004853/1.041, allocations: 2.213 MB / 1.369 GB, free: 4.398 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005979/1.047, allocations: 2.62 MB / 1.372 GB, free: 1.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002277/1.049, allocations: 491.9 kB / 1.372 GB, free: 1.289 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004393/1.053, allocations: 1.093 MB / 1.373 GB, free: 200 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002197/1.055, allocations: 1.227 MB / 1.374 GB, free: 14.96 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004477/1.06, allocations: 2.232 MB / 1.377 GB, free: 12.72 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009003/1.069, allocations: 6.252 MB / 1.383 GB, free: 6.453 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.069, allocations: 7.938 kB / 1.383 GB, free: 6.445 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.445e-06/1.069, allocations: 0 / 1.383 GB, free: 6.445 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002485/1.069, allocations: 0 / 1.383 GB, free: 6.445 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01303/1.082, allocations: 4.803 MB / 1.387 GB, free: 1.559 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.082, allocations: 15.95 kB / 1.387 GB, free: 1.543 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/1.096, allocations: 2.788 MB / 1.39 GB, free: 14.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/1.102, allocations: 2.389 MB / 1.392 GB, free: 12.28 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/1.103, allocations: 254.5 kB / 1.393 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/1.104, allocations: 328 kB / 1.393 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/1.118, allocations: 5.331 MB / 1.398 GB, free: 6.305 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.118, allocations: 4 kB / 1.398 GB, free: 6.301 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008329/1.119, allocations: 136 kB / 1.398 GB, free: 6.168 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/1.119, allocations: 80 kB / 1.398 GB, free: 6.09 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/1.135, allocations: 6.476 MB / 1.405 GB, free: 15.6 MB / 1.139 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.03367/1.169, allocations: 15.66 MB / 1.42 GB, free: 15.23 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.181, allocations: 4.868 MB / 1.425 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005988/1.187, allocations: 2.568 MB / 1.427 GB, free: 7.785 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.188, allocations: 0.6814 MB / 1.428 GB, free: 6.973 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006879/1.195, allocations: 2.71 MB / 1.431 GB, free: 4.223 MB / 1.154 GB Notification: Performance of pre-optimization done (n=291): time 7.464e-06/1.195, allocations: 0 / 1.431 GB, free: 4.223 MB / 1.154 GB Notification: Performance of matching and sorting (n=291): time 0.0216/1.216, allocations: 8.017 MB / 1.438 GB, free: 12.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.217, allocations: 214.2 kB / 1.439 GB, free: 11.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/1.222, allocations: 2.512 MB / 1.441 GB, free: 9.301 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008099/1.222, allocations: 81.7 kB / 1.441 GB, free: 9.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.224, allocations: 1.393 MB / 1.443 GB, free: 7.805 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.226, allocations: 0.9512 MB / 1.443 GB, free: 6.84 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/1.228, allocations: 0.5246 MB / 1.444 GB, free: 6.309 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.228, allocations: 301.1 kB / 1.444 GB, free: 6.012 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005321/1.233, allocations: 2.105 MB / 1.446 GB, free: 3.902 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005481/1.239, allocations: 2.428 MB / 1.449 GB, free: 1.402 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.249, allocations: 4.439 MB / 1.453 GB, free: 12.88 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/1.249, allocations: 4 kB / 1.453 GB, free: 12.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0139/1.263, allocations: 5.265 MB / 1.458 GB, free: 7.559 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/1.263, allocations: 11.98 kB / 1.458 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.263, allocations: 4 kB / 1.458 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009785/1.264, allocations: 348.8 kB / 1.459 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/1.269, allocations: 0.819 MB / 1.459 GB, free: 6.379 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/1.274, allocations: 4.224 MB / 1.463 GB, free: 2.016 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/1.279, allocations: 0.5596 MB / 1.464 GB, free: 1.453 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009/1.28, allocations: 115.9 kB / 1.464 GB, free: 1.34 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003239/1.283, allocations: 0.9851 MB / 1.465 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.284, allocations: 284.4 kB / 1.465 GB, free: 64 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.301, allocations: 5.912 MB / 1.471 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/1.301, allocations: 32 kB / 1.471 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.301, allocations: 4 kB / 1.471 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/1.301, allocations: 19.88 kB / 1.471 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/1.309, allocations: 3.847 MB / 1.475 GB, free: 6.133 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/1.309, allocations: 4 kB / 1.475 GB, free: 6.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004363/1.313, allocations: 0.7489 MB / 1.476 GB, free: 5.379 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/1.315, allocations: 386.5 kB / 1.476 GB, free: 4.992 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007289/1.315, allocations: 83.92 kB / 1.476 GB, free: 4.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007204/1.322, allocations: 6.292 MB / 1.482 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.323, allocations: 3.938 kB / 1.482 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/1.344, allocations: 8.413 MB / 1.49 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.347, allocations: 0.8637 MB / 1.491 GB, free: 4.926 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.348, allocations: 75.83 kB / 1.491 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004037/1.352, allocations: 425.9 kB / 1.492 GB, free: 4.438 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009006/1.353, allocations: 210.1 kB / 1.492 GB, free: 4.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006634/1.354, allocations: 115.8 kB / 1.492 GB, free: 4.117 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003789/1.357, allocations: 1.826 MB / 1.494 GB, free: 2.281 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.2e-07/1.358, allocations: 0 / 1.494 GB, free: 2.281 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004495/1.362, allocations: 1.126 MB / 1.495 GB, free: 1.152 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003118/1.365, allocations: 1.043 MB / 1.496 GB, free: 388 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.379, allocations: 5.136 MB / 1.501 GB, free: 11.2 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.379, allocations: 4 kB / 1.501 GB, free: 11.2 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00754/1.386, allocations: 2.927 MB / 1.504 GB, free: 8.242 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.392, allocations: 0.7383 MB / 1.505 GB, free: 7.531 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.411, allocations: 8.217 MB / 1.513 GB, free: 15.27 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/1.414, allocations: 2.454 MB / 1.515 GB, free: 12.79 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/1.417, allocations: 327.2 kB / 1.515 GB, free: 12.47 MB / 1.248 GB Notification: Performance of SimCode: time 9.42e-07/1.417, allocations: 0 / 1.515 GB, free: 12.47 MB / 1.248 GB Notification: Performance of Templates: time 0.6832/2.1, allocations: 88.24 MB / 1.601 GB, free: 349.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches