Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009736, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001037/0.001037, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003283, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7646, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.3011/1.066, allocations: 295.9 MB / 1.243 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7782/1.844, allocations: 18.91 MB / 1.262 GB, free: 75.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/1.848, allocations: 74.78 kB / 1.262 GB, free: 75.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003889/1.852, allocations: 0.9732 MB / 1.263 GB, free: 75.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.862, allocations: 3.11 MB / 1.266 GB, free: 75.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006851/1.869, allocations: 1.814 MB / 1.268 GB, free: 75.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01228/1.881, allocations: 6.811 MB / 1.274 GB, free: 75.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/1.885, allocations: 1.592 MB / 1.276 GB, free: 74.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/1.893, allocations: 2.576 MB / 1.278 GB, free: 74.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004618/1.898, allocations: 1.704 MB / 1.28 GB, free: 74.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006272/1.899, allocations: 98.28 kB / 1.28 GB, free: 74.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/1.906, allocations: 2.204 MB / 1.282 GB, free: 74.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/1.908, allocations: 0.7478 MB / 1.283 GB, free: 74.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/1.909, allocations: 0.5159 MB / 1.284 GB, free: 74.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/1.914, allocations: 3.365 MB / 1.287 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/1.914, allocations: 3.312 kB / 1.287 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.096e-06/1.914, allocations: 0 / 1.287 GB, free: 74.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.139e-05/1.914, allocations: 0 / 1.287 GB, free: 74.55 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.0045/1.919, allocations: 2.585 MB / 1.289 GB, free: 73.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.919, allocations: 9.375 kB / 1.289 GB, free: 73.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/1.925, allocations: 1.058 MB / 1.29 GB, free: 72.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/1.929, allocations: 1.902 MB / 1.292 GB, free: 72.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/1.93, allocations: 180.5 kB / 1.292 GB, free: 72.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/1.93, allocations: 147.8 kB / 1.293 GB, free: 72.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/1.934, allocations: 1.802 MB / 1.294 GB, free: 72.31 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/1.934, allocations: 0 / 1.294 GB, free: 72.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/1.934, allocations: 60.53 kB / 1.294 GB, free: 72.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/1.934, allocations: 50.92 kB / 1.294 GB, free: 72.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/1.938, allocations: 1.717 MB / 1.296 GB, free: 72.26 MB / 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.01018/1.948, allocations: 8.063 MB / 1.304 GB, free: 68.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/1.95, allocations: 1.225 MB / 1.305 GB, free: 68.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/1.952, allocations: 0.6161 MB / 1.306 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.952, allocations: 108.8 kB / 1.306 GB, free: 67.92 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.952, allocations: 42.78 kB / 1.306 GB, free: 67.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/1.953, allocations: 142.9 kB / 1.306 GB, free: 67.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.988e-06/1.953, allocations: 0 / 1.306 GB, free: 67.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.004874/1.958, allocations: 1.925 MB / 1.308 GB, free: 67.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/1.958, allocations: 58.28 kB / 1.308 GB, free: 67.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.96, allocations: 1.816 MB / 1.31 GB, free: 67.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.96, allocations: 48.89 kB / 1.31 GB, free: 67.22 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006201/1.961, allocations: 0.9872 MB / 1.311 GB, free: 66.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/1.961, allocations: 267.7 kB / 1.311 GB, free: 66.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/1.961, allocations: 21.06 kB / 1.311 GB, free: 66.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/1.961, allocations: 343.5 kB / 1.311 GB, free: 66.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.963, allocations: 0.5346 MB / 1.312 GB, free: 66.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/1.964, allocations: 0.9522 MB / 1.313 GB, free: 65.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.965, allocations: 0.6237 MB / 1.313 GB, free: 65.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.965, allocations: 4.875 kB / 1.313 GB, free: 65.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003624/1.969, allocations: 1.681 MB / 1.315 GB, free: 65.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.969, allocations: 376.6 kB / 1.315 GB, free: 65.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.969, allocations: 11.19 kB / 1.315 GB, free: 65.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/1.97, allocations: 79.72 kB / 1.316 GB, free: 65.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.971, allocations: 331.7 kB / 1.316 GB, free: 65.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006768/1.972, allocations: 1.766 MB / 1.318 GB, free: 63.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.974, allocations: 225.2 kB / 1.318 GB, free: 63.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.974, allocations: 51.55 kB / 1.318 GB, free: 63.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.974, allocations: 5.406 kB / 1.318 GB, free: 63.51 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/1.977, allocations: 1.343 MB / 1.319 GB, free: 63.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.977, allocations: 7.875 kB / 1.319 GB, free: 63.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/1.977, allocations: 58.3 kB / 1.319 GB, free: 63.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009886/1.978, allocations: 280.5 kB / 1.319 GB, free: 63.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/1.979, allocations: 1.512 MB / 1.321 GB, free: 61.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.981, allocations: 188.8 kB / 1.321 GB, free: 61.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/1.981, allocations: 48.14 kB / 1.321 GB, free: 61.89 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00111/1.982, allocations: 0.5825 MB / 1.322 GB, free: 61.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/1.983, allocations: 204.8 kB / 1.322 GB, free: 61.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/1.986, allocations: 1.383 MB / 1.323 GB, free: 61.19 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.986, allocations: 9.688 kB / 1.323 GB, free: 61.19 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.986, allocations: 0 / 1.323 GB, free: 61.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/1.988, allocations: 1.193 MB / 1.324 GB, free: 60.83 MB / 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 postOpt removeSimpleEquations (simulation): time 0.006139/1.994, allocations: 3.253 MB / 1.328 GB, free: 59.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.994, allocations: 3.531 kB / 1.328 GB, free: 59.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.995, allocations: 262.7 kB / 1.328 GB, free: 59.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/1.996, allocations: 41.34 kB / 1.328 GB, free: 59.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/1.996, allocations: 26.28 kB / 1.328 GB, free: 59.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005961/1.996, allocations: 1.744 MB / 1.33 GB, free: 57.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.996, allocations: 2.5 kB / 1.33 GB, free: 57.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/2.001, allocations: 2.07 MB / 1.332 GB, free: 57.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/2.002, allocations: 372.5 kB / 1.332 GB, free: 56.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/2.002, allocations: 23.33 kB / 1.332 GB, free: 56.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/2.003, allocations: 179.1 kB / 1.332 GB, free: 56.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/2.003, allocations: 60.56 kB / 1.332 GB, free: 56.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/2.003, allocations: 33.67 kB / 1.332 GB, free: 56.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001717/2.005, allocations: 1.236 MB / 1.334 GB, free: 56.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/2.005, allocations: 0 / 1.334 GB, free: 56.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002829/2.008, allocations: 1.025 MB / 1.335 GB, free: 56.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008502/2.009, allocations: 367 kB / 1.335 GB, free: 56.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004754/2.014, allocations: 2.108 MB / 1.337 GB, free: 55.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.014, allocations: 0 / 1.337 GB, free: 55.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/2.015, allocations: 0.6164 MB / 1.338 GB, free: 55.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/2.02, allocations: 1.065 MB / 1.339 GB, free: 55.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/2.026, allocations: 4.449 MB / 1.343 GB, free: 52.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/2.027, allocations: 1.574 MB / 1.344 GB, free: 51.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002448/2.03, allocations: 0.499 MB / 1.345 GB, free: 51.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/2.03, allocations: 158.5 kB / 1.345 GB, free: 51.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.794e-06/2.03, allocations: 0 / 1.345 GB, free: 51.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06358/2.094, allocations: 38.85 MB / 1.383 GB, free: 16.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches