Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.00739/0.00739, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001864/0.001864, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.68/2.68, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3171, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8253/1.142, allocations: 161.5 MB / 1.324 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00352/1.146, allocations: 1.717 MB / 1.326 GB, free: 6.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006958/1.147, allocations: 14.5 kB / 1.326 GB, free: 6.527 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007115/1.148, allocations: 154 kB / 1.326 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/1.149, allocations: 0.5201 MB / 1.326 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/1.151, allocations: 421.5 kB / 1.327 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003063/1.154, allocations: 2.465 MB / 1.329 GB, free: 4.887 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/1.156, allocations: 0.9193 MB / 1.33 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/1.158, allocations: 0.9369 MB / 1.331 GB, free: 4.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/1.16, allocations: 0.7103 MB / 1.332 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/1.16, allocations: 56.03 kB / 1.332 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/1.162, allocations: 0.7453 MB / 1.332 GB, free: 3.602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006274/1.163, allocations: 313.8 kB / 1.333 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/1.164, allocations: 0.5378 MB / 1.333 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/1.168, allocations: 1.408 MB / 1.335 GB, free: 2.664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/1.168, allocations: 0 / 1.335 GB, free: 2.664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/1.168, allocations: 3.938 kB / 1.335 GB, free: 2.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.298e-05/1.168, allocations: 1.406 kB / 1.335 GB, free: 2.66 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003593/1.171, allocations: 1.399 MB / 1.336 GB, free: 1.707 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.171, allocations: 9.969 kB / 1.336 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/1.172, allocations: 94.53 kB / 1.336 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/1.173, allocations: 180.6 kB / 1.336 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.174, allocations: 0.8404 MB / 1.337 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/1.174, allocations: 41.34 kB / 1.337 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.175, allocations: 59.97 kB / 1.337 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.176, allocations: 0.6897 MB / 1.338 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.176, allocations: 0 / 1.338 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/1.176, allocations: 23.7 kB / 1.338 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/1.176, allocations: 11.28 kB / 1.338 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/1.177, allocations: 0.5172 MB / 1.338 GB, free: 0.6641 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.004104/1.181, allocations: 3.247 MB / 1.341 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/1.182, allocations: 397.6 kB / 1.342 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/1.182, allocations: 234.2 kB / 1.342 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/1.182, allocations: 196.4 kB / 1.342 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.183, allocations: 41.05 kB / 1.342 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/1.183, allocations: 0 / 1.342 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.005035/1.188, allocations: 1.475 MB / 1.344 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.188, allocations: 63.12 kB / 1.344 GB, free: 13.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/1.189, allocations: 1.071 MB / 1.345 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/1.19, allocations: 37.83 kB / 1.345 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/1.19, allocations: 441.3 kB / 1.345 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/1.19, allocations: 98.08 kB / 1.345 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.19, allocations: 71.83 kB / 1.345 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.19, allocations: 319.1 kB / 1.346 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/1.191, allocations: 164.9 kB / 1.346 GB, free: 11.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/1.191, allocations: 366.1 kB / 1.346 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/1.192, allocations: 380.1 kB / 1.347 GB, free: 11.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.192, allocations: 0 / 1.347 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002115/1.194, allocations: 0.8138 MB / 1.347 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.194, allocations: 9.75 kB / 1.347 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/1.194, allocations: 1.156 kB / 1.347 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/1.195, allocations: 355.6 kB / 1.348 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.196, allocations: 16.3 kB / 1.348 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/1.197, allocations: 1.003 MB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.198, allocations: 59.22 kB / 1.349 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/1.198, allocations: 9.062 kB / 1.349 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001084/1.199, allocations: 453.5 kB / 1.349 GB, free: 10.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005582/1.2, allocations: 310.3 kB / 1.35 GB, free: 10.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006559/1.2, allocations: 314.9 kB / 1.35 GB, free: 9.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/1.2, allocations: 0 / 1.35 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001687/1.202, allocations: 0.5985 MB / 1.35 GB, free: 9.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.202, allocations: 5.031 kB / 1.35 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/1.202, allocations: 1 kB / 1.35 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/1.203, allocations: 206.9 kB / 1.351 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.203, allocations: 23.17 kB / 1.351 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/1.209, allocations: 3.297 MB / 1.354 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.21, allocations: 45.36 kB / 1.354 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/1.21, allocations: 10.81 kB / 1.354 GB, free: 7.422 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002949/1.21, allocations: 195.2 kB / 1.354 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.211, allocations: 95.62 kB / 1.354 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/1.213, allocations: 0.7042 MB / 1.355 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.213, allocations: 3.688 kB / 1.355 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.213, allocations: 4 kB / 1.355 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.213, allocations: 8.422 kB / 1.355 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/1.217, allocations: 1.5 MB / 1.356 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/1.217, allocations: 2.281 kB / 1.356 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.217, allocations: 26.05 kB / 1.356 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/1.217, allocations: 232.9 kB / 1.357 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.217, allocations: 9.5 kB / 1.357 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/1.218, allocations: 0.9751 MB / 1.358 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.218, allocations: 10.44 kB / 1.358 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.22, allocations: 0.7937 MB / 1.358 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/1.22, allocations: 213 kB / 1.359 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/1.221, allocations: 5.719 kB / 1.359 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/1.221, allocations: 21.56 kB / 1.359 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/1.221, allocations: 17.92 kB / 1.359 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.221, allocations: 16.05 kB / 1.359 GB, free: 4.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001314/1.223, allocations: 0.7688 MB / 1.359 GB, free: 3.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.223, allocations: 5.375 kB / 1.359 GB, free: 3.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001577/1.224, allocations: 399.2 kB / 1.36 GB, free: 3.723 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/1.226, allocations: 1.338 MB / 1.361 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.228, allocations: 0.752 MB / 1.362 GB, free: 2.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.228, allocations: 3.938 kB / 1.362 GB, free: 2.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/1.229, allocations: 211.8 kB / 1.362 GB, free: 2.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.231, allocations: 495.1 kB / 1.363 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.245, allocations: 8.144 MB / 1.37 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/1.246, allocations: 1.186 MB / 1.372 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006415/1.247, allocations: 207.4 kB / 1.372 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.247, allocations: 310.6 kB / 1.372 GB, free: 11.95 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/1.247, allocations: 2.094 kB / 1.372 GB, free: 11.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/1.304, allocations: 28.48 MB / 1.4 GB, free: 4.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.41, allocations: 0 / 1.4 GB, free: 4.66 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_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_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches