Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverContinuous,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverContinuous,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous",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.007658/0.007658, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001849/0.00185, allocations: 197.3 kB / 16.68 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.193/2.193, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7791, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.1255/0.9047, allocations: 94.88 MB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04737/0.9521, allocations: 30.02 MB / 1.209 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007552/0.9596, allocations: 152.5 kB / 1.21 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006479/0.9661, allocations: 2.005 MB / 1.212 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.9792, allocations: 4.494 MB / 1.216 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009858/0.9891, allocations: 3.614 MB / 1.219 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01492/1.004, allocations: 8.866 MB / 1.228 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007223/1.011, allocations: 3.294 MB / 1.231 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01031/1.022, allocations: 3.769 MB / 1.235 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/1.027, allocations: 2.77 MB / 1.238 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/1.029, allocations: 396 kB / 1.238 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007185/1.036, allocations: 2.66 MB / 1.241 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/1.038, allocations: 1.609 MB / 1.242 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00515/1.044, allocations: 2.573 MB / 1.245 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.057, allocations: 7.824 MB / 1.252 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.057, allocations: 0 / 1.252 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/1.057, allocations: 0 / 1.252 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002239/1.057, allocations: 0 / 1.252 GB, free: 4.891 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01445/1.071, allocations: 5.702 MB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.071, allocations: 8.031 kB / 1.258 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006464/1.072, allocations: 266.6 kB / 1.258 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/1.082, allocations: 1.563 MB / 1.26 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/1.096, allocations: 6.998 MB / 1.267 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/1.096, allocations: 171.8 kB / 1.267 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007281/1.097, allocations: 220 kB / 1.267 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007279/1.104, allocations: 3.014 MB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/1.104, allocations: 3.938 kB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.105, allocations: 84 kB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/1.105, allocations: 48 kB / 1.27 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006865/1.111, allocations: 2.329 MB / 1.272 GB, free: 248 kB / 0.9981 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.02252/1.134, allocations: 13.12 MB / 1.285 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/1.14, allocations: 1.88 MB / 1.287 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/1.142, allocations: 0.8501 MB / 1.288 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/1.151, allocations: 4.553 MB / 1.292 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/1.151, allocations: 43.2 kB / 1.292 GB, free: 10.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=79): time 4.298e-06/1.151, allocations: 4 kB / 1.292 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=79): time 0.008478/1.159, allocations: 2.773 MB / 1.295 GB, free: 8.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.159, allocations: 60.06 kB / 1.295 GB, free: 7.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.171, allocations: 6.958 MB / 1.302 GB, free: 1.027 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/1.171, allocations: 53.7 kB / 1.302 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.174, allocations: 2.049 MB / 1.304 GB, free: 14.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/1.174, allocations: 288 kB / 1.304 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.175, allocations: 491.1 kB / 1.305 GB, free: 14.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.176, allocations: 309 kB / 1.305 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.179, allocations: 1.648 MB / 1.307 GB, free: 12.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/1.183, allocations: 2.557 MB / 1.309 GB, free: 9.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007452/1.191, allocations: 4.122 MB / 1.313 GB, free: 4.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.824e-05/1.191, allocations: 12 kB / 1.313 GB, free: 4.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009949/1.201, allocations: 4.487 MB / 1.317 GB, free: 168 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/1.201, allocations: 18.72 kB / 1.317 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-05/1.201, allocations: 28 kB / 1.318 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/1.201, allocations: 44 kB / 1.318 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/1.205, allocations: 0.6084 MB / 1.318 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/1.208, allocations: 2.988 MB / 1.321 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.211, allocations: 346.1 kB / 1.321 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/1.212, allocations: 179.9 kB / 1.322 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004857/1.217, allocations: 2.268 MB / 1.324 GB, free: 9.598 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003685/1.22, allocations: 2.26 MB / 1.326 GB, free: 6.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006232/1.227, allocations: 3.548 MB / 1.329 GB, free: 2.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.849e-05/1.227, allocations: 12 kB / 1.329 GB, free: 2.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.008665/1.235, allocations: 3.894 MB / 1.333 GB, free: 15.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/1.235, allocations: 19.94 kB / 1.333 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/1.236, allocations: 36 kB / 1.333 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/1.236, allocations: 44 kB / 1.333 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.239, allocations: 0.6397 MB / 1.334 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.559e-05/1.239, allocations: 59.78 kB / 1.334 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.242, allocations: 247.2 kB / 1.334 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/1.243, allocations: 176 kB / 1.334 GB, free: 13.84 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (216): * Single equations (assignments): 208 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000741/1.243, allocations: 325.3 kB / 1.335 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.245, allocations: 414.5 kB / 1.335 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/1.252, allocations: 2.673 MB / 1.338 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/1.252, allocations: 19.92 kB / 1.338 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.252, allocations: 4 kB / 1.338 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.252, allocations: 3.984 kB / 1.338 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.265, allocations: 5.281 MB / 1.343 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.265, allocations: 0 / 1.343 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/1.267, allocations: 311.7 kB / 1.343 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/1.267, allocations: 149.6 kB / 1.343 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.268, allocations: 39.95 kB / 1.343 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/1.269, allocations: 2.663 MB / 1.346 GB, free: 1.777 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.27, allocations: 4.031 kB / 1.346 GB, free: 1.773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006334/1.276, allocations: 2.484 MB / 1.348 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/1.278, allocations: 0.7255 MB / 1.349 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009863/1.279, allocations: 16 kB / 1.349 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.281, allocations: 139.9 kB / 1.349 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.282, allocations: 68.84 kB / 1.349 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.282, allocations: 67.94 kB / 1.349 GB, free: 14.21 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007999/1.29, allocations: 5.017 MB / 1.354 GB, free: 9.211 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.51e-07/1.29, allocations: 0 / 1.354 GB, free: 9.211 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006069/1.296, allocations: 1.731 MB / 1.356 GB, free: 7.477 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007866/1.304, allocations: 3.592 MB / 1.36 GB, free: 3.848 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.316, allocations: 5.106 MB / 1.365 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.316, allocations: 0.9375 kB / 1.365 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.319, allocations: 1.025 MB / 1.366 GB, free: 13.73 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008997/1.328, allocations: 2.266 MB / 1.368 GB, free: 11.49 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06456/1.392, allocations: 39.57 MB / 1.406 GB, free: 2.938 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/1.395, allocations: 2.523 MB / 1.409 GB, free: 392 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004495/1.399, allocations: 1.113 MB / 1.41 GB, free: 15.27 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/1.402, allocations: 1.854 MB / 1.412 GB, free: 13.41 MB / 1.154 GB Notification: Performance of SimCode: time 8.01e-07/1.402, allocations: 0 / 1.412 GB, free: 13.41 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1933/1.595, allocations: 120.6 MB / 1.53 GB, free: 6.227 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/23.55, allocations: 2.812 kB / 1.53 GB, free: 6.227 MB / 1.264 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches