Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",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.007796/0.007796, allocations: 101.8 kB / 15.73 MB, free: 5.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.00144/0.00144, allocations: 186.8 kB / 16.67 MB, free: 5.422 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.08 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.303/2.303, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7888, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08763/0.8765, allocations: 78.06 MB / 1.164 GB, free: 13.3 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04656/0.9231, allocations: 25.93 MB / 1.189 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005459/0.9286, allocations: 125.2 kB / 1.189 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.934, allocations: 1.654 MB / 1.191 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.9446, allocations: 3.479 MB / 1.194 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008982/0.9536, allocations: 2.968 MB / 1.197 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01354/0.9672, allocations: 7.005 MB / 1.204 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005969/0.9732, allocations: 2.638 MB / 1.206 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.9848, allocations: 2.955 MB / 1.209 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005609/0.9905, allocations: 2.241 MB / 1.212 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.9922, allocations: 314.8 kB / 1.212 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.999, allocations: 2.166 MB / 1.214 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002458/1.001, allocations: 1.282 MB / 1.215 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006205/1.008, allocations: 2.021 MB / 1.217 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/1.02, allocations: 6.217 MB / 1.223 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.02, allocations: 4 kB / 1.223 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.764e-06/1.02, allocations: 0 / 1.223 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001755/1.02, allocations: 0 / 1.223 GB, free: 2.848 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01134/1.031, allocations: 4.572 MB / 1.228 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.032, allocations: 8.031 kB / 1.228 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004675/1.032, allocations: 224.2 kB / 1.228 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007248/1.039, allocations: 1.186 MB / 1.229 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.05, allocations: 5.069 MB / 1.234 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/1.05, allocations: 139.1 kB / 1.234 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000674/1.051, allocations: 176 kB / 1.234 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/1.057, allocations: 2.484 MB / 1.237 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/1.058, allocations: 7.938 kB / 1.237 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/1.058, allocations: 64 kB / 1.237 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/1.058, allocations: 36 kB / 1.237 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006488/1.064, allocations: 2.049 MB / 1.239 GB, free: 2.598 MB / 0.9669 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.02036/1.085, allocations: 11.24 MB / 1.25 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/1.09, allocations: 1.749 MB / 1.252 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/1.093, allocations: 0.833 MB / 1.252 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007031/1.1, allocations: 3.855 MB / 1.256 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.1, allocations: 47.16 kB / 1.256 GB, free: 4 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/1.1, allocations: 4 kB / 1.256 GB, free: 0 / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.009727/1.11, allocations: 2.803 MB / 1.259 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.11, allocations: 64 kB / 1.259 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009221/1.119, allocations: 5.259 MB / 1.264 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003862/1.12, allocations: 53.7 kB / 1.264 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.121, allocations: 1.6 MB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000556/1.122, allocations: 268.1 kB / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/1.123, allocations: 391.2 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/1.123, allocations: 301.1 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/1.126, allocations: 1.355 MB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/1.13, allocations: 2.059 MB / 1.27 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006531/1.136, allocations: 3.3 MB / 1.273 GB, free: 13.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.136, allocations: 8 kB / 1.273 GB, free: 13.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008692/1.145, allocations: 3.779 MB / 1.277 GB, free: 10.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.145, allocations: 15.98 kB / 1.277 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/1.145, allocations: 20 kB / 1.277 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/1.146, allocations: 304.7 kB / 1.277 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.148, allocations: 475.5 kB / 1.278 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/1.149, allocations: 0.8175 MB / 1.278 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.152, allocations: 310.6 kB / 1.279 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/1.153, allocations: 136 kB / 1.279 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004247/1.157, allocations: 1.816 MB / 1.281 GB, free: 6.137 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003292/1.16, allocations: 1.821 MB / 1.282 GB, free: 3.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005489/1.166, allocations: 2.851 MB / 1.285 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.053e-05/1.166, allocations: 8 kB / 1.285 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.007939/1.174, allocations: 3.345 MB / 1.289 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.174, allocations: 12 kB / 1.289 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.174, allocations: 24 kB / 1.289 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.175, allocations: 397.1 kB / 1.289 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/1.177, allocations: 435.3 kB / 1.289 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/1.184, allocations: 5.004 MB / 1.294 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.187, allocations: 243.4 kB / 1.294 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/1.187, allocations: 124 kB / 1.295 GB, free: 7.051 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (177): * Single equations (assignments): 173 * Array equations: 3 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008507/1.188, allocations: 295.6 kB / 1.295 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.189, allocations: 323.8 kB / 1.295 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007473/1.197, allocations: 2.44 MB / 1.298 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/1.197, allocations: 15.94 kB / 1.298 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.197, allocations: 4 kB / 1.298 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.197, allocations: 3.984 kB / 1.298 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.209, allocations: 4.728 MB / 1.302 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.21, allocations: 0 / 1.302 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.211, allocations: 283.6 kB / 1.302 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/1.212, allocations: 136.6 kB / 1.303 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/1.212, allocations: 35.95 kB / 1.303 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006969/1.213, allocations: 0.7319 MB / 1.303 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.213, allocations: 4.062 kB / 1.303 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009516/1.222, allocations: 3.359 MB / 1.307 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.224, allocations: 0.6174 MB / 1.307 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.225, allocations: 16 kB / 1.307 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.228, allocations: 159.8 kB / 1.307 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.228, allocations: 68.91 kB / 1.307 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.228, allocations: 55.94 kB / 1.308 GB, free: 9.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006498/1.235, allocations: 3.77 MB / 1.311 GB, free: 5.812 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 0 / 1.311 GB, free: 5.812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006127/1.241, allocations: 1.528 MB / 1.313 GB, free: 4.285 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01141/1.253, allocations: 4.489 MB / 1.317 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.263, allocations: 4.188 MB / 1.321 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.263, allocations: 0 / 1.321 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/1.266, allocations: 0.9391 MB / 1.322 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008108/1.274, allocations: 1.732 MB / 1.324 GB, free: 8.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06339/1.337, allocations: 32.56 MB / 1.356 GB, free: 7.523 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/1.34, allocations: 2.11 MB / 1.358 GB, free: 5.383 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003885/1.344, allocations: 0.8323 MB / 1.358 GB, free: 4.547 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/1.346, allocations: 1.425 MB / 1.36 GB, free: 3.121 MB / 1.092 GB Notification: Performance of SimCode: time 1.062e-06/1.346, allocations: 0 / 1.36 GB, free: 3.121 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/1.505, allocations: 98.93 MB / 1.456 GB, free: 1.559 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.22/20.73, allocations: 10.38 kB / 1.456 GB, free: 1.551 MB / 1.186 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_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_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches