Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.0008748, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005058/0.005058, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.373/2.373, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 14 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001239/0.2359, allocations: 0.8255 MB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.237, allocations: 0.9986 MB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.2371, allocations: 4 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.2371, allocations: 11.86 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2372, allocations: 23.78 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.2374, allocations: 79.83 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.2376, allocations: 212.2 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.2378, allocations: 116.1 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.238, allocations: 63.64 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.2381, allocations: 75.5 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2381, allocations: 8 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.2381, allocations: 4 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.2382, allocations: 31.8 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.2382, allocations: 105.2 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2385, allocations: 271.2 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2385, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2385, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2385, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005725/0.2391, allocations: 471.2 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2391, allocations: 11.97 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.2392, allocations: 54.73 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.2392, allocations: 24.66 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.2396, allocations: 290.1 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2397, allocations: 16.81 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.2397, allocations: 20.38 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.2401, allocations: 207.8 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2401, allocations: 3.938 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2401, allocations: 4 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2401, allocations: 8 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2405, allocations: 169.6 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.2413, allocations: 0.5995 MB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.2416, allocations: 170.6 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2418, allocations: 64.83 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2418, allocations: 8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2418, allocations: 34.56 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2418, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005818/0.2424, allocations: 243 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2425, allocations: 51.41 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2426, allocations: 179.7 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2426, allocations: 29.7 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.2427, allocations: 140.2 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2428, allocations: 47.38 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.2428, allocations: 41.69 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.2429, allocations: 326.8 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2431, allocations: 67.89 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2433, allocations: 107.7 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.2436, allocations: 155.1 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2436, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004075/0.244, allocations: 213.1 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.244, allocations: 11.94 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.244, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.244, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2442, allocations: 32.14 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2442, allocations: 7.984 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2443, allocations: 23.84 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2444, allocations: 4 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.000127/0.2445, allocations: 145.8 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.2445, allocations: 19.75 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2446, allocations: 21.88 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2446, allocations: 0 / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2446, allocations: 4 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2446, allocations: 3.984 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2449, allocations: 273.4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2449, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.245, allocations: 27.92 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.245, allocations: 11.94 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.245, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.245, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.245, allocations: 3.984 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.2454, allocations: 276.6 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.2455, allocations: 92.86 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2455, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2456, allocations: 11.98 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.2457, allocations: 23.97 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2457, allocations: 7.938 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.2458, allocations: 128.2 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2458, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002578/0.2461, allocations: 39.84 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006331/0.2467, allocations: 0.8155 MB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.2471, allocations: 173.8 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2471, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2473, allocations: 79.89 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2476, allocations: 26.66 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2497, allocations: 2.044 MB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.25, allocations: 0.7322 MB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.2501, allocations: 25.53 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.2502, allocations: 55.42 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2502, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.45/1.7, allocations: 2.919 MB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.7, allocations: 286.6 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/3.59, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches