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.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 183 kB / 326.5 MB, free: 2.258 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.489/1.489, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008232/0.0008231, allocations: 104.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.000304, allocations: 12.55 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.455, allocations: 2.492 GB / 3.392 GB, free: 63.13 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/5.455, allocations: 97.12 kB / 3.392 GB, free: 63.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.426/13.88, allocations: 2.361 GB / 5.753 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.743e-06/13.88, allocations: 0 / 5.753 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001235/13.88, allocations: 151.3 kB / 5.754 GB, free: 101.2 MB / 0.9323 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.0279/13.91, allocations: 6.92 MB / 5.76 GB, free: 98.38 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/13.91, allocations: 7.188 kB / 5.76 GB, free: 98.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/13.92, allocations: 1.408 MB / 5.762 GB, free: 98.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/13.94, allocations: 7.121 MB / 5.769 GB, free: 97.03 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004857/13.94, allocations: 352.5 kB / 5.769 GB, free: 97.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/13.94, allocations: 481.5 kB / 5.769 GB, free: 97.01 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/13.96, allocations: 6.475 MB / 5.776 GB, free: 95.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/13.96, allocations: 7.375 kB / 5.776 GB, free: 95.73 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007654/13.96, allocations: 193.1 kB / 5.776 GB, free: 95.59 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/13.96, allocations: 223.8 kB / 5.776 GB, free: 95.56 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/13.97, allocations: 5.728 MB / 5.782 GB, free: 93.46 MB / 0.9323 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.0462/14.02, allocations: 26.64 MB / 5.808 GB, free: 73.68 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/14.02, allocations: 3.86 MB / 5.812 GB, free: 69.79 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/14.03, allocations: 1.012 MB / 5.813 GB, free: 68.58 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002987/14.03, allocations: 2.173 MB / 5.815 GB, free: 66.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 5.08e-06/14.03, allocations: 0 / 5.815 GB, free: 66.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.02118/14.05, allocations: 11.28 MB / 5.826 GB, free: 54.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/14.05, allocations: 149.2 kB / 5.826 GB, free: 54.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00688/14.06, allocations: 4.285 MB / 5.83 GB, free: 50.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000845/14.06, allocations: 89.7 kB / 5.83 GB, free: 50.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/14.06, allocations: 2.491 MB / 5.833 GB, free: 47.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/14.06, allocations: 1.084 MB / 5.834 GB, free: 46.72 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/14.06, allocations: 64 kB / 5.834 GB, free: 46.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001705/14.06, allocations: 436.4 kB / 5.834 GB, free: 46.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/14.06, allocations: 1.72 MB / 5.836 GB, free: 44.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/14.07, allocations: 2.515 MB / 5.838 GB, free: 41.71 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/14.07, allocations: 2.241 MB / 5.84 GB, free: 39.44 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/14.07, allocations: 4 kB / 5.84 GB, free: 39.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.00745/14.08, allocations: 4.909 MB / 5.845 GB, free: 34.47 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000949/14.08, allocations: 5.676 MB / 5.851 GB, free: 28.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/14.08, allocations: 12 kB / 5.851 GB, free: 28.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/14.08, allocations: 132.7 kB / 5.851 GB, free: 28.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/14.08, allocations: 0.7099 MB / 5.852 GB, free: 27.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/14.08, allocations: 2.773 MB / 5.854 GB, free: 24.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006137/14.09, allocations: 0.5495 MB / 5.855 GB, free: 24.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/14.09, allocations: 127.9 kB / 5.855 GB, free: 23.89 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/14.09, allocations: 6.625 kB / 5.855 GB, free: 23.88 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006237/14.1, allocations: 4.533 MB / 5.859 GB, free: 19.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/14.1, allocations: 15.19 kB / 5.859 GB, free: 19.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/14.1, allocations: 133.4 kB / 5.859 GB, free: 19.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/14.1, allocations: 0.702 MB / 5.86 GB, free: 18.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/14.1, allocations: 2.178 MB / 5.862 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006286/14.11, allocations: 0.5378 MB / 5.863 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006059/14.11, allocations: 124 kB / 5.863 GB, free: 15.49 MB / 0.9323 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.00547/14.11, allocations: 2.406 MB / 5.865 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/14.12, allocations: 462.5 kB / 5.866 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/14.12, allocations: 4.76 MB / 5.87 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/14.12, allocations: 28 kB / 5.87 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/14.12, allocations: 7.188 kB / 5.87 GB, free: 7.758 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005189/14.13, allocations: 3.984 MB / 5.874 GB, free: 3.699 MB / 0.9323 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.02394/14.15, allocations: 11.72 MB / 5.886 GB, free: 7.805 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/14.15, allocations: 4 kB / 5.886 GB, free: 7.801 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/14.16, allocations: 0.7181 MB / 5.886 GB, free: 7.082 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/14.16, allocations: 113 kB / 5.887 GB, free: 6.973 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003594/14.16, allocations: 87.95 kB / 5.887 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/14.16, allocations: 2.768 MB / 5.889 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/14.16, allocations: 4 kB / 5.889 GB, free: 3.969 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5734/14.73, allocations: 7.818 MB / 5.897 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005397/14.74, allocations: 1.195 MB / 5.898 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/14.74, allocations: 81.2 kB / 5.898 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/14.75, allocations: 495.1 kB / 5.899 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006235/14.75, allocations: 191 kB / 5.899 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/14.75, allocations: 118.3 kB / 5.899 GB, free: 125.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009369/14.76, allocations: 3.387 MB / 5.902 GB, free: 125.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/14.76, allocations: 0.6562 kB / 5.902 GB, free: 125.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01606/14.77, allocations: 2.948 MB / 5.905 GB, free: 125.3 MB / 0.948 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.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) * 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.005384/14.78, allocations: 2.862 MB / 5.908 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01224/14.79, allocations: 6.991 MB / 5.915 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/14.79, allocations: 1.875 kB / 5.915 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/14.79, allocations: 2.345 MB / 5.917 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/14.81, allocations: 2.928 MB / 5.92 GB, free: 123.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/14.83, allocations: 14.91 MB / 5.935 GB, free: 118.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004277/14.84, allocations: 4.51 MB / 5.939 GB, free: 117.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009581/14.85, allocations: 2.622 MB / 5.941 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/14.85, allocations: 360.5 kB / 5.942 GB, free: 117.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.82e-07/14.85, allocations: 0 / 5.942 GB, free: 117.5 MB / 0.948 GB Notification: Performance of Templates: time 0.196/15.04, allocations: 130 MB / 6.069 GB, free: 111.2 MB / 0.948 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