Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_9_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.001419/0.001419, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.002014/0.002014, allocations: 183 kB / 17.34 MB, free: 5.742 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 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.297/2.297, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9379/0.9395, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2155/1.155, allocations: 161.1 MB / 1.246 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03951/1.195, allocations: 26.93 MB / 1.272 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005865/1.201, allocations: 71.62 kB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003162/1.204, allocations: 1.033 MB / 1.273 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007467/1.211, allocations: 1.76 MB / 1.275 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005483/1.217, allocations: 1.764 MB / 1.277 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00958/1.226, allocations: 5.131 MB / 1.282 GB, free: 7.828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00796/1.234, allocations: 4.369 MB / 1.286 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/1.239, allocations: 2.16 MB / 1.288 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/1.243, allocations: 2.579 MB / 1.291 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/1.244, allocations: 484 kB / 1.291 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/1.246, allocations: 1.085 MB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.247, allocations: 1.235 MB / 1.293 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002669/1.25, allocations: 2.154 MB / 1.295 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007719/1.258, allocations: 6.124 MB / 1.301 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.258, allocations: 0 / 1.301 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.625e-06/1.258, allocations: 0 / 1.301 GB, free: 3.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001403/1.258, allocations: 0 / 1.301 GB, free: 3.543 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01074/1.269, allocations: 4.754 MB / 1.306 GB, free: 14.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.269, allocations: 8.031 kB / 1.306 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/1.282, allocations: 2.788 MB / 1.309 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/1.288, allocations: 2.393 MB / 1.311 GB, free: 9.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/1.288, allocations: 246.7 kB / 1.311 GB, free: 9.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/1.289, allocations: 332 kB / 1.312 GB, free: 8.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/1.301, allocations: 5.334 MB / 1.317 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-05/1.302, allocations: 0 / 1.317 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/1.302, allocations: 132 kB / 1.317 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/1.302, allocations: 84 kB / 1.317 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.318, allocations: 6.476 MB / 1.323 GB, free: 12.75 MB / 1.061 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.03005/1.348, allocations: 14.88 MB / 1.338 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/1.359, allocations: 4.859 MB / 1.343 GB, free: 8.492 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005795/1.365, allocations: 2.575 MB / 1.345 GB, free: 5.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.366, allocations: 0.6774 MB / 1.346 GB, free: 5.102 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006409/1.373, allocations: 2.702 MB / 1.349 GB, free: 2.363 MB / 1.076 GB Notification: Performance of pre-optimization done (n=291): time 6.663e-06/1.373, allocations: 112 / 1.349 GB, free: 2.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=291): time 0.02158/1.394, allocations: 8.016 MB / 1.356 GB, free: 10.23 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.395, allocations: 222.2 kB / 1.357 GB, free: 9.969 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/1.399, allocations: 2.508 MB / 1.359 GB, free: 7.438 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000779/1.4, allocations: 81.7 kB / 1.359 GB, free: 7.352 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.402, allocations: 1.396 MB / 1.361 GB, free: 5.938 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.403, allocations: 0.955 MB / 1.361 GB, free: 4.969 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.405, allocations: 0.5169 MB / 1.362 GB, free: 4.445 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.405, allocations: 305.1 kB / 1.362 GB, free: 4.145 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/1.411, allocations: 2.101 MB / 1.364 GB, free: 2.039 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/1.417, allocations: 2.425 MB / 1.367 GB, free: 15.54 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.427, allocations: 4.435 MB / 1.371 GB, free: 11.02 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/1.427, allocations: 4 kB / 1.371 GB, free: 11.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01402/1.442, allocations: 5.241 MB / 1.376 GB, free: 5.727 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.442, allocations: 11.98 kB / 1.376 GB, free: 5.715 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.442, allocations: 4 kB / 1.376 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009392/1.443, allocations: 357.2 kB / 1.376 GB, free: 5.359 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/1.447, allocations: 0.819 MB / 1.377 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/1.453, allocations: 4.215 MB / 1.381 GB, free: 192 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/1.458, allocations: 0.5699 MB / 1.382 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/1.458, allocations: 119.9 kB / 1.382 GB, free: 15.5 MB / 1.123 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.003007/1.461, allocations: 0.9773 MB / 1.383 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.463, allocations: 284.4 kB / 1.383 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.478, allocations: 5.9 MB / 1.389 GB, free: 8.266 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.478, allocations: 32 kB / 1.389 GB, free: 8.234 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.478, allocations: 4 kB / 1.389 GB, free: 8.23 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/1.478, allocations: 23.81 kB / 1.389 GB, free: 8.207 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/1.485, allocations: 3.847 MB / 1.393 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/1.485, allocations: 0 / 1.393 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004073/1.489, allocations: 0.7527 MB / 1.394 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/1.49, allocations: 374.3 kB / 1.394 GB, free: 3.172 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.491, allocations: 83.92 kB / 1.394 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006951/1.498, allocations: 6.303 MB / 1.4 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.498, allocations: 7.938 kB / 1.4 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/1.519, allocations: 8.405 MB / 1.408 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.521, allocations: 0.8599 MB / 1.409 GB, free: 3.102 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009986/1.522, allocations: 75.83 kB / 1.409 GB, free: 3.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.526, allocations: 415.4 kB / 1.41 GB, free: 2.621 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/1.527, allocations: 210.2 kB / 1.41 GB, free: 2.414 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000449/1.527, allocations: 115.8 kB / 1.41 GB, free: 2.301 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00353/1.531, allocations: 1.826 MB / 1.412 GB, free: 476 kB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.531, allocations: 0 / 1.412 GB, free: 476 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.004086/1.535, allocations: 1.091 MB / 1.413 GB, free: 15.37 MB / 1.154 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.003051/1.538, allocations: 1.062 MB / 1.414 GB, free: 14.64 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.551, allocations: 5.121 MB / 1.419 GB, free: 9.48 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.551, allocations: 4.188 kB / 1.419 GB, free: 9.477 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00737/1.559, allocations: 2.914 MB / 1.422 GB, free: 6.531 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/1.563, allocations: 0.6902 MB / 1.422 GB, free: 5.879 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/1.581, allocations: 8.167 MB / 1.43 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/1.584, allocations: 2.454 MB / 1.433 GB, free: 11.19 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/1.587, allocations: 323.2 kB / 1.433 GB, free: 10.87 MB / 1.17 GB Notification: Performance of SimCode: time 1.123e-06/1.587, allocations: 0 / 1.433 GB, free: 10.87 MB / 1.17 GB Notification: Performance of Templates: time 0.1197/1.706, allocations: 87.44 MB / 1.518 GB, free: 3.512 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches