Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 116.4 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.001612/0.001612, allocations: 193.5 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.15 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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.19 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.002229/0.3169, allocations: 0.881 MB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3187, allocations: 1.313 MB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.3188, allocations: 4 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3189, allocations: 11.81 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.3191, allocations: 27.72 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.3197, allocations: 271 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.3201, allocations: 299.4 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3202, allocations: 33.09 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.3205, allocations: 127.7 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.3207, allocations: 123.6 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3207, allocations: 24 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.3208, allocations: 39.92 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.321, allocations: 47.83 kB / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3211, allocations: 107.6 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3214, allocations: 263.2 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3214, allocations: 0 / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3214, allocations: 0 / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3214, allocations: 0 / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008611/0.3223, allocations: 0.5377 MB / 0.9551 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3223, allocations: 12.03 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.3224, allocations: 28.73 kB / 0.9552 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3227, allocations: 237.8 kB / 0.9554 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3227, allocations: 16.38 kB / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.3228, allocations: 20.36 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.3231, allocations: 185 kB / 0.9556 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3232, allocations: 192 / 0.9556 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3232, allocations: 7.922 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3232, allocations: 4 kB / 0.9556 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.3234, allocations: 96.11 kB / 0.9557 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.324, allocations: 468.7 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3243, allocations: 134.5 kB / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3244, allocations: 95.06 kB / 0.9564 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3245, allocations: 4 kB / 0.9564 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.3248, allocations: 212 kB / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3248, allocations: 0 / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.000816/0.3256, allocations: 447.4 kB / 0.957 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3257, allocations: 59.41 kB / 0.957 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3258, allocations: 144.4 kB / 0.9572 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.3259, allocations: 41.69 kB / 0.9572 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.3259, allocations: 108.6 kB / 0.9573 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.326, allocations: 71.19 kB / 0.9574 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3262, allocations: 89.98 kB / 0.9575 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3263, allocations: 330.8 kB / 0.9578 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.3266, allocations: 148.7 kB / 0.9579 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.3269, allocations: 201.2 kB / 0.9581 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.3275, allocations: 366.3 kB / 0.9585 GB, free: 200 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3275, allocations: 4 kB / 0.9585 GB, free: 196 kB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008402/0.3283, allocations: 0.4985 MB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.3284, allocations: 63.41 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3284, allocations: 3.984 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3284, allocations: 4 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3287, allocations: 51.92 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3287, allocations: 7.984 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.3291, allocations: 79.69 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.3292, allocations: 23.98 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001772/0.3293, allocations: 157.8 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3294, allocations: 19.8 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.3294, allocations: 25.75 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3294, allocations: 0 / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3294, allocations: 4 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3295, allocations: 7.938 kB / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.3303, allocations: 0.6621 MB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3303, allocations: 0 / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.3303, allocations: 4 kB / 0.9601 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3303, allocations: 0 / 0.9601 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3304, allocations: 11.97 kB / 0.9601 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3304, allocations: 11.88 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3304, allocations: 0 / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.331, allocations: 459.2 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.3311, allocations: 88.95 kB / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.3311, allocations: 15.98 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3313, allocations: 11.92 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.3313, allocations: 15.98 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.3314, allocations: 23.97 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.3314, allocations: 103.2 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 4 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003394/0.3318, allocations: 64 kB / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002013/0.332, allocations: 137.7 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.3327, allocations: 446.5 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3327, allocations: 0 / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.3329, allocations: 122.2 kB / 0.9615 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3333, allocations: 42.02 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.334, allocations: 321.3 kB / 0.9618 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3343, allocations: 0.7244 MB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.3344, allocations: 17.55 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.3345, allocations: 19.44 kB / 0.9626 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.3345, allocations: 0 / 0.9626 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.006788/0.3413, allocations: 3.568 MB / 0.9661 GB, free: 8.234 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMovingMean.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches