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.243/2.243, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.00105/0.00105, allocations: 176.9 kB / 487.4 MB, free: 5.023 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.521/1.521, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.0009089/0.0009089, allocations: 95.03 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.218e-05, allocations: 6.25 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2765, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.281/5.557, allocations: 2.215 GB / 3.421 GB, free: 108.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/5.558, allocations: 87.95 kB / 3.421 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.676/15.23, allocations: 2.441 GB / 5.863 GB, free: 164.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.005e-06/15.23, allocations: 0 / 5.863 GB, free: 164.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00116/15.23, allocations: 151.6 kB / 5.863 GB, free: 164.9 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.0222/15.26, allocations: 5.766 MB / 5.869 GB, free: 163.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/15.26, allocations: 7.875 kB / 5.869 GB, free: 163.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/15.27, allocations: 1.402 MB / 5.87 GB, free: 162.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/15.29, allocations: 7.157 MB / 5.877 GB, free: 161.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/15.29, allocations: 146.2 kB / 5.877 GB, free: 161.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/15.29, allocations: 279.7 kB / 5.877 GB, free: 161.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/15.3, allocations: 5.2 MB / 5.882 GB, free: 161.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/15.32, allocations: 5.7 MB / 5.888 GB, free: 161.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/15.32, allocations: 7.109 kB / 5.888 GB, free: 161.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005871/15.32, allocations: 8.781 kB / 5.888 GB, free: 161.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/15.32, allocations: 222.7 kB / 5.888 GB, free: 161.5 MB / 1.198 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.04044/15.36, allocations: 25.83 MB / 5.913 GB, free: 152.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00578/15.36, allocations: 4.905 MB / 5.918 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/15.37, allocations: 2.319 MB / 5.92 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/15.37, allocations: 1.009 MB / 5.921 GB, free: 149.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003554/15.37, allocations: 2.168 MB / 5.924 GB, free: 149.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=312): time 5.461e-06/15.37, allocations: 2.438 kB / 5.924 GB, free: 149.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=316): time 0.02647/15.4, allocations: 10.69 MB / 5.934 GB, free: 146.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/15.4, allocations: 194 kB / 5.934 GB, free: 146.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006001/15.4, allocations: 3.868 MB / 5.938 GB, free: 146 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007827/15.4, allocations: 36.25 kB / 5.938 GB, free: 146 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/15.41, allocations: 2.481 MB / 5.94 GB, free: 145.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/15.41, allocations: 1.046 MB / 5.941 GB, free: 144.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/15.41, allocations: 0 / 5.941 GB, free: 144.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001712/15.41, allocations: 437 kB / 5.942 GB, free: 144.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/15.41, allocations: 1.606 MB / 5.943 GB, free: 144.1 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/15.41, allocations: 2.321 MB / 5.946 GB, free: 143.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/15.42, allocations: 2.193 MB / 5.948 GB, free: 143.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/15.42, allocations: 5.844 kB / 5.948 GB, free: 143.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009107/15.43, allocations: 4.615 MB / 5.952 GB, free: 143 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/15.43, allocations: 5.844 MB / 5.958 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/15.43, allocations: 13.97 kB / 5.958 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/15.43, allocations: 121.6 kB / 5.958 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/15.43, allocations: 0.7178 MB / 5.959 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/15.43, allocations: 2.692 MB / 5.962 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006918/15.44, allocations: 0.495 MB / 5.962 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009351/15.44, allocations: 127.5 kB / 5.962 GB, free: 135.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/15.44, allocations: 7.391 kB / 5.962 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008209/15.45, allocations: 4.172 MB / 5.966 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-05/15.45, allocations: 14.12 kB / 5.966 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/15.45, allocations: 130.5 kB / 5.966 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/15.45, allocations: 0.708 MB / 5.967 GB, free: 135.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/15.46, allocations: 2.066 MB / 5.969 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/15.46, allocations: 489.8 kB / 5.97 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009484/15.46, allocations: 125 kB / 5.97 GB, free: 133.8 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 (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.001756/15.46, allocations: 244.5 kB / 5.97 GB, free: 133.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/15.47, allocations: 456.2 kB / 5.97 GB, free: 133.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/15.48, allocations: 4.436 MB / 5.975 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/15.48, allocations: 31.62 kB / 5.975 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/15.48, allocations: 8.266 kB / 5.975 GB, free: 133.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006547/15.48, allocations: 3.75 MB / 5.978 GB, free: 132.9 MB / 1.198 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.02727/15.51, allocations: 11.12 MB / 5.989 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/15.51, allocations: 3.438 kB / 5.989 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/15.52, allocations: 0.693 MB / 5.99 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/15.52, allocations: 112.3 kB / 5.99 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006132/15.52, allocations: 50.47 kB / 5.99 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/15.52, allocations: 2.656 MB / 5.993 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/15.52, allocations: 8.562 kB / 5.993 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/15.53, allocations: 7.173 MB / 6 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/15.54, allocations: 1.151 MB / 6.001 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/15.54, allocations: 29.06 kB / 6.001 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005691/15.54, allocations: 434 kB / 6.001 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/15.54, allocations: 190.2 kB / 6.001 GB, free: 128.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006728/15.55, allocations: 122.5 kB / 6.002 GB, free: 128.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006997/15.55, allocations: 3.011 MB / 6.004 GB, free: 128 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.81e-07/15.55, allocations: 3.828 kB / 6.004 GB, free: 128 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01548/15.57, allocations: 2.719 MB / 6.007 GB, free: 127.9 MB / 1.198 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.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 (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.006148/15.57, allocations: 3.078 MB / 6.01 GB, free: 126.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01522/15.59, allocations: 6.712 MB / 6.017 GB, free: 126.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.691e-05/15.59, allocations: 3.469 kB / 6.017 GB, free: 126.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/15.59, allocations: 2.21 MB / 6.019 GB, free: 125.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01645/15.61, allocations: 2.746 MB / 6.022 GB, free: 125.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/15.64, allocations: 11.01 MB / 6.032 GB, free: 121.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005526/15.65, allocations: 4.497 MB / 6.037 GB, free: 119.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01388/15.66, allocations: 4.369 MB / 6.041 GB, free: 119.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/15.66, allocations: 281.2 kB / 6.041 GB, free: 119.8 MB / 1.198 GB Notification: Performance of SimCode: time 1.001e-06/15.66, allocations: 1 kB / 6.041 GB, free: 119.8 MB / 1.198 GB Notification: Performance of Templates: time 0.1697/15.83, allocations: 112 MB / 6.151 GB, free: 52.43 MB / 1.198 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