Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 106 kB / 15.99 MB, free: 5.836 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.001548/0.001548, allocations: 197.7 kB / 16.91 MB, free: 5.707 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.44 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8657/1.216, allocations: 211.6 MB / 1.271 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01284/1.229, allocations: 7.009 MB / 1.278 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/1.231, allocations: 39.75 kB / 1.278 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/1.234, allocations: 0.6802 MB / 1.278 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007054/1.241, allocations: 2.374 MB / 1.281 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/1.244, allocations: 1.065 MB / 1.282 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004435/1.248, allocations: 2.84 MB / 1.284 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/1.25, allocations: 1.063 MB / 1.285 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/1.255, allocations: 1.977 MB / 1.287 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/1.257, allocations: 0.995 MB / 1.288 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/1.258, allocations: 120 kB / 1.288 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/1.263, allocations: 2.572 MB / 1.291 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005517/1.263, allocations: 430.7 kB / 1.291 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/1.264, allocations: 0.6921 MB / 1.292 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/1.267, allocations: 1.84 MB / 1.294 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.267, allocations: 0 / 1.294 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/1.267, allocations: 0 / 1.294 GB, free: 13.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.267, allocations: 0 / 1.294 GB, free: 13.88 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005068/1.272, allocations: 1.848 MB / 1.296 GB, free: 11.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.272, allocations: 15.98 kB / 1.296 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/1.276, allocations: 0.5292 MB / 1.296 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.278, allocations: 0.9678 MB / 1.297 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006297/1.278, allocations: 177.9 kB / 1.297 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.278, allocations: 87.98 kB / 1.297 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/1.281, allocations: 1.229 MB / 1.299 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.281, allocations: 0 / 1.299 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.282, allocations: 32 kB / 1.299 GB, free: 8.891 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/1.282, allocations: 45.98 kB / 1.299 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/1.285, allocations: 1.546 MB / 1.3 GB, free: 7.301 MB / 1.014 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.007491/1.293, allocations: 4.049 MB / 1.304 GB, free: 2.977 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.296, allocations: 1.003 MB / 1.305 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/1.297, allocations: 0.6669 MB / 1.306 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.298, allocations: 0.6087 MB / 1.306 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.298, allocations: 43.22 kB / 1.306 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/1.298, allocations: 0 / 1.306 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005124/1.303, allocations: 1.812 MB / 1.308 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.304, allocations: 60.06 kB / 1.308 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.305, allocations: 0.8194 MB / 1.309 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.305, allocations: 41.69 kB / 1.309 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/1.305, allocations: 452.4 kB / 1.309 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.306, allocations: 260.1 kB / 1.31 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/1.306, allocations: 150.5 kB / 1.31 GB, free: 12.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.306, allocations: 334 kB / 1.31 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.307, allocations: 0.5395 MB / 1.311 GB, free: 12.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/1.309, allocations: 0.6473 MB / 1.311 GB, free: 11.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/1.312, allocations: 1.138 MB / 1.312 GB, free: 10.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.312, allocations: 11.94 kB / 1.312 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003488/1.315, allocations: 1.345 MB / 1.314 GB, free: 8.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/1.315, allocations: 33.64 kB / 1.314 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.315, allocations: 4 kB / 1.314 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.315, allocations: 4 kB / 1.314 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.317, allocations: 261.4 kB / 1.314 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/1.318, allocations: 1.191 MB / 1.315 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.319, allocations: 175.3 kB / 1.315 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.319, allocations: 39.92 kB / 1.315 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001848/1.321, allocations: 0.7595 MB / 1.316 GB, free: 6.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001519/1.323, allocations: 0.6473 MB / 1.317 GB, free: 5.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002826/1.326, allocations: 1.127 MB / 1.318 GB, free: 4.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/1.326, allocations: 0 / 1.318 GB, free: 4.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003457/1.329, allocations: 1.333 MB / 1.319 GB, free: 3.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/1.329, allocations: 41.69 kB / 1.319 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.329, allocations: 3.938 kB / 1.319 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/1.329, allocations: 4 kB / 1.319 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.33, allocations: 227.8 kB / 1.319 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.33, allocations: 4 kB / 1.32 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.332, allocations: 167.4 kB / 1.32 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.332, allocations: 35.97 kB / 1.32 GB, free: 2.641 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003414/1.332, allocations: 220.1 kB / 1.32 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.332, allocations: 110.6 kB / 1.32 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/1.336, allocations: 1.359 MB / 1.321 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.336, allocations: 12 kB / 1.321 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.336, allocations: 0 / 1.321 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.336, allocations: 3.984 kB / 1.321 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/1.342, allocations: 2.855 MB / 1.324 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.342, allocations: 4 kB / 1.324 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.343, allocations: 236.1 kB / 1.324 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.343, allocations: 11.94 kB / 1.324 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/1.343, allocations: 27.92 kB / 1.324 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007292/1.344, allocations: 1.191 MB / 1.326 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.344, allocations: 11.88 kB / 1.326 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/1.348, allocations: 1.467 MB / 1.327 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/1.348, allocations: 307.6 kB / 1.327 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/1.348, allocations: 16 kB / 1.327 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.35, allocations: 151.7 kB / 1.327 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.35, allocations: 56.38 kB / 1.328 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/1.35, allocations: 35.97 kB / 1.328 GB, free: 10.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009029/1.351, allocations: 0.5739 MB / 1.328 GB, free: 9.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.41e-07/1.351, allocations: 0 / 1.328 GB, free: 9.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001574/1.352, allocations: 0.538 MB / 1.329 GB, free: 9.215 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007913/1.353, allocations: 276.3 kB / 1.329 GB, free: 8.953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005882/1.359, allocations: 2.135 MB / 1.331 GB, free: 6.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.359, allocations: 4 kB / 1.331 GB, free: 6.785 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.361, allocations: 0.6714 MB / 1.332 GB, free: 6.113 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.363, allocations: 0.4906 MB / 1.332 GB, free: 5.629 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/1.368, allocations: 2.564 MB / 1.335 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/1.369, allocations: 1.087 MB / 1.336 GB, free: 1.867 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/1.369, allocations: 107.4 kB / 1.336 GB, free: 1.762 MB / 1.045 GB Notification: Performance of SimCode: time 1.262e-06/1.369, allocations: 0 / 1.336 GB, free: 1.762 MB / 1.045 GB Notification: Performance of Templates: time 0.0374/1.407, allocations: 26.73 MB / 1.362 GB, free: 7.137 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches