Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.00806/0.00806, allocations: 99.8 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.001708/0.001708, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.663/2.663, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.0654/0.3492, allocations: 58.58 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03121/0.3804, allocations: 19.93 MB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.3835, allocations: 91.5 kB / 1.243 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006108/0.3897, allocations: 2.002 MB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008558/0.3983, allocations: 3.072 MB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006776/0.4051, allocations: 2.351 MB / 1.25 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6941/1.099, allocations: 14.42 MB / 1.264 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/1.102, allocations: 1.813 MB / 1.266 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/1.108, allocations: 2.132 MB / 1.268 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/1.111, allocations: 1.567 MB / 1.27 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005806/1.111, allocations: 214.8 kB / 1.27 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/1.116, allocations: 2.348 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/1.118, allocations: 0.8998 MB / 1.273 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003445/1.121, allocations: 1.438 MB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/1.133, allocations: 4.797 MB / 1.279 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.133, allocations: 0 / 1.279 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.133, allocations: 1.281 kB / 1.279 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000141/1.133, allocations: 0 / 1.279 GB, free: 6.117 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.009614/1.142, allocations: 3.44 MB / 1.282 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.142, allocations: 10.28 kB / 1.282 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003503/1.143, allocations: 158.8 kB / 1.283 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/1.149, allocations: 0.9615 MB / 1.284 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/1.167, allocations: 8.95 MB / 1.292 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/1.168, allocations: 87.62 kB / 1.292 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/1.168, allocations: 118.1 kB / 1.292 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/1.171, allocations: 1.523 MB / 1.294 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/1.171, allocations: 1.375 kB / 1.294 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.172, allocations: 43.03 kB / 1.294 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/1.172, allocations: 26.69 kB / 1.294 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/1.175, allocations: 1.334 MB / 1.295 GB, free: 2.992 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.011/1.186, allocations: 7.18 MB / 1.302 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/1.189, allocations: 1.015 MB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.191, allocations: 0.5092 MB / 1.304 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006593/1.197, allocations: 3.023 MB / 1.307 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.197, allocations: 49.53 kB / 1.307 GB, free: 12.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=58): time 2.324e-06/1.197, allocations: 2.531 kB / 1.307 GB, free: 12.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=58): time 0.005343/1.203, allocations: 1.717 MB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.203, allocations: 57.44 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/1.208, allocations: 2.716 MB / 1.311 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/1.208, allocations: 42.61 kB / 1.311 GB, free: 10.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.209, allocations: 1.093 MB / 1.312 GB, free: 9.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/1.209, allocations: 220.4 kB / 1.313 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007616/1.21, allocations: 441.7 kB / 1.313 GB, free: 9.484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.21, allocations: 301.1 kB / 1.313 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/1.213, allocations: 1.153 MB / 1.314 GB, free: 8.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/1.215, allocations: 1.565 MB / 1.316 GB, free: 7.906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.22, allocations: 2.456 MB / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/1.22, allocations: 2.625 kB / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007136/1.227, allocations: 3.068 MB / 1.321 GB, free: 5.637 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/1.227, allocations: 7.438 kB / 1.321 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.227, allocations: 14.84 kB / 1.321 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/1.228, allocations: 102.4 kB / 1.321 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.229, allocations: 353.3 kB / 1.322 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005721/1.23, allocations: 0.6083 MB / 1.322 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/1.233, allocations: 236.5 kB / 1.323 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/1.233, allocations: 103.5 kB / 1.323 GB, free: 4.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003638/1.237, allocations: 1.506 MB / 1.324 GB, free: 4.262 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002224/1.239, allocations: 1.374 MB / 1.326 GB, free: 3.469 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003486/1.242, allocations: 2.097 MB / 1.328 GB, free: 2.453 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/1.243, allocations: 2.719 kB / 1.328 GB, free: 2.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005413/1.248, allocations: 2.692 MB / 1.33 GB, free: 1.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.248, allocations: 9.469 kB / 1.33 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.248, allocations: 8.625 kB / 1.33 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/1.249, allocations: 123.8 kB / 1.33 GB, free: 1.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.25, allocations: 328.7 kB / 1.331 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004268/1.254, allocations: 2.837 MB / 1.333 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/1.257, allocations: 194 kB / 1.334 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.257, allocations: 86.42 kB / 1.334 GB, free: 14.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004597/1.257, allocations: 259.7 kB / 1.334 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.258, allocations: 251.3 kB / 1.334 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/1.262, allocations: 1.595 MB / 1.336 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/1.262, allocations: 10.19 kB / 1.336 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/1.262, allocations: 0 / 1.336 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.262, allocations: 7.984 kB / 1.336 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/1.27, allocations: 3.168 MB / 1.339 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.27, allocations: 3.906 kB / 1.339 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/1.271, allocations: 170.3 kB / 1.339 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/1.271, allocations: 73.38 kB / 1.339 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/1.271, allocations: 22.58 kB / 1.339 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/1.271, allocations: 0.5999 MB / 1.34 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.271, allocations: 11.38 kB / 1.34 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/1.275, allocations: 1.534 MB / 1.341 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.276, allocations: 459.5 kB / 1.342 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/1.277, allocations: 18.81 kB / 1.342 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.278, allocations: 86.12 kB / 1.342 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.278, allocations: 51.12 kB / 1.342 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.278, allocations: 53.42 kB / 1.342 GB, free: 9.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002792/1.281, allocations: 1.801 MB / 1.344 GB, free: 8.434 MB / 1.029 GB Notification: Performance of sort global known variables: time 4e-07/1.281, allocations: 4 kB / 1.344 GB, free: 8.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004185/1.285, allocations: 1.263 MB / 1.345 GB, free: 7.676 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * 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.005923/1.291, allocations: 2.771 MB / 1.348 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007243/1.298, allocations: 3.478 MB / 1.351 GB, free: 1.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.298, allocations: 4 kB / 1.351 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.3, allocations: 0.5904 MB / 1.352 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/1.306, allocations: 1.235 MB / 1.353 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05062/1.356, allocations: 19.77 MB / 1.372 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.358, allocations: 1.736 MB / 1.374 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003055/1.361, allocations: 0.7091 MB / 1.374 GB, free: 9.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.363, allocations: 1.03 MB / 1.375 GB, free: 8.125 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.363, allocations: 0 / 1.375 GB, free: 8.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.492, allocations: 72.93 MB / 1.447 GB, free: 272 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18.64, allocations: 4.062 kB / 1.447 GB, free: 268 kB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_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_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches