Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.007861/0.007861, allocations: 102.9 kB / 15.73 MB, free: 6.492 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.002085/0.002085, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.579/2.579, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2749, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8838/1.159, allocations: 325.1 MB / 1.484 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03047/1.189, allocations: 22.27 MB / 1.505 GB, free: 9.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/1.193, allocations: 95.5 kB / 1.505 GB, free: 9.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006062/1.199, allocations: 2.359 MB / 1.508 GB, free: 6.684 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.21, allocations: 4.516 MB / 1.512 GB, free: 2.152 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00565/1.215, allocations: 2.563 MB / 1.515 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0171/1.232, allocations: 12.16 MB / 1.527 GB, free: 3.418 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004678/1.237, allocations: 2.246 MB / 1.529 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/1.245, allocations: 3.219 MB / 1.532 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/1.249, allocations: 1.859 MB / 1.534 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007074/1.25, allocations: 240 kB / 1.534 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0077/1.258, allocations: 3.878 MB / 1.538 GB, free: 7.918 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/1.26, allocations: 1.157 MB / 1.539 GB, free: 6.758 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002468/1.262, allocations: 1.71 MB / 1.541 GB, free: 5.039 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.273, allocations: 5.835 MB / 1.546 GB, free: 15.19 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.273, allocations: 0 / 1.546 GB, free: 15.19 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.276e-06/1.273, allocations: 0 / 1.546 GB, free: 15.19 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001185/1.273, allocations: 3.984 kB / 1.546 GB, free: 15.18 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008069/1.281, allocations: 3.813 MB / 1.55 GB, free: 11.29 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.281, allocations: 8.031 kB / 1.55 GB, free: 11.28 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/1.282, allocations: 210.8 kB / 1.55 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007356/1.289, allocations: 1.1 MB / 1.551 GB, free: 9.961 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007393/1.296, allocations: 4.037 MB / 1.555 GB, free: 5.859 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/1.297, allocations: 118.7 kB / 1.555 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/1.297, allocations: 148 kB / 1.555 GB, free: 5.598 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/1.301, allocations: 1.711 MB / 1.557 GB, free: 3.812 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/1.301, allocations: 7.938 kB / 1.557 GB, free: 3.805 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.301, allocations: 56 kB / 1.557 GB, free: 3.75 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/1.301, allocations: 54.58 kB / 1.557 GB, free: 3.695 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/1.305, allocations: 1.443 MB / 1.559 GB, free: 2.246 MB / 1.217 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.01436/1.319, allocations: 8.665 MB / 1.567 GB, free: 8.961 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/1.322, allocations: 1.02 MB / 1.568 GB, free: 7.895 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/1.323, allocations: 0.5022 MB / 1.569 GB, free: 7.391 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/1.323, allocations: 109.6 kB / 1.569 GB, free: 7.266 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.323, allocations: 43.06 kB / 1.569 GB, free: 7.215 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.537e-06/1.323, allocations: 0 / 1.569 GB, free: 7.215 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.004858/1.328, allocations: 1.46 MB / 1.57 GB, free: 5.746 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.328, allocations: 59.97 kB / 1.57 GB, free: 5.676 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/1.334, allocations: 2.983 MB / 1.573 GB, free: 2.688 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.334, allocations: 45.7 kB / 1.573 GB, free: 2.637 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.336, allocations: 1.276 MB / 1.574 GB, free: 1.348 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/1.336, allocations: 256.5 kB / 1.575 GB, free: 1.094 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000955/1.337, allocations: 435 kB / 1.575 GB, free: 0.6641 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.337, allocations: 301.1 kB / 1.575 GB, free: 376 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.339, allocations: 0.8207 MB / 1.576 GB, free: 15.54 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/1.341, allocations: 1.316 MB / 1.577 GB, free: 14.03 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/1.345, allocations: 1.903 MB / 1.579 GB, free: 11.98 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.345, allocations: 8 kB / 1.579 GB, free: 11.97 MB / 1.248 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005194/1.35, allocations: 2.388 MB / 1.582 GB, free: 9.57 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.35, allocations: 15.94 kB / 1.582 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.35, allocations: 8 kB / 1.582 GB, free: 9.547 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/1.35, allocations: 20 kB / 1.582 GB, free: 9.527 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.352, allocations: 385.1 kB / 1.582 GB, free: 9.152 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/1.352, allocations: 0.6132 MB / 1.583 GB, free: 8.516 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.355, allocations: 234.1 kB / 1.583 GB, free: 8.285 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.355, allocations: 71.97 kB / 1.583 GB, free: 8.215 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002622/1.357, allocations: 1.437 MB / 1.584 GB, free: 6.773 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001854/1.359, allocations: 1.294 MB / 1.586 GB, free: 5.285 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003001/1.362, allocations: 1.861 MB / 1.587 GB, free: 3.27 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.22e-05/1.362, allocations: 7.938 kB / 1.587 GB, free: 3.262 MB / 1.248 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004422/1.367, allocations: 2.35 MB / 1.59 GB, free: 0.8984 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.367, allocations: 12 kB / 1.59 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.367, allocations: 8 kB / 1.59 GB, free: 0.8789 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.367, allocations: 20.47 kB / 1.59 GB, free: 0.8594 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.368, allocations: 359.5 kB / 1.59 GB, free: 0.5078 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/1.368, allocations: 27.86 kB / 1.59 GB, free: 492 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/1.37, allocations: 196.1 kB / 1.59 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.371, allocations: 67.98 kB / 1.59 GB, free: 228 kB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 initialization (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004549/1.371, allocations: 271.8 kB / 1.591 GB, free: 15.95 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007319/1.372, allocations: 268.4 kB / 1.591 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/1.375, allocations: 1.126 MB / 1.592 GB, free: 14.54 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.375, allocations: 8 kB / 1.592 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.375, allocations: 0 / 1.592 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/1.377, allocations: 0.9178 MB / 1.593 GB, free: 13.58 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/1.385, allocations: 3.348 MB / 1.596 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.385, allocations: 128 / 1.596 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.386, allocations: 223.6 kB / 1.596 GB, free: 9.906 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/1.386, allocations: 4 kB / 1.596 GB, free: 9.902 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/1.386, allocations: 19.98 kB / 1.596 GB, free: 9.883 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/1.386, allocations: 0.5821 MB / 1.597 GB, free: 9.277 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.387, allocations: 4.031 kB / 1.597 GB, free: 9.273 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/1.391, allocations: 1.711 MB / 1.599 GB, free: 7.531 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.392, allocations: 469.4 kB / 1.599 GB, free: 7.051 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/1.393, allocations: 23.98 kB / 1.599 GB, free: 7.027 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.394, allocations: 79.92 kB / 1.599 GB, free: 6.949 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.395, allocations: 48.38 kB / 1.599 GB, free: 6.902 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/1.395, allocations: 31.97 kB / 1.599 GB, free: 6.871 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003738/1.398, allocations: 1.988 MB / 1.601 GB, free: 4.891 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.82e-07/1.398, allocations: 0 / 1.601 GB, free: 4.891 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003745/1.402, allocations: 1.271 MB / 1.602 GB, free: 3.617 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005548/1.408, allocations: 2.653 MB / 1.605 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005838/1.414, allocations: 2.685 MB / 1.608 GB, free: 14.24 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.414, allocations: 0 / 1.608 GB, free: 14.24 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.415, allocations: 480.4 kB / 1.608 GB, free: 13.78 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006478/1.421, allocations: 1.462 MB / 1.61 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/1.455, allocations: 19.34 MB / 1.628 GB, free: 8.539 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.457, allocations: 1.935 MB / 1.63 GB, free: 6.57 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002834/1.46, allocations: 0.7245 MB / 1.631 GB, free: 5.84 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/1.462, allocations: 1.171 MB / 1.632 GB, free: 4.668 MB / 1.295 GB Notification: Performance of SimCode: time 7.32e-07/1.462, allocations: 0 / 1.632 GB, free: 4.668 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.58, allocations: 72.01 MB / 1.703 GB, free: 13.54 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/23.02, allocations: 3.984 kB / 1.703 GB, free: 13.54 MB / 1.373 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches