Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.315/2.315, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001106/0.001106, allocations: 190.7 kB / 0.4901 GB, free: 2.219 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.424/1.424, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001211/0.001211, allocations: 98.77 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.000363, allocations: 14.25 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.839/4.098, allocations: 1.716 GB / 2.945 GB, free: 272.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/4.098, allocations: 96.55 kB / 2.945 GB, free: 272.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06518/4.163, allocations: 34.86 MB / 2.979 GB, free: 237 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.282e-06/4.163, allocations: 0 / 2.979 GB, free: 237 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.186e-06/4.163, allocations: 0 / 2.979 GB, free: 237 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005895/4.164, allocations: 486.5 kB / 2.98 GB, free: 236.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/4.164, allocations: 8.562 kB / 2.98 GB, free: 236.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/4.164, allocations: 109.8 kB / 2.98 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/4.165, allocations: 171.1 kB / 2.98 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/4.165, allocations: 307 kB / 2.98 GB, free: 235.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/4.165, allocations: 154.6 kB / 2.98 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/4.165, allocations: 154.6 kB / 2.981 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.258e-05/4.166, allocations: 101 kB / 2.981 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/4.166, allocations: 87.17 kB / 2.981 GB, free: 235.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/4.166, allocations: 150.6 kB / 2.981 GB, free: 235.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/4.166, allocations: 150.6 kB / 2.981 GB, free: 235.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/4.166, allocations: 154.6 kB / 2.981 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/4.166, allocations: 0.5135 MB / 2.982 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/4.166, allocations: 165.1 kB / 2.982 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/4.166, allocations: 79.22 kB / 2.982 GB, free: 234.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/4.166, allocations: 109.8 kB / 2.982 GB, free: 234 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/4.166, allocations: 0 / 2.982 GB, free: 234 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0002547/4.166, allocations: 69.44 kB / 2.982 GB, free: 233.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/4.166, allocations: 126.7 kB / 2.982 GB, free: 233.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/4.167, allocations: 202.1 kB / 2.982 GB, free: 233.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/4.167, allocations: 29.7 kB / 2.982 GB, free: 233.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/4.167, allocations: 108.1 kB / 2.982 GB, free: 233.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/4.167, allocations: 0 / 2.982 GB, free: 233.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/4.167, allocations: 4 kB / 2.982 GB, free: 233.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/4.167, allocations: 318.8 kB / 2.983 GB, free: 233.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/4.167, allocations: 12 kB / 2.983 GB, free: 233.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/4.167, allocations: 23.92 kB / 2.983 GB, free: 233.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/4.167, allocations: 16 kB / 2.983 GB, free: 233.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/4.167, allocations: 3.938 kB / 2.983 GB, free: 233.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004423/4.167, allocations: 122.4 kB / 2.983 GB, free: 232.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/4.167, allocations: 96.95 kB / 2.983 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/4.167, allocations: 0 / 2.983 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/4.168, allocations: 136.7 kB / 2.983 GB, free: 232.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/4.168, allocations: 7.938 kB / 2.983 GB, free: 232.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003325/4.168, allocations: 0.5601 MB / 2.984 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/4.169, allocations: 7.922 kB / 2.984 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/4.169, allocations: 4.031 kB / 2.984 GB, free: 232.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-06/4.169, allocations: 13.14 kB / 2.984 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001733/4.169, allocations: 68.77 kB / 2.984 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/4.169, allocations: 0 / 2.984 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/4.169, allocations: 116.8 kB / 2.984 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/4.169, allocations: 4 kB / 2.984 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008488/4.17, allocations: 1.367 MB / 2.985 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/4.17, allocations: 12.03 kB / 2.985 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/4.17, allocations: 4 kB / 2.985 GB, free: 230.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/4.17, allocations: 269.2 kB / 2.986 GB, free: 230.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/4.17, allocations: 112.8 kB / 2.986 GB, free: 230 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/4.17, allocations: 117.6 kB / 2.986 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/4.17, allocations: 180.3 kB / 2.986 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/4.17, allocations: 180.3 kB / 2.986 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/4.17, allocations: 188.2 kB / 2.986 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/4.171, allocations: 449 kB / 2.987 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/4.171, allocations: 101 kB / 2.987 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/4.171, allocations: 105 kB / 2.987 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/4.171, allocations: 184.2 kB / 2.987 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/4.171, allocations: 180.3 kB / 2.987 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.607e-05/4.171, allocations: 184.2 kB / 2.987 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/4.171, allocations: 176.3 kB / 2.988 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/4.171, allocations: 323.5 kB / 2.988 GB, free: 227.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/4.171, allocations: 194 kB / 2.988 GB, free: 227.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/4.171, allocations: 189.1 kB / 2.988 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/4.171, allocations: 101 kB / 2.988 GB, free: 227 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/4.171, allocations: 184.3 kB / 2.989 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/4.171, allocations: 108.9 kB / 2.989 GB, free: 226.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001514/4.171, allocations: 165.1 kB / 2.989 GB, free: 226.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.171, allocations: 0 / 2.989 GB, free: 226.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005303/4.172, allocations: 103.9 kB / 2.989 GB, free: 226.4 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.0009321/4.173, allocations: 1.356 MB / 2.99 GB, free: 225.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004318/4.173, allocations: 191 kB / 2.99 GB, free: 224.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/4.173, allocations: 4 kB / 2.99 GB, free: 224.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/4.173, allocations: 0 / 2.99 GB, free: 224.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/4.174, allocations: 0.5421 MB / 2.991 GB, free: 224.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/4.174, allocations: 0.5465 MB / 2.991 GB, free: 223.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/4.174, allocations: 0.7008 MB / 2.992 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.932e-05/4.174, allocations: 16.53 kB / 2.992 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/4.175, allocations: 31.42 kB / 2.992 GB, free: 222.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.4e-07/4.175, allocations: 0 / 2.992 GB, free: 222.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/4.199, allocations: 13.41 MB / 3.005 GB, free: 209.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/4.199, allocations: 236.8 kB / 3.006 GB, free: 209.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/6.301, allocations: 0 / 3.006 GB, free: 209.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat does not exist to compare? outputFormat=mat