Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 112.6 kB / 16.37 MB, free: 6 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.001388/0.001388, allocations: 196 kB / 17.31 MB, free: 5.613 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 67.62 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4284, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.1601/0.5886, allocations: 94.89 MB / 1.044 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05248/0.6411, allocations: 30 MB / 1.073 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007418/0.6485, allocations: 151.2 kB / 1.073 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00707/0.6556, allocations: 2.011 MB / 1.075 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.6715, allocations: 4.486 MB / 1.08 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.6833, allocations: 3.622 MB / 1.083 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.5968/1.28, allocations: 8.85 MB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007084/1.287, allocations: 3.292 MB / 1.095 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/1.3, allocations: 3.771 MB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00697/1.307, allocations: 2.759 MB / 1.101 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001538/1.308, allocations: 396.4 kB / 1.102 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007355/1.316, allocations: 2.658 MB / 1.104 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002753/1.318, allocations: 1.617 MB / 1.106 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00624/1.325, allocations: 2.517 MB / 1.108 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01569/1.34, allocations: 7.636 MB / 1.116 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.34, allocations: 0 / 1.116 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/1.34, allocations: 4 kB / 1.116 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002503/1.341, allocations: 1.406 kB / 1.116 GB, free: 11.24 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01631/1.357, allocations: 5.578 MB / 1.121 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.357, allocations: 10.06 kB / 1.121 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/1.367, allocations: 1.55 MB / 1.123 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/1.385, allocations: 5.186 MB / 1.128 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/1.385, allocations: 171.6 kB / 1.128 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/1.387, allocations: 223.8 kB / 1.128 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/1.399, allocations: 3.018 MB / 1.131 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.777e-05/1.4, allocations: 5.719 kB / 1.131 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/1.4, allocations: 77.41 kB / 1.131 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/1.4, allocations: 47.25 kB / 1.131 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.413, allocations: 2.337 MB / 1.134 GB, free: 7.035 MB / 0.8575 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.03847/1.451, allocations: 12.55 MB / 1.146 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009697/1.461, allocations: 1.88 MB / 1.148 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003957/1.465, allocations: 0.8462 MB / 1.149 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/1.477, allocations: 4.35 MB / 1.153 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.477, allocations: 45.83 kB / 1.153 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.206e-06/1.477, allocations: 0 / 1.153 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.01376/1.491, allocations: 2.766 MB / 1.155 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.491, allocations: 59.59 kB / 1.156 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/1.504, allocations: 4.675 MB / 1.16 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007771/1.505, allocations: 57.89 kB / 1.16 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.507, allocations: 2.039 MB / 1.162 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007728/1.508, allocations: 279.2 kB / 1.162 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/1.509, allocations: 488.2 kB / 1.163 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.509, allocations: 305.1 kB / 1.163 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.515, allocations: 1.646 MB / 1.165 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/1.521, allocations: 2.558 MB / 1.167 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.532, allocations: 4.126 MB / 1.171 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/1.532, allocations: 7.969 kB / 1.171 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01569/1.548, allocations: 4.489 MB / 1.176 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/1.548, allocations: 20.81 kB / 1.176 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/1.548, allocations: 28.19 kB / 1.176 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.069e-05/1.548, allocations: 38.44 kB / 1.176 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.555, allocations: 0.6148 MB / 1.176 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/1.559, allocations: 2.986 MB / 1.179 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/1.565, allocations: 340.5 kB / 1.18 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/1.566, allocations: 183.7 kB / 1.18 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007601/1.574, allocations: 2.256 MB / 1.182 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005584/1.579, allocations: 2.265 MB / 1.184 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007279/1.587, allocations: 3.548 MB / 1.188 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.398e-05/1.587, allocations: 8 kB / 1.188 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.009842/1.597, allocations: 3.897 MB / 1.192 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/1.597, allocations: 19.98 kB / 1.192 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/1.597, allocations: 28 kB / 1.192 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.962e-05/1.597, allocations: 40 kB / 1.192 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.6, allocations: 0.64 MB / 1.192 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.145e-05/1.6, allocations: 54.28 kB / 1.192 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.604, allocations: 263.1 kB / 1.193 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/1.604, allocations: 172 kB / 1.193 GB, free: 4.355 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (216): * Single equations (assignments): 208 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008384/1.605, allocations: 311.3 kB / 1.193 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.606, allocations: 406.7 kB / 1.193 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007354/1.614, allocations: 2.678 MB / 1.196 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/1.614, allocations: 11.98 kB / 1.196 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.614, allocations: 0 / 1.196 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.614, allocations: 7.969 kB / 1.196 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.629, allocations: 5.121 MB / 1.201 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.629, allocations: 3.656 kB / 1.201 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.63, allocations: 309.9 kB / 1.201 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/1.631, allocations: 145.6 kB / 1.201 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.631, allocations: 39.95 kB / 1.201 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/1.633, allocations: 2.666 MB / 1.204 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.633, allocations: 4 kB / 1.204 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/1.639, allocations: 2.475 MB / 1.207 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.641, allocations: 0.6477 MB / 1.207 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.642, allocations: 23.94 kB / 1.207 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.645, allocations: 135.9 kB / 1.207 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.645, allocations: 68.91 kB / 1.207 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.645, allocations: 67.94 kB / 1.207 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.006337/1.652, allocations: 3.21 MB / 1.211 GB, free: 2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.194e-06/1.652, allocations: 0 / 1.211 GB, free: 2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007867/1.66, allocations: 1.722 MB / 1.212 GB, free: 280 kB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/1.662, allocations: 0.6669 MB / 1.213 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.674, allocations: 5.105 MB / 1.218 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.674, allocations: 0 / 1.218 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0028/1.677, allocations: 1.016 MB / 1.219 GB, free: 9.758 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009671/1.686, allocations: 2.276 MB / 1.221 GB, free: 7.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.7, allocations: 7.136 MB / 1.228 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/1.702, allocations: 2.515 MB / 1.231 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00449/1.707, allocations: 1.093 MB / 1.232 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/1.708, allocations: 307.3 kB / 1.232 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of SimCode: time 1.152e-06/1.708, allocations: 0 / 1.232 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.1941/1.902, allocations: 86.37 MB / 1.316 GB, free: 7.77 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches