Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.006513/0.006513, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001152/0.001152, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.13/2.13, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6558, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1927/0.8485, allocations: 187.9 MB / 1.271 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.8621, allocations: 10.76 MB / 1.281 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.8631, allocations: 39.75 kB / 1.281 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.8644, allocations: 497 kB / 1.282 GB, free: 6.508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.8698, allocations: 2.575 MB / 1.284 GB, free: 3.922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.8749, allocations: 2.453 MB / 1.287 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003039/0.878, allocations: 2.782 MB / 1.29 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.8792, allocations: 0.7722 MB / 1.29 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8809, allocations: 0.9886 MB / 1.291 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.8827, allocations: 1.058 MB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.8829, allocations: 100 kB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.8875, allocations: 3.001 MB / 1.295 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.8879, allocations: 438.8 kB / 1.296 GB, free: 8.312 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006961/0.8886, allocations: 0.5833 MB / 1.296 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.8927, allocations: 2.946 MB / 1.299 GB, free: 4.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.8927, allocations: 4 kB / 1.299 GB, free: 4.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8927, allocations: 3.938 kB / 1.299 GB, free: 4.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.194e-05/0.8928, allocations: 3.984 kB / 1.299 GB, free: 4.762 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003512/0.8963, allocations: 1.678 MB / 1.301 GB, free: 3.031 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.8963, allocations: 8.031 kB / 1.301 GB, free: 3.023 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.8965, allocations: 118.5 kB / 1.301 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.8983, allocations: 298.4 kB / 1.301 GB, free: 2.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.8997, allocations: 0.8273 MB / 1.302 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.8998, allocations: 53.3 kB / 1.302 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.8999, allocations: 59.98 kB / 1.302 GB, free: 1.625 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.9014, allocations: 0.9999 MB / 1.303 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.9015, allocations: 4 kB / 1.303 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.9015, allocations: 27.98 kB / 1.303 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.04e-05/0.9016, allocations: 73.95 kB / 1.303 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.9033, allocations: 1.011 MB / 1.304 GB, free: 15.49 MB / 1.045 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.005608/0.9089, allocations: 3.578 MB / 1.308 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.9099, allocations: 0.6639 MB / 1.308 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.9105, allocations: 375 kB / 1.309 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.9108, allocations: 198.7 kB / 1.309 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.9108, allocations: 43.5 kB / 1.309 GB, free: 10.36 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.054e-06/0.9108, allocations: 4 kB / 1.309 GB, free: 10.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.001831/0.9126, allocations: 1.021 MB / 1.31 GB, free: 9.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.9127, allocations: 111.4 kB / 1.31 GB, free: 9.195 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.9136, allocations: 0.8019 MB / 1.311 GB, free: 8.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.9137, allocations: 37.7 kB / 1.311 GB, free: 8.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.914, allocations: 424.1 kB / 1.311 GB, free: 7.922 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.9142, allocations: 228.9 kB / 1.312 GB, free: 7.695 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.9144, allocations: 146.5 kB / 1.312 GB, free: 7.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9145, allocations: 334 kB / 1.312 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.915, allocations: 340.7 kB / 1.312 GB, free: 6.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.9157, allocations: 472.6 kB / 1.313 GB, free: 6.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.9168, allocations: 0.7665 MB / 1.314 GB, free: 5.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9168, allocations: 3.938 kB / 1.314 GB, free: 5.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001448/0.9183, allocations: 0.9259 MB / 1.314 GB, free: 4.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9183, allocations: 8.031 kB / 1.314 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9183, allocations: 4 kB / 1.314 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9183, allocations: 4 kB / 1.314 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.919, allocations: 151.7 kB / 1.315 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.919, allocations: 8 kB / 1.315 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.9198, allocations: 83.09 kB / 1.315 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.9198, allocations: 31.98 kB / 1.315 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007538/0.9206, allocations: 0.5408 MB / 1.315 GB, free: 3.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005909/0.9212, allocations: 450.5 kB / 1.316 GB, free: 3.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/0.9222, allocations: 0.7291 MB / 1.316 GB, free: 2.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.9222, allocations: 8 kB / 1.316 GB, free: 2.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001357/0.9236, allocations: 0.8865 MB / 1.317 GB, free: 1.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.9236, allocations: 4 kB / 1.317 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.9236, allocations: 4 kB / 1.317 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.9236, allocations: 8 kB / 1.317 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.9243, allocations: 151.8 kB / 1.317 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.9243, allocations: 8.266 kB / 1.317 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.925, allocations: 67.42 kB / 1.317 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.9251, allocations: 27.98 kB / 1.318 GB, free: 1.395 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.9253, allocations: 220.6 kB / 1.318 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.9254, allocations: 90.88 kB / 1.318 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.9268, allocations: 0.8047 MB / 1.319 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.9268, allocations: 8 kB / 1.319 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9268, allocations: 4 kB / 1.319 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009992/0.9278, allocations: 0.74 MB / 1.319 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.9307, allocations: 2.105 MB / 1.321 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9307, allocations: 0 / 1.321 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.9314, allocations: 136.2 kB / 1.322 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.9314, allocations: 12 kB / 1.322 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.9315, allocations: 16 kB / 1.322 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.9315, allocations: 7.984 kB / 1.322 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9315, allocations: 7.938 kB / 1.322 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.9332, allocations: 1.36 MB / 1.323 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.9336, allocations: 255.8 kB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.9337, allocations: 16 kB / 1.323 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.9343, allocations: 19.98 kB / 1.323 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.9344, allocations: 52.25 kB / 1.323 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.9345, allocations: 24 kB / 1.323 GB, free: 11.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006662/0.9351, allocations: 0.5576 MB / 1.324 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9352, allocations: 0 / 1.324 GB, free: 10.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001563/0.9367, allocations: 0.7489 MB / 1.325 GB, free: 10 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/0.9399, allocations: 2.344 MB / 1.327 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.9417, allocations: 1.182 MB / 1.328 GB, free: 6.414 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9417, allocations: 0 / 1.328 GB, free: 6.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.9423, allocations: 372 kB / 1.328 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.9445, allocations: 0.5395 MB / 1.329 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009938/0.9545, allocations: 7.878 MB / 1.337 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.9551, allocations: 1.081 MB / 1.338 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001095/0.9562, allocations: 416.3 kB / 1.338 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.9567, allocations: 331.3 kB / 1.338 GB, free: 11.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.9567, allocations: 0 / 1.338 GB, free: 11.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05534/1.012, allocations: 31.39 MB / 1.369 GB, free: 12.54 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.56, allocations: 10 kB / 1.369 GB, free: 12.53 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches