Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 173.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 96.16 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 10.44 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3725, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.507/6.879, allocations: 2.162 GB / 3.385 GB, free: 327.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/6.88, allocations: 83.95 kB / 3.385 GB, free: 327.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.453/7.333, allocations: 224.2 MB / 3.604 GB, free: 98.91 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.254e-06/7.333, allocations: 3.938 kB / 3.604 GB, free: 98.91 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.262e-05/7.333, allocations: 4 kB / 3.604 GB, free: 98.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001037/7.334, allocations: 475.3 kB / 3.605 GB, free: 98.39 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/7.334, allocations: 12.03 kB / 3.605 GB, free: 98.38 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/7.334, allocations: 43.66 kB / 3.605 GB, free: 98.34 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/7.335, allocations: 262.8 kB / 3.605 GB, free: 98.04 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/7.335, allocations: 135.4 kB / 3.605 GB, free: 97.88 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/7.335, allocations: 20 kB / 3.605 GB, free: 97.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/7.336, allocations: 282.8 kB / 3.605 GB, free: 97.54 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/7.336, allocations: 4 kB / 3.605 GB, free: 97.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/7.336, allocations: 15.94 kB / 3.605 GB, free: 97.52 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/7.336, allocations: 11.98 kB / 3.605 GB, free: 97.51 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/7.336, allocations: 156.6 kB / 3.605 GB, free: 97.36 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/7.338, allocations: 1.599 MB / 3.607 GB, free: 95.67 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/7.338, allocations: 173.1 kB / 3.607 GB, free: 95.49 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/7.338, allocations: 75.28 kB / 3.607 GB, free: 95.42 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/7.338, allocations: 109.8 kB / 3.607 GB, free: 95.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 3.296e-06/7.338, allocations: 0 / 3.607 GB, free: 95.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001558/7.339, allocations: 45.42 kB / 3.607 GB, free: 95.25 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/7.339, allocations: 134.6 kB / 3.607 GB, free: 95.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/7.339, allocations: 277.8 kB / 3.608 GB, free: 94.83 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/7.339, allocations: 29.7 kB / 3.608 GB, free: 94.79 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/7.339, allocations: 191.1 kB / 3.608 GB, free: 94.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/7.339, allocations: 3.984 kB / 3.608 GB, free: 94.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/7.339, allocations: 4 kB / 3.608 GB, free: 94.59 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001251/7.339, allocations: 326.8 kB / 3.608 GB, free: 94.27 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/7.339, allocations: 35.97 kB / 3.608 GB, free: 94.23 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/7.34, allocations: 166.6 kB / 3.608 GB, free: 94.01 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/7.34, allocations: 63.92 kB / 3.609 GB, free: 93.95 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/7.34, allocations: 0 / 3.609 GB, free: 93.95 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004497/7.34, allocations: 217.4 kB / 3.609 GB, free: 93.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/7.34, allocations: 5.875 kB / 3.609 GB, free: 93.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/7.34, allocations: 8 kB / 3.609 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/7.34, allocations: 4 kB / 3.609 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/7.341, allocations: 39.92 kB / 3.609 GB, free: 93.67 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/7.341, allocations: 7.938 kB / 3.609 GB, free: 93.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/7.341, allocations: 39.53 kB / 3.609 GB, free: 93.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/7.341, allocations: 11.98 kB / 3.609 GB, free: 93.61 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001736/7.341, allocations: 221.2 kB / 3.609 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/7.341, allocations: 124.8 kB / 3.609 GB, free: 93.26 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/7.341, allocations: 121.6 kB / 3.609 GB, free: 93.13 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/7.341, allocations: 184.2 kB / 3.609 GB, free: 92.95 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-05/7.341, allocations: 180.2 kB / 3.61 GB, free: 92.76 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-05/7.341, allocations: 188.2 kB / 3.61 GB, free: 92.57 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/7.342, allocations: 481.1 kB / 3.61 GB, free: 92.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-05/7.342, allocations: 105 kB / 3.61 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/7.342, allocations: 109 kB / 3.611 GB, free: 91.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/7.342, allocations: 184.2 kB / 3.611 GB, free: 91.63 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.701e-05/7.342, allocations: 180.2 kB / 3.611 GB, free: 91.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.247e-05/7.342, allocations: 184.3 kB / 3.611 GB, free: 91.26 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.006e-05/7.342, allocations: 180.2 kB / 3.611 GB, free: 91.08 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/7.342, allocations: 323.6 kB / 3.612 GB, free: 90.74 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/7.343, allocations: 209.7 kB / 3.612 GB, free: 90.51 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/7.343, allocations: 180.3 kB / 3.612 GB, free: 90.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/7.343, allocations: 105.9 kB / 3.612 GB, free: 90.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/7.343, allocations: 184.3 kB / 3.612 GB, free: 90.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/7.343, allocations: 101 kB / 3.612 GB, free: 89.92 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002266/7.343, allocations: 217.9 kB / 3.612 GB, free: 89.71 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.7e-07/7.343, allocations: 0 / 3.612 GB, free: 89.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008911/7.344, allocations: 123.9 kB / 3.613 GB, free: 89.59 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/7.346, allocations: 1.016 MB / 3.614 GB, free: 88.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002603/7.346, allocations: 80.41 kB / 3.614 GB, free: 88.49 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/7.346, allocations: 0 / 3.614 GB, free: 88.49 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/7.346, allocations: 0 / 3.614 GB, free: 88.49 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/7.347, allocations: 0.5509 MB / 3.614 GB, free: 87.93 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/7.348, allocations: 445 kB / 3.615 GB, free: 87.47 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/7.348, allocations: 0.7437 MB / 3.615 GB, free: 86.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001764/7.348, allocations: 41.86 kB / 3.615 GB, free: 86.66 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/7.348, allocations: 19.44 kB / 3.615 GB, free: 86.64 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/7.348, allocations: 3.938 kB / 3.615 GB, free: 86.64 MB / 1.167 GB Notification: Performance of Templates: time 0.02023/7.369, allocations: 13.6 MB / 3.629 GB, free: 73.04 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches