Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00117/0.00117, allocations: 177.2 kB / 487 MB, free: 5.391 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.519/1.519, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 102.1 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.526e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2923, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.276, allocations: 2.215 GB / 3.42 GB, free: 76.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/5.276, allocations: 91.94 kB / 3.421 GB, free: 76.81 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.658/13.93, allocations: 2.464 GB / 5.885 GB, free: 164.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001291/13.94, allocations: 153.9 kB / 5.885 GB, free: 164.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02681/13.96, allocations: 5.716 MB / 5.891 GB, free: 162.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/13.96, allocations: 11.53 kB / 5.891 GB, free: 162.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/13.97, allocations: 1.445 MB / 5.892 GB, free: 162.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/14, allocations: 7.305 MB / 5.899 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/14, allocations: 143.7 kB / 5.899 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/14, allocations: 277.9 kB / 5.9 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01485/14.02, allocations: 5.396 MB / 5.905 GB, free: 161.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/14.03, allocations: 5.85 MB / 5.911 GB, free: 160.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/14.03, allocations: 6.406 kB / 5.911 GB, free: 160.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006833/14.04, allocations: 9.375 kB / 5.911 GB, free: 160.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/14.04, allocations: 220 kB / 5.911 GB, free: 160.9 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05267/14.09, allocations: 27.67 MB / 5.938 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/14.09, allocations: 2.499 MB / 5.94 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/14.1, allocations: 2.432 MB / 5.943 GB, free: 150.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/14.1, allocations: 1.1 MB / 5.944 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003571/14.1, allocations: 2.31 MB / 5.946 GB, free: 149.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=313): time 5.019e-06/14.1, allocations: 0 / 5.946 GB, free: 149.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=317): time 0.03049/14.13, allocations: 11.19 MB / 5.957 GB, free: 146.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/14.13, allocations: 196.6 kB / 5.957 GB, free: 146.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/14.14, allocations: 3.981 MB / 5.961 GB, free: 145.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/14.14, allocations: 32.86 kB / 5.961 GB, free: 145.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/14.14, allocations: 1.677 MB / 5.963 GB, free: 145 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002799/14.15, allocations: 1.044 MB / 5.964 GB, free: 144.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/14.15, allocations: 3.906 kB / 5.964 GB, free: 144.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002699/14.15, allocations: 431.2 kB / 5.964 GB, free: 144 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/14.15, allocations: 1.741 MB / 5.966 GB, free: 144 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/14.15, allocations: 2.455 MB / 5.968 GB, free: 143.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/14.16, allocations: 2.364 MB / 5.97 GB, free: 143.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/14.16, allocations: 3.781 kB / 5.97 GB, free: 143.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.00952/14.17, allocations: 4.836 MB / 5.975 GB, free: 142.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/14.17, allocations: 5.77 MB / 5.981 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/14.17, allocations: 18.64 kB / 5.981 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/14.17, allocations: 128.2 kB / 5.981 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/14.17, allocations: 0.6908 MB / 5.982 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/14.17, allocations: 2.615 MB / 5.984 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007756/14.18, allocations: 457.2 kB / 5.985 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/14.18, allocations: 131 kB / 5.985 GB, free: 135.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/14.18, allocations: 3.75 kB / 5.985 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01155/14.2, allocations: 4.349 MB / 5.989 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.97e-05/14.2, allocations: 14.88 kB / 5.989 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/14.2, allocations: 128.7 kB / 5.989 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/14.2, allocations: 0.6806 MB / 5.99 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/14.2, allocations: 1.988 MB / 5.992 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007644/14.21, allocations: 443 kB / 5.992 GB, free: 133.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/14.21, allocations: 130.4 kB / 5.992 GB, free: 133.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002059/14.21, allocations: 249.7 kB / 5.993 GB, free: 133.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/14.22, allocations: 454.4 kB / 5.993 GB, free: 133.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/14.23, allocations: 4.68 MB / 5.998 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/14.23, allocations: 37.34 kB / 5.998 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/14.23, allocations: 2.438 kB / 5.998 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009737/14.24, allocations: 3.948 MB / 6.001 GB, free: 132.9 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/14.28, allocations: 11.35 MB / 6.012 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/14.28, allocations: 5.938 kB / 6.012 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004413/14.28, allocations: 0.6601 MB / 6.013 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/14.28, allocations: 111.2 kB / 6.013 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008568/14.28, allocations: 50.83 kB / 6.013 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/14.28, allocations: 2.58 MB / 6.016 GB, free: 126 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/14.28, allocations: 8.062 kB / 6.016 GB, free: 126 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01952/14.3, allocations: 7.545 MB / 6.023 GB, free: 122.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005971/14.31, allocations: 1.171 MB / 6.024 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/14.31, allocations: 37.97 kB / 6.024 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007438/14.32, allocations: 395.3 kB / 6.025 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008875/14.32, allocations: 163.3 kB / 6.025 GB, free: 121.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008733/14.32, allocations: 128.8 kB / 6.025 GB, free: 121.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.00996/14.33, allocations: 3.097 MB / 6.028 GB, free: 120.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02303/14.36, allocations: 2.687 MB / 6.031 GB, free: 120.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007877/14.36, allocations: 3.103 MB / 6.034 GB, free: 119.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01564/14.38, allocations: 6.907 MB / 6.04 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/14.38, allocations: 4.594 kB / 6.04 GB, free: 116.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/14.38, allocations: 2.28 MB / 6.043 GB, free: 116 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01971/14.4, allocations: 2.623 MB / 6.045 GB, free: 115.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/14.45, allocations: 11.39 MB / 6.056 GB, free: 107.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01365/14.46, allocations: 4.905 MB / 6.061 GB, free: 103.9 MB / 1.198 GB Notification: Performance of SimCode: time 1.202e-06/14.46, allocations: 0 / 6.061 GB, free: 103.9 MB / 1.198 GB Notification: Performance of Templates: time 0.2335/14.69, allocations: 134.9 MB / 6.193 GB, free: 2.754 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches