Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001316/0.001316, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.508/2.508, allocations: 482.4 MB / 0.7544 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 60.88 kB / 0.9235 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2367, allocations: 162.2 MB / 1.082 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002794/0.2396, allocations: 1.779 MB / 1.084 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2408, allocations: 1.147 MB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2409, allocations: 8 kB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.241, allocations: 35.58 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.2411, allocations: 27.72 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.2414, allocations: 171.8 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.2418, allocations: 0.4893 MB / 1.086 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.2422, allocations: 284.6 kB / 1.086 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2424, allocations: 203.2 kB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2426, allocations: 246.8 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.2427, allocations: 60 kB / 1.086 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.2428, allocations: 56 kB / 1.086 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.2429, allocations: 127.6 kB / 1.086 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.243, allocations: 238.7 kB / 1.087 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.2436, allocations: 0.6581 MB / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2436, allocations: 0 / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2436, allocations: 0 / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2436, allocations: 0 / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001166/0.2447, allocations: 0.7641 MB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2448, allocations: 12.03 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.256e-05/0.2449, allocations: 90.64 kB / 1.088 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.245, allocations: 56.28 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.246, allocations: 491.9 kB / 1.089 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.2461, allocations: 37.38 kB / 1.089 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.2461, allocations: 44.38 kB / 1.089 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.2471, allocations: 0.4986 MB / 1.089 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2471, allocations: 3.938 kB / 1.089 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.2471, allocations: 20 kB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2472, allocations: 19.94 kB / 1.089 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2483, allocations: 425.9 kB / 1.09 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2497, allocations: 1.251 MB / 1.091 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.2506, allocations: 407.7 kB / 1.091 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.2511, allocations: 226.5 kB / 1.092 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.2512, allocations: 11.97 kB / 1.092 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.2512, allocations: 42.5 kB / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/0.2512, allocations: 0 / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001621/0.2529, allocations: 0.5728 MB / 1.092 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2529, allocations: 110.8 kB / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.2532, allocations: 282.7 kB / 1.092 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2532, allocations: 29.7 kB / 1.093 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2533, allocations: 228.2 kB / 1.093 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.2534, allocations: 114.4 kB / 1.093 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2536, allocations: 102 kB / 1.093 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2537, allocations: 338.8 kB / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.2542, allocations: 164.7 kB / 1.093 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.2547, allocations: 261.6 kB / 1.094 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.2557, allocations: 387.5 kB / 1.094 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2557, allocations: 0 / 1.094 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001087/0.2568, allocations: 472.6 kB / 1.095 GB, free: 216 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2568, allocations: 4 kB / 1.095 GB, free: 212 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2568, allocations: 4 kB / 1.095 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2568, allocations: 8.188 kB / 1.095 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.2573, allocations: 103.8 kB / 1.095 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2573, allocations: 11.97 kB / 1.095 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2575, allocations: 59.64 kB / 1.095 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2576, allocations: 16 kB / 1.095 GB, free: 8 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001951/0.2578, allocations: 185.4 kB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.2579, allocations: 31.62 kB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.258, allocations: 42.2 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.258, allocations: 7.938 kB / 1.095 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.258, allocations: 4 kB / 1.095 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.258, allocations: 3.984 kB / 1.095 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.2585, allocations: 457.1 kB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2585, allocations: 0 / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.2589, allocations: 87.8 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2589, allocations: 0 / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.259, allocations: 11.98 kB / 1.095 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.259, allocations: 7.938 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.259, allocations: 0 / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.2601, allocations: 0.6599 MB / 1.096 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.2602, allocations: 116.6 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.2602, allocations: 4 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.2606, allocations: 39.89 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.2607, allocations: 67.83 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.2607, allocations: 19.98 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001414/0.2609, allocations: 174 kB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2609, allocations: 3.938 kB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003765/0.2613, allocations: 87.59 kB / 1.097 GB, free: 13.93 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001441/0.2627, allocations: 1.23 MB / 1.098 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.2638, allocations: 427.6 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2638, allocations: 0 / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.2644, allocations: 240 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.2649, allocations: 48.75 kB / 1.099 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.27, allocations: 3.651 MB / 1.102 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2704, allocations: 0.8115 MB / 1.103 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.2706, allocations: 59.27 kB / 1.103 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.2708, allocations: 159.4 kB / 1.103 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2708, allocations: 0 / 1.103 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/0.7125, allocations: 6.513 MB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.7128, allocations: 295.2 kB / 1.11 GB, free: 484 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.584, allocations: 2.641 kB / 1.11 GB, free: 484 kB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches