Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.333/2.333, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00157/0.00157, allocations: 187.9 kB / 0.4901 GB, free: 2.234 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.49/1.49, allocations: 223.1 MB / 0.7992 GB, free: 15.57 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.0009958/0.0009957, allocations: 89.64 kB / 0.9396 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 11 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3365, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.015/4.351, allocations: 1.729 GB / 2.958 GB, free: 237 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/4.352, allocations: 104.9 kB / 2.959 GB, free: 236.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08426/4.436, allocations: 42.38 MB / 3 GB, free: 194.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/4.436, allocations: 3.938 kB / 3 GB, free: 194.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.873e-05/4.436, allocations: 20 kB / 3 GB, free: 194.5 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002886/4.439, allocations: 1.88 MB / 3.002 GB, free: 192.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/4.439, allocations: 8.562 kB / 3.002 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/4.439, allocations: 78.48 kB / 3.002 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/4.445, allocations: 0.6496 MB / 3.002 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/4.448, allocations: 1.705 MB / 3.004 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/4.449, allocations: 152 kB / 3.004 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/4.449, allocations: 32 kB / 3.004 GB, free: 189.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/4.452, allocations: 2.164 MB / 3.006 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/4.452, allocations: 0 / 3.006 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/4.453, allocations: 19.94 kB / 3.006 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/4.453, allocations: 4 kB / 3.006 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/4.458, allocations: 3.145 MB / 3.01 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0097/4.468, allocations: 5.118 MB / 3.015 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/4.478, allocations: 3.404 MB / 3.018 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.424e-05/4.479, allocations: 20.34 kB / 3.018 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00361/4.482, allocations: 2.069 MB / 3.02 GB, free: 173.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 6.262e-06/4.482, allocations: 0 / 3.02 GB, free: 173.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.008656/4.491, allocations: 4.361 MB / 3.024 GB, free: 169.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/4.491, allocations: 89.67 kB / 3.024 GB, free: 169.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/4.495, allocations: 2.468 MB / 3.027 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/4.496, allocations: 49.7 kB / 3.027 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/4.496, allocations: 0.6653 MB / 3.027 GB, free: 166.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/4.497, allocations: 185.5 kB / 3.028 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/4.497, allocations: 16 kB / 3.028 GB, free: 165.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/4.497, allocations: 330 kB / 3.028 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/4.499, allocations: 1.747 MB / 3.03 GB, free: 163.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/4.502, allocations: 1.731 MB / 3.031 GB, free: 162.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/4.505, allocations: 1.466 MB / 3.033 GB, free: 160.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/4.505, allocations: 0 / 3.033 GB, free: 160.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006102/4.511, allocations: 3.565 MB / 3.036 GB, free: 157 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/4.511, allocations: 91.36 kB / 3.036 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/4.511, allocations: 0 / 3.036 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/4.511, allocations: 0 / 3.036 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/4.512, allocations: 227.6 kB / 3.036 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/4.512, allocations: 4 kB / 3.036 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/4.514, allocations: 111.7 kB / 3.037 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/4.514, allocations: 115.9 kB / 3.037 GB, free: 156.5 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: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.00142/4.516, allocations: 0.7646 MB / 3.037 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/4.516, allocations: 169.9 kB / 3.038 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/4.523, allocations: 3.222 MB / 3.041 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/4.523, allocations: 4 kB / 3.041 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/4.523, allocations: 0 / 3.041 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/4.523, allocations: 3.984 kB / 3.041 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/4.526, allocations: 2.504 MB / 3.043 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/4.526, allocations: 0 / 3.043 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/4.527, allocations: 227.7 kB / 3.043 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/4.527, allocations: 7.938 kB / 3.043 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/4.527, allocations: 51.92 kB / 3.043 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/4.527, allocations: 4 kB / 3.043 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/4.527, allocations: 0 / 3.043 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/4.533, allocations: 2.984 MB / 3.046 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/4.535, allocations: 0.7682 MB / 3.047 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/4.535, allocations: 55.97 kB / 3.047 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/4.537, allocations: 155.8 kB / 3.047 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/4.537, allocations: 68.47 kB / 3.047 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/4.537, allocations: 111.9 kB / 3.047 GB, free: 145.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002926/4.54, allocations: 1.919 MB / 3.049 GB, free: 143.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.81e-07/4.54, allocations: 0 / 3.049 GB, free: 143.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002374/4.543, allocations: 455.7 kB / 3.05 GB, free: 142.9 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.008373/4.551, allocations: 3.883 MB / 3.054 GB, free: 139 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00606/4.557, allocations: 3.547 MB / 3.057 GB, free: 135.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/4.557, allocations: 0 / 3.057 GB, free: 135.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/4.56, allocations: 1.572 MB / 3.059 GB, free: 133.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/4.562, allocations: 401.4 kB / 3.059 GB, free: 133.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/4.597, allocations: 19.05 MB / 3.078 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/4.598, allocations: 1.608 MB / 3.079 GB, free: 112.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002791/4.601, allocations: 0.7979 MB / 3.08 GB, free: 111.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/4.602, allocations: 0.5812 MB / 3.081 GB, free: 110.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.734e-06/4.602, allocations: 0 / 3.081 GB, free: 110.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07476/4.677, allocations: 51.96 MB / 3.131 GB, free: 59.18 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/4.677, allocations: 247.8 kB / 3.131 GB, free: 58.94 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/7.689, allocations: 0 / 3.131 GB, free: 58.94 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat does not exist to compare? outputFormat=mat