Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 108.1 kB / 16.41 MB, free: 6.02 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.001163/0.001163, allocations: 189 kB / 17.34 MB, free: 5.605 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.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.229/2.229, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8255, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.207/1.033, allocations: 235.9 MB / 1.398 GB, free: 7.078 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01474/1.047, allocations: 10.42 MB / 1.408 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/1.05, allocations: 59.69 kB / 1.408 GB, free: 12.58 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/1.052, allocations: 1.232 MB / 1.409 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008435/1.061, allocations: 3.785 MB / 1.413 GB, free: 7.543 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/1.066, allocations: 2.094 MB / 1.415 GB, free: 5.453 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005006/1.071, allocations: 4.449 MB / 1.419 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/1.072, allocations: 1.571 MB / 1.421 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/1.074, allocations: 1.639 MB / 1.422 GB, free: 13.74 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/1.076, allocations: 1.5 MB / 1.424 GB, free: 12.24 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/1.077, allocations: 184 kB / 1.424 GB, free: 12.06 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005509/1.082, allocations: 3.258 MB / 1.427 GB, free: 8.797 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006005/1.083, allocations: 0.7012 MB / 1.428 GB, free: 8.094 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000934/1.084, allocations: 1.058 MB / 1.429 GB, free: 7.031 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/1.089, allocations: 3.827 MB / 1.433 GB, free: 3.191 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.089, allocations: 0 / 1.433 GB, free: 3.191 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.733e-06/1.089, allocations: 0 / 1.433 GB, free: 3.191 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.211e-05/1.089, allocations: 4 kB / 1.433 GB, free: 3.188 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004351/1.093, allocations: 2.558 MB / 1.435 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.093, allocations: 12.58 kB / 1.435 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/1.096, allocations: 0.5334 MB / 1.436 GB, free: 24 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.098, allocations: 1.304 MB / 1.437 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/1.098, allocations: 102.6 kB / 1.437 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/1.098, allocations: 136 kB / 1.437 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/1.101, allocations: 1.662 MB / 1.439 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/1.101, allocations: 8 kB / 1.439 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.101, allocations: 59.98 kB / 1.439 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/1.101, allocations: 70.52 kB / 1.439 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/1.103, allocations: 1.451 MB / 1.44 GB, free: 11.11 MB / 1.17 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.007018/1.11, allocations: 6.998 MB / 1.447 GB, free: 3.645 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.112, allocations: 1.196 MB / 1.448 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/1.113, allocations: 0.6161 MB / 1.449 GB, free: 1.793 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/1.113, allocations: 0.8632 MB / 1.45 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008927/1.114, allocations: 0.6103 MB / 1.45 GB, free: 128 kB / 1.17 GB Notification: Performance of pre-optimization done (n=110): time 3.576e-06/1.114, allocations: 0 / 1.45 GB, free: 128 kB / 1.17 GB Notification: Performance of matching and sorting (n=110): time 0.002643/1.117, allocations: 1.581 MB / 1.452 GB, free: 14.54 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.117, allocations: 94.05 kB / 1.452 GB, free: 14.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.118, allocations: 1.195 MB / 1.453 GB, free: 13.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/1.118, allocations: 49.64 kB / 1.453 GB, free: 13.15 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/1.119, allocations: 0.6903 MB / 1.454 GB, free: 12.46 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.119, allocations: 404.5 kB / 1.454 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.119, allocations: 170.7 kB / 1.454 GB, free: 11.89 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.119, allocations: 345.9 kB / 1.455 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/1.12, allocations: 428.6 kB / 1.455 GB, free: 11.12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007304/1.121, allocations: 0.5557 MB / 1.456 GB, free: 10.53 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/1.122, allocations: 1.009 MB / 1.457 GB, free: 9.488 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.122, allocations: 0 / 1.457 GB, free: 9.488 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001783/1.124, allocations: 1.231 MB / 1.458 GB, free: 8.246 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.124, allocations: 12 kB / 1.458 GB, free: 8.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.124, allocations: 11.92 kB / 1.458 GB, free: 8.223 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.124, allocations: 4 kB / 1.458 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/1.125, allocations: 219.7 kB / 1.458 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.125, allocations: 4 kB / 1.458 GB, free: 8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/1.126, allocations: 99.28 kB / 1.458 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/1.126, allocations: 39.98 kB / 1.458 GB, free: 7.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009743/1.127, allocations: 0.7383 MB / 1.459 GB, free: 7.125 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006945/1.128, allocations: 0.5362 MB / 1.459 GB, free: 6.555 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/1.129, allocations: 1.001 MB / 1.46 GB, free: 5.52 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/1.129, allocations: 0 / 1.46 GB, free: 5.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001656/1.131, allocations: 1.195 MB / 1.462 GB, free: 4.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/1.131, allocations: 8 kB / 1.462 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.131, allocations: 0 / 1.462 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/1.131, allocations: 12.25 kB / 1.462 GB, free: 4.301 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/1.132, allocations: 219.7 kB / 1.462 GB, free: 4.086 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.132, allocations: 4 kB / 1.462 GB, free: 4.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/1.132, allocations: 75.5 kB / 1.462 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/1.133, allocations: 39.98 kB / 1.462 GB, free: 3.969 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0002311/1.133, allocations: 236 kB / 1.462 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.133, allocations: 163.1 kB / 1.462 GB, free: 3.57 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.135, allocations: 1.243 MB / 1.464 GB, free: 2.316 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.135, allocations: 12 kB / 1.464 GB, free: 2.305 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.135, allocations: 0 / 1.464 GB, free: 2.305 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/1.136, allocations: 1.015 MB / 1.465 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.141, allocations: 3.175 MB / 1.468 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.141, allocations: 4.312 kB / 1.468 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/1.142, allocations: 231.7 kB / 1.468 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.142, allocations: 8 kB / 1.468 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/1.142, allocations: 24 kB / 1.468 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.142, allocations: 11.94 kB / 1.468 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.142, allocations: 7.938 kB / 1.468 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/1.144, allocations: 1.929 MB / 1.47 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/1.145, allocations: 359.8 kB / 1.47 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/1.145, allocations: 27.98 kB / 1.47 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/1.146, allocations: 40.48 kB / 1.47 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.146, allocations: 76.83 kB / 1.47 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/1.146, allocations: 36 kB / 1.47 GB, free: 11.17 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008927/1.147, allocations: 0.8297 MB / 1.471 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.147, allocations: 0 / 1.471 GB, free: 10.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001543/1.148, allocations: 0.8382 MB / 1.472 GB, free: 9.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001259/1.15, allocations: 0.5807 MB / 1.473 GB, free: 9.074 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.152, allocations: 1.623 MB / 1.474 GB, free: 7.449 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.152, allocations: 0 / 1.474 GB, free: 7.449 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/1.153, allocations: 0.5695 MB / 1.475 GB, free: 6.887 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/1.156, allocations: 0.8718 MB / 1.476 GB, free: 6.031 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.16, allocations: 3.442 MB / 1.479 GB, free: 2.516 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.161, allocations: 1.364 MB / 1.48 GB, free: 1.121 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/1.161, allocations: 119.4 kB / 1.48 GB, free: 1.004 MB / 1.201 GB Notification: Performance of SimCode: time 6.81e-07/1.161, allocations: 0 / 1.48 GB, free: 1.004 MB / 1.201 GB Notification: Performance of Templates: time 0.0316/1.193, allocations: 25.45 MB / 1.505 GB, free: 7.695 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches