Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 102.6 kB / 15.06 MB, free: 1.098 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.002482/0.002482, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.739/2.739, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.145/5.145, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007027/0.000703, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451/1.451, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY): time 0.03305/1.485, allocations: 16.16 MB / 0.9967 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01768/1.502, allocations: 6.434 MB / 1.003 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/1.506, allocations: 43.88 kB / 1.003 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/1.509, allocations: 417.5 kB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006201/1.515, allocations: 0.8178 MB / 1.004 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/1.52, allocations: 0.8215 MB / 1.005 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007673/1.528, allocations: 2.433 MB / 1.007 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02321/1.551, allocations: 7.976 MB / 1.015 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005282/1.556, allocations: 1.402 MB / 1.017 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005902/1.562, allocations: 1.745 MB / 1.018 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002372/1.565, allocations: 244 kB / 1.018 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00516/1.57, allocations: 0.6633 MB / 1.019 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005448/1.576, allocations: 1.801 MB / 1.021 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/1.579, allocations: 0.7147 MB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/1.594, allocations: 6.711 MB / 1.028 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.594, allocations: 4 kB / 1.028 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.092e-06/1.594, allocations: 0 / 1.028 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000387/1.594, allocations: 0 / 1.028 GB, free: 5.711 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01635/1.611, allocations: 3.219 MB / 1.031 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 9.468e-05/1.611, allocations: 12.03 kB / 1.031 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003758/1.614, allocations: 0.5629 MB / 1.032 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/1.638, allocations: 2.476 MB / 1.034 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009955/1.648, allocations: 2.194 MB / 1.036 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005828/1.649, allocations: 283.4 kB / 1.037 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/1.652, allocations: 364 kB / 1.037 GB, free: 12.49 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.684, allocations: 7.3 MB / 1.044 GB, free: 5.066 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/1.684, allocations: 8 kB / 1.044 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/1.686, allocations: 155.9 kB / 1.044 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009394/1.687, allocations: 342.3 kB / 1.045 GB, free: 4.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03144/1.718, allocations: 7.111 MB / 1.052 GB, free: 13.45 MB / 0.8106 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.07774/1.796, allocations: 28.63 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/1.811, allocations: 4.172 MB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/1.812, allocations: 139 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/1.812, allocations: 60.5 kB / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=198): time 7.855e-06/1.812, allocations: 0 / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=255): time 0.1564/1.968, allocations: 26.76 MB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/1.969, allocations: 235.6 kB / 1.11 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/1.973, allocations: 1.446 MB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.974, allocations: 69.7 kB / 1.112 GB, free: 13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.976, allocations: 1.563 MB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002671/1.979, allocations: 0.8664 MB / 1.114 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/1.98, allocations: 60 kB / 1.114 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0007134/1.981, allocations: 440.4 kB / 1.115 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01117/1.992, allocations: 2.531 MB / 1.117 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/2.004, allocations: 3.411 MB / 1.12 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/2.016, allocations: 2.965 MB / 1.123 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.466e-05/2.016, allocations: 8 kB / 1.123 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.04953/2.066, allocations: 10.24 MB / 1.133 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.01104/2.077, allocations: 10.54 MB / 1.144 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/2.077, allocations: 28 kB / 1.144 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03663/2.114, allocations: 5.664 MB / 1.149 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007952/2.122, allocations: 0.9867 MB / 1.15 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08598/2.208, allocations: 22.62 MB / 1.172 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007768/2.216, allocations: 0.5537 MB / 1.173 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/2.217, allocations: 147.9 kB / 1.173 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/2.217, allocations: 4 kB / 1.173 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04046/2.258, allocations: 8.417 MB / 1.181 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/2.258, allocations: 28 kB / 1.181 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02374/2.281, allocations: 3.532 MB / 1.184 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009595/2.291, allocations: 1.127 MB / 1.186 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03912/2.33, allocations: 12.3 MB / 1.198 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/2.338, allocations: 0.5264 MB / 1.198 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009676/2.339, allocations: 151.9 kB / 1.198 GB, free: 2.469 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (302): * Single equations (assignments): 300 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.005748/2.345, allocations: 1.62 MB / 1.2 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.346, allocations: 197.7 kB / 1.2 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04491/2.391, allocations: 9.827 MB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/2.391, allocations: 28 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/2.391, allocations: 20 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.805e-05/2.391, allocations: 11.95 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06127/2.452, allocations: 14.9 MB / 1.224 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.494e-05/2.452, allocations: 8 kB / 1.224 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005571/2.458, allocations: 0.7218 MB / 1.225 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03732/2.495, allocations: 5.344 MB / 1.23 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/2.496, allocations: 67.95 kB / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397/3.893, allocations: 21.48 MB / 1.251 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-05/3.893, allocations: 15.61 kB / 1.251 GB, free: 239.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05387/3.947, allocations: 9.762 MB / 1.261 GB, free: 238.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/3.952, allocations: 0.6938 MB / 1.261 GB, free: 237.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/3.953, allocations: 47.19 kB / 1.261 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007416/3.961, allocations: 0.5055 MB / 1.262 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0018/3.963, allocations: 217 kB / 1.262 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006169/3.963, allocations: 88.73 kB / 1.262 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002989/3.966, allocations: 1.017 MB / 1.263 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.21e-07/3.966, allocations: 1.875 kB / 1.263 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01258/3.979, allocations: 1.764 MB / 1.265 GB, free: 237.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (158): * Single equations (assignments): 156 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.04652/4.025, allocations: 12.62 MB / 1.277 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.04782/4.073, allocations: 11.3 MB / 1.288 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/4.073, allocations: 0 / 1.288 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01791/4.091, allocations: 4.122 MB / 1.292 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/4.095, allocations: 226.3 kB / 1.293 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.127/4.222, allocations: 47.31 MB / 1.339 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/4.227, allocations: 2.926 MB / 1.342 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01021/4.238, allocations: 1.66 MB / 1.343 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003187/4.241, allocations: 1.237 MB / 1.344 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.226e-06/4.241, allocations: 0 / 1.344 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/4.504, allocations: 90.25 MB / 1.433 GB, free: 78.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000395/4.504, allocations: 279.8 kB / 1.433 GB, free: 78.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/12.04, allocations: 0 / 1.433 GB, free: 78.38 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat does not exist to compare? outputFormat=mat