Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.0008276/0.0008276, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009858/0.0009861, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.441/2.441, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005013, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6853, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1973/0.8826, allocations: 192.4 MB / 1.169 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.8989, allocations: 9.998 MB / 1.179 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.9014, allocations: 55.56 kB / 1.179 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.9037, allocations: 0.547 MB / 1.179 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007063/0.9108, allocations: 1.849 MB / 1.181 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.9168, allocations: 1.759 MB / 1.183 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.923, allocations: 3.971 MB / 1.187 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.9254, allocations: 0.9878 MB / 1.188 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.9303, allocations: 1.544 MB / 1.189 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.933, allocations: 1.046 MB / 1.19 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005749/0.9336, allocations: 60 kB / 1.19 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.9391, allocations: 2.242 MB / 1.193 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.9398, allocations: 358.5 kB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/0.9407, allocations: 348.8 kB / 1.193 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.9447, allocations: 2.291 MB / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9447, allocations: 0 / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9447, allocations: 0 / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.296e-05/0.9448, allocations: 0 / 1.195 GB, free: 10.2 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005648/0.9505, allocations: 2.042 MB / 1.197 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.9505, allocations: 12.03 kB / 1.197 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003875/0.9509, allocations: 152.2 kB / 1.198 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.9538, allocations: 0.5793 MB / 1.198 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.9565, allocations: 1.212 MB / 1.199 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005743/0.9571, allocations: 218.1 kB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.9573, allocations: 119.9 kB / 1.2 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.9599, allocations: 1.341 MB / 1.201 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.96, allocations: 3.938 kB / 1.201 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.9601, allocations: 36 kB / 1.201 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.9602, allocations: 49.98 kB / 1.201 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003019/0.9632, allocations: 1.374 MB / 1.202 GB, free: 2.918 MB / 0.9512 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.00892/0.9721, allocations: 5.333 MB / 1.208 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.9745, allocations: 1.059 MB / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.9758, allocations: 0.5532 MB / 1.209 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.9769, allocations: 0.7747 MB / 1.21 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.9785, allocations: 0.6328 MB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=81): time 4.719e-06/0.9785, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=81): time 0.004707/0.9832, allocations: 1.648 MB / 1.212 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.9833, allocations: 64.02 kB / 1.212 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.9859, allocations: 1.31 MB / 1.214 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.9861, allocations: 45.7 kB / 1.214 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.9868, allocations: 0.6465 MB / 1.214 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.9871, allocations: 283.9 kB / 1.214 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.9872, allocations: 20 kB / 1.214 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9874, allocations: 349.9 kB / 1.215 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.9887, allocations: 0.5139 MB / 1.215 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.9903, allocations: 0.7759 MB / 1.216 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.9918, allocations: 0.5902 MB / 1.217 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.9918, allocations: 4 kB / 1.217 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003715/0.9956, allocations: 1.493 MB / 1.218 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.9958, allocations: 265.8 kB / 1.218 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.9958, allocations: 8 kB / 1.218 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.9959, allocations: 15.95 kB / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.9976, allocations: 351.5 kB / 1.219 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007565/0.9984, allocations: 1.191 MB / 1.22 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1, allocations: 234.8 kB / 1.22 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1, allocations: 55.92 kB / 1.22 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1, allocations: 5.406 kB / 1.22 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/1.003, allocations: 1.337 MB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.003, allocations: 15.88 kB / 1.221 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.003, allocations: 8 kB / 1.221 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.005, allocations: 323.8 kB / 1.222 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.005, allocations: 11.94 kB / 1.222 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.006, allocations: 225.8 kB / 1.222 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.006, allocations: 43.98 kB / 1.222 GB, free: 14.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007064/1.007, allocations: 406.4 kB / 1.222 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/1.007, allocations: 158.1 kB / 1.223 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.011, allocations: 1.374 MB / 1.224 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.011, allocations: 8 kB / 1.224 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.011, allocations: 0 / 1.224 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.011, allocations: 7.969 kB / 1.224 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/1.016, allocations: 2.882 MB / 1.227 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.016, allocations: 4 kB / 1.227 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.017, allocations: 240.2 kB / 1.227 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/1.017, allocations: 11.95 kB / 1.227 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/1.017, allocations: 31.97 kB / 1.227 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006424/1.018, allocations: 1.188 MB / 1.228 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.018, allocations: 15.83 kB / 1.228 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/1.022, allocations: 2.104 MB / 1.23 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007457/1.023, allocations: 374.8 kB / 1.231 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/1.024, allocations: 20 kB / 1.231 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.025, allocations: 156.4 kB / 1.231 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.025, allocations: 76.45 kB / 1.231 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.025, allocations: 39.97 kB / 1.231 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001618/1.027, allocations: 0.8783 MB / 1.232 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.027, allocations: 4 kB / 1.232 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002695/1.03, allocations: 0.7879 MB / 1.233 GB, free: 3.023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005762/1.035, allocations: 3.027 MB / 1.236 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005065/1.04, allocations: 2.096 MB / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.04, allocations: 0 / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/1.042, allocations: 0.6494 MB / 1.238 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.046, allocations: 0.6895 MB / 1.239 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.066, allocations: 9.414 MB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/1.067, allocations: 1.223 MB / 1.249 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002087/1.069, allocations: 411.1 kB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009027/1.07, allocations: 0.5695 MB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.07, allocations: 3.938 kB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6474/1.717, allocations: 42.16 MB / 1.291 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.717, allocations: 291.2 kB / 1.292 GB, free: 237 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/4.675, allocations: 0 / 1.292 GB, free: 237 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat