Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.9 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 82.05 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.871e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2426, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.059/7.301, allocations: 2.492 GB / 3.378 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/7.302, allocations: 87.95 kB / 3.378 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.328/16.63, allocations: 2.336 GB / 5.714 GB, free: 97.48 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.316e-06/16.63, allocations: 0 / 5.714 GB, free: 97.48 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001209/16.63, allocations: 150.8 kB / 5.714 GB, free: 97.46 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02519/16.66, allocations: 5.719 MB / 5.719 GB, free: 95.56 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/16.66, allocations: 7.656 kB / 5.719 GB, free: 95.56 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/16.67, allocations: 1.405 MB / 5.721 GB, free: 95.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/16.69, allocations: 7.079 MB / 5.728 GB, free: 94.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/16.69, allocations: 148.4 kB / 5.728 GB, free: 94.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002901/16.69, allocations: 285 kB / 5.728 GB, free: 94.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01672/16.71, allocations: 5.235 MB / 5.733 GB, free: 94.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/16.73, allocations: 5.707 MB / 5.739 GB, free: 93.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/16.73, allocations: 8.375 kB / 5.739 GB, free: 93.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/16.74, allocations: 3.594 kB / 5.739 GB, free: 93.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003006/16.74, allocations: 216 kB / 5.739 GB, free: 93.91 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.05748/16.79, allocations: 25.83 MB / 5.764 GB, free: 84.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/16.8, allocations: 4.746 MB / 5.769 GB, free: 83.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004449/16.81, allocations: 2.308 MB / 5.771 GB, free: 83.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/16.81, allocations: 1.005 MB / 5.772 GB, free: 82.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004633/16.81, allocations: 2.17 MB / 5.774 GB, free: 81.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=312): time 1.07e-05/16.81, allocations: 3.75 kB / 5.774 GB, free: 81.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=316): time 0.0388/16.85, allocations: 10.63 MB / 5.785 GB, free: 79.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/16.85, allocations: 193.9 kB / 5.785 GB, free: 78.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/16.86, allocations: 3.863 MB / 5.789 GB, free: 78.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/16.87, allocations: 33.17 kB / 5.789 GB, free: 78.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003628/16.87, allocations: 2.486 MB / 5.791 GB, free: 77.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/16.87, allocations: 1.042 MB / 5.792 GB, free: 77.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/16.87, allocations: 5.344 kB / 5.792 GB, free: 77.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002579/16.87, allocations: 435.4 kB / 5.792 GB, free: 76.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/16.87, allocations: 1.59 MB / 5.794 GB, free: 76.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/16.88, allocations: 2.376 MB / 5.796 GB, free: 76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/16.88, allocations: 2.196 MB / 5.798 GB, free: 75.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/16.88, allocations: 3.438 kB / 5.798 GB, free: 75.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01014/16.89, allocations: 4.577 MB / 5.803 GB, free: 75.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00167/16.89, allocations: 5.827 MB / 5.809 GB, free: 69.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/16.89, allocations: 16.28 kB / 5.809 GB, free: 69.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/16.89, allocations: 127.7 kB / 5.809 GB, free: 69.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/16.9, allocations: 0.7189 MB / 5.809 GB, free: 69.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/16.9, allocations: 2.685 MB / 5.812 GB, free: 67.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008303/16.91, allocations: 488.1 kB / 5.813 GB, free: 67.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/16.91, allocations: 128.2 kB / 5.813 GB, free: 67.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/16.91, allocations: 6.656 kB / 5.813 GB, free: 67.76 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/16.92, allocations: 4.145 MB / 5.817 GB, free: 67.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/16.92, allocations: 12.28 kB / 5.817 GB, free: 67.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/16.92, allocations: 121.8 kB / 5.817 GB, free: 67.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/16.92, allocations: 0.7065 MB / 5.818 GB, free: 67.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/16.93, allocations: 2.08 MB / 5.82 GB, free: 66.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008466/16.93, allocations: 478.6 kB / 5.82 GB, free: 66.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/16.94, allocations: 125.2 kB / 5.82 GB, free: 66.34 MB / 0.9167 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 (380): * Single equations (assignments): 376 * 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.002727/16.94, allocations: 245.4 kB / 5.82 GB, free: 66.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003273/16.94, allocations: 451.5 kB / 5.821 GB, free: 65.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/16.95, allocations: 4.384 MB / 5.825 GB, free: 65.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/16.95, allocations: 29.66 kB / 5.825 GB, free: 65.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/16.95, allocations: 3.703 kB / 5.825 GB, free: 65.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006028/16.96, allocations: 3.724 MB / 5.829 GB, free: 65.46 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.0284/16.99, allocations: 10.92 MB / 5.839 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/16.99, allocations: 3.594 kB / 5.839 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/16.99, allocations: 0.7093 MB / 5.84 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/16.99, allocations: 108.7 kB / 5.84 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/16.99, allocations: 50.69 kB / 5.84 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/16.99, allocations: 2.669 MB / 5.843 GB, free: 62.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/16.99, allocations: 6.5 kB / 5.843 GB, free: 62.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/17, allocations: 7.365 MB / 5.85 GB, free: 61.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/17.01, allocations: 1.17 MB / 5.851 GB, free: 60.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/17.01, allocations: 26.66 kB / 5.851 GB, free: 60.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005286/17.02, allocations: 440.5 kB / 5.852 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/17.02, allocations: 190.8 kB / 5.852 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/17.02, allocations: 124.6 kB / 5.852 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005665/17.02, allocations: 3.005 MB / 5.855 GB, free: 60.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.51e-07/17.02, allocations: 0 / 5.855 GB, free: 60.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01533/17.04, allocations: 2.725 MB / 5.858 GB, free: 60.64 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],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 (305): * Single equations (assignments): 297 * 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.005177/17.04, allocations: 3.081 MB / 5.861 GB, free: 59.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01019/17.05, allocations: 6.662 MB / 5.867 GB, free: 59.06 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/17.05, allocations: 4.188 kB / 5.867 GB, free: 59.06 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/17.06, allocations: 2.208 MB / 5.869 GB, free: 58.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/17.07, allocations: 2.763 MB / 5.872 GB, free: 58.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/17.1, allocations: 11.01 MB / 5.883 GB, free: 56.71 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007416/17.1, allocations: 4.511 MB / 5.887 GB, free: 71.87 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01617/17.12, allocations: 4.3 MB / 5.891 GB, free: 71.81 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/17.12, allocations: 278.9 kB / 5.892 GB, free: 71.8 MB / 0.9323 GB Notification: Performance of SimCode: time 2.575e-06/17.12, allocations: 0 / 5.892 GB, free: 71.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1864/17.31, allocations: 112.7 MB / 6.002 GB, free: 10.43 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches