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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001485/0.001485, allocations: 173.2 kB / 498.1 MB, free: 5.754 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.453/1.453, allocations: 223.2 MB / 0.7949 GB, free: 17.92 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.0009965/0.0009967, allocations: 97 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 13.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.765, allocations: 2.216 GB / 3.439 GB, free: 269.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/5.766, allocations: 96.61 kB / 3.439 GB, free: 269.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.693/14.46, allocations: 2.466 GB / 5.906 GB, free: 56.71 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.146e-06/14.46, allocations: 7.938 kB / 5.906 GB, free: 56.7 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001151/14.46, allocations: 144 kB / 5.906 GB, free: 56.56 MB / 1.214 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.02726/14.49, allocations: 6.977 MB / 5.912 GB, free: 49.53 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/14.49, allocations: 12.03 kB / 5.912 GB, free: 49.52 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/14.5, allocations: 1.397 MB / 5.914 GB, free: 48.11 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/14.52, allocations: 7.202 MB / 5.921 GB, free: 40.83 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/14.52, allocations: 353 kB / 5.921 GB, free: 40.48 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/14.52, allocations: 471.8 kB / 5.922 GB, free: 40.02 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/14.53, allocations: 6.456 MB / 5.928 GB, free: 33.44 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/14.53, allocations: 7.938 kB / 5.928 GB, free: 33.43 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/14.53, allocations: 192 kB / 5.928 GB, free: 33.24 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/14.53, allocations: 213 kB / 5.928 GB, free: 33.03 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/14.55, allocations: 5.684 MB / 5.934 GB, free: 27.33 MB / 1.214 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.8461/15.39, allocations: 26.73 MB / 5.96 GB, free: 162.3 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008777/15.4, allocations: 4.053 MB / 5.964 GB, free: 161.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/15.4, allocations: 1.002 MB / 5.965 GB, free: 160.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005598/15.41, allocations: 2.217 MB / 5.967 GB, free: 160.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=313): time 7.304e-06/15.41, allocations: 0 / 5.967 GB, free: 160.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=317): time 0.03397/15.44, allocations: 11.61 MB / 5.978 GB, free: 159.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/15.44, allocations: 138.8 kB / 5.979 GB, free: 159.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/15.45, allocations: 4.286 MB / 5.983 GB, free: 158.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/15.46, allocations: 92.45 kB / 5.983 GB, free: 158.8 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.004656/15.46, allocations: 2.489 MB / 5.985 GB, free: 158.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002739/15.46, allocations: 1.088 MB / 5.986 GB, free: 157.6 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/15.46, allocations: 59.47 kB / 5.986 GB, free: 157.6 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005092/15.46, allocations: 434.8 kB / 5.987 GB, free: 157.3 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/15.47, allocations: 1.757 MB / 5.989 GB, free: 157.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/15.47, allocations: 2.475 MB / 5.991 GB, free: 156.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/15.47, allocations: 2.273 MB / 5.993 GB, free: 156.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/15.47, allocations: 3.531 kB / 5.993 GB, free: 156.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008705/15.48, allocations: 4.989 MB / 5.998 GB, free: 156.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001118/15.48, allocations: 5.692 MB / 6.004 GB, free: 150.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/15.48, allocations: 11.62 kB / 6.004 GB, free: 150.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/15.48, allocations: 130.3 kB / 6.004 GB, free: 150.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/15.49, allocations: 0.7193 MB / 6.004 GB, free: 150.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/15.49, allocations: 2.779 MB / 6.007 GB, free: 148.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007147/15.5, allocations: 0.5614 MB / 6.008 GB, free: 148.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008651/15.5, allocations: 125.5 kB / 6.008 GB, free: 148.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/15.5, allocations: 8 kB / 6.008 GB, free: 148.2 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007485/15.51, allocations: 4.608 MB / 6.012 GB, free: 148 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/15.51, allocations: 13.98 kB / 6.012 GB, free: 148 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003496/15.51, allocations: 134.9 kB / 6.012 GB, free: 148 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/15.51, allocations: 0.7023 MB / 6.013 GB, free: 148 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/15.51, allocations: 2.18 MB / 6.015 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/15.52, allocations: 0.5502 MB / 6.016 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/15.52, allocations: 125.8 kB / 6.016 GB, free: 146.7 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 () * Number of clocked 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.005354/15.52, allocations: 2.405 MB / 6.018 GB, free: 146.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/15.53, allocations: 467.3 kB / 6.019 GB, free: 146.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008448/15.53, allocations: 4.842 MB / 6.023 GB, free: 145.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/15.53, allocations: 31.5 kB / 6.024 GB, free: 145.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/15.53, allocations: 8.625 kB / 6.024 GB, free: 145.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006018/15.54, allocations: 4.063 MB / 6.027 GB, free: 145.6 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.02517/15.57, allocations: 12.01 MB / 6.039 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/15.57, allocations: 9.641 kB / 6.039 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/15.57, allocations: 0.7107 MB / 6.04 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/15.57, allocations: 113.8 kB / 6.04 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/15.57, allocations: 92.94 kB / 6.04 GB, free: 144.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/15.57, allocations: 2.768 MB / 6.043 GB, free: 142.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/15.57, allocations: 6.594 kB / 6.043 GB, free: 142.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/15.58, allocations: 7.665 MB / 6.05 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004782/15.59, allocations: 1.177 MB / 6.051 GB, free: 140.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/15.59, allocations: 92.27 kB / 6.052 GB, free: 140.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005307/15.59, allocations: 490.2 kB / 6.052 GB, free: 140.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/15.6, allocations: 194.8 kB / 6.052 GB, free: 140.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/15.6, allocations: 121.9 kB / 6.052 GB, free: 140.8 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.006161/15.6, allocations: 3.387 MB / 6.056 GB, free: 140.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.094e-06/15.6, allocations: 0 / 6.056 GB, free: 140.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01755/15.62, allocations: 2.937 MB / 6.058 GB, free: 140.6 MB / 1.214 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) * Number of clocked states: 0 () * 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.005002/15.62, allocations: 2.859 MB / 6.061 GB, free: 139.6 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01073/15.64, allocations: 7.105 MB / 6.068 GB, free: 139.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/15.64, allocations: 7 kB / 6.068 GB, free: 139.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/15.64, allocations: 2.39 MB / 6.071 GB, free: 138.8 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01449/15.65, allocations: 2.896 MB / 6.073 GB, free: 138.8 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/15.68, allocations: 15.08 MB / 6.088 GB, free: 133.7 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005349/15.69, allocations: 4.492 MB / 6.093 GB, free: 132.8 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.009735/15.7, allocations: 2.656 MB / 6.095 GB, free: 132.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/15.7, allocations: 364.4 kB / 6.095 GB, free: 132.8 MB / 1.214 GB Notification: Performance of SimCode: time 9.72e-07/15.7, allocations: 0 / 6.095 GB, free: 132.8 MB / 1.214 GB Notification: Performance of Templates: time 0.1953/15.89, allocations: 129.5 MB / 6.222 GB, free: 127.4 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