Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") translateModel(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.000958, allocations: 90.98 kB / 15.36 MB, free: 0.7344 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.006365/0.006365, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.031/3.031, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003826, allocations: 7.031 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom): time 0.003604/0.3753, allocations: 2.354 MB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.3787, allocations: 1.387 MB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.3793, allocations: 7.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.3799, allocations: 91.52 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.3804, allocations: 103.5 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.3812, allocations: 215.7 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006929/0.3819, allocations: 439.8 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.3824, allocations: 156.9 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.3827, allocations: 123.2 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.383, allocations: 135.2 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.3831, allocations: 12 kB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.3833, allocations: 59.97 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3834, allocations: 67.62 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.3837, allocations: 164.7 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.3845, allocations: 0.5023 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3845, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3845, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3846, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 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.001755/0.3863, allocations: 0.6472 MB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.3864, allocations: 12.03 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3865, allocations: 40.47 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.3874, allocations: 388.5 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3875, allocations: 20.94 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.3876, allocations: 27.94 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.3883, allocations: 255.4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3884, allocations: 4 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.3884, allocations: 11.94 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3884, allocations: 8 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.389, allocations: 161.7 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.3911, allocations: 0.9566 MB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.3918, allocations: 138.7 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.392, allocations: 56.83 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.392, allocations: 3.938 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.3923, allocations: 99.36 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 3.396e-06/0.3924, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0007295/0.3931, allocations: 200.8 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.3932, allocations: 59.41 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.3939, allocations: 413.6 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3939, allocations: 37.64 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.3942, allocations: 215.8 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3943, allocations: 47.52 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.3944, allocations: 33.7 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3946, allocations: 350.7 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.3949, allocations: 76.53 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3952, allocations: 157.6 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.3958, allocations: 197.3 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.3958, allocations: 4 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00087/0.3967, allocations: 294.3 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3969, allocations: 139.2 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3969, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3969, allocations: 7.938 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.3972, allocations: 47.91 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3973, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.3976, allocations: 43.67 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.3976, allocations: 12 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.3977, allocations: 4 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006/0.3983, allocations: 225.9 kB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3983, allocations: 4 kB / 1.07 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.3983, allocations: 3.984 kB / 1.07 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3986, allocations: 51.92 kB / 1.07 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3986, allocations: 8.219 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3988, allocations: 27.83 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.3989, allocations: 12 kB / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.TRooMea.tab.nextTimeEvent,$whenCondition1,conHea.hysHea.y,$PRE.conHea.hysHea.y,TRooMea.tab.nextTimeEventScaled,$PRE.TRooMea.tab.nextTimeEventScaled,TRooMea.tab.nextTimeEvent,conHea.conHea.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0003055/0.3992, allocations: 245.7 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.3993, allocations: 27.62 kB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.3994, allocations: 39.11 kB / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3994, allocations: 0 / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3994, allocations: 12 kB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3995, allocations: 0 / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.4, allocations: 337.3 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4, allocations: 0 / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4002, allocations: 19.92 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4002, allocations: 4 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4002, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4002, allocations: 3.984 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4002, allocations: 0 / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.4007, allocations: 196.7 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4009, allocations: 108.7 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.401, allocations: 4 kB / 1.071 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4011, allocations: 11.98 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.4012, allocations: 11.98 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4012, allocations: 11.92 kB / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004756/0.4017, allocations: 271.2 kB / 1.071 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4017, allocations: 11.94 kB / 1.071 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007217/0.4025, allocations: 111.6 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of discrete states: 3 (TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y,TRooMea.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001617/0.4041, allocations: 421.8 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.4052, allocations: 305.6 kB / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4052, allocations: 0 / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.4055, allocations: 51.97 kB / 1.072 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.4064, allocations: 101.5 kB / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4082, allocations: 0.6534 MB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.4088, allocations: 0.7882 MB / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.4092, allocations: 54.94 kB / 1.073 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4094, allocations: 31.44 kB / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.4094, allocations: 0 / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of Templates: time 0.01661/0.426, allocations: 3.838 MB / 1.077 GB, free: 2.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & ./Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches