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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.902 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.001126/0.001126, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0009807/0.0009804, allocations: 100.7 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.52e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.061/7.266, allocations: 2.492 GB / 3.384 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/7.266, allocations: 94.44 kB / 3.384 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.728/16.99, allocations: 2.357 GB / 5.741 GB, free: 87.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.687e-06/16.99, allocations: 3.094 kB / 5.741 GB, free: 87.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001743/17, allocations: 153.1 kB / 5.741 GB, free: 87.91 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.03069/17.03, allocations: 5.727 MB / 5.747 GB, free: 85.82 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/17.03, allocations: 14.11 kB / 5.747 GB, free: 85.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/17.04, allocations: 1.4 MB / 5.748 GB, free: 85.47 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02252/17.06, allocations: 7.079 MB / 5.755 GB, free: 84.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005838/17.06, allocations: 355.8 kB / 5.756 GB, free: 84.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/17.07, allocations: 482.7 kB / 5.756 GB, free: 84.58 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/17.08, allocations: 6.383 MB / 5.762 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/17.08, allocations: 8.75 kB / 5.762 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008232/17.09, allocations: 197.2 kB / 5.763 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/17.09, allocations: 213.5 kB / 5.763 GB, free: 84.16 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/17.1, allocations: 5.601 MB / 5.768 GB, free: 84.12 MB / 0.9323 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.05132/17.15, allocations: 26.65 MB / 5.794 GB, free: 74.63 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/17.16, allocations: 3.813 MB / 5.798 GB, free: 74.36 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003505/17.16, allocations: 2.424 MB / 5.8 GB, free: 74.33 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/17.16, allocations: 1.011 MB / 5.801 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003452/17.17, allocations: 2.146 MB / 5.803 GB, free: 73.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.594e-06/17.17, allocations: 3.312 kB / 5.803 GB, free: 73.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.02314/17.19, allocations: 9.435 MB / 5.813 GB, free: 71.38 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/17.19, allocations: 143.6 kB / 5.813 GB, free: 71.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008936/17.2, allocations: 4.234 MB / 5.817 GB, free: 70.94 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/17.2, allocations: 92.7 kB / 5.817 GB, free: 70.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/17.2, allocations: 2.501 MB / 5.819 GB, free: 70.08 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/17.2, allocations: 1.085 MB / 5.821 GB, free: 69.39 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/17.2, allocations: 60.09 kB / 5.821 GB, free: 69.39 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002253/17.2, allocations: 434.8 kB / 5.821 GB, free: 69.08 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/17.21, allocations: 1.681 MB / 5.823 GB, free: 69.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/17.21, allocations: 2.472 MB / 5.825 GB, free: 68.32 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/17.21, allocations: 2.213 MB / 5.827 GB, free: 68.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/17.21, allocations: 4.188 kB / 5.827 GB, free: 68.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009122/17.22, allocations: 4.844 MB / 5.832 GB, free: 67.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001404/17.22, allocations: 5.676 MB / 5.837 GB, free: 61.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/17.22, allocations: 13.25 kB / 5.837 GB, free: 61.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/17.22, allocations: 125.8 kB / 5.838 GB, free: 61.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/17.23, allocations: 0.7129 MB / 5.838 GB, free: 61.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/17.23, allocations: 2.742 MB / 5.841 GB, free: 59.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007402/17.24, allocations: 0.5494 MB / 5.842 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008967/17.24, allocations: 129.4 kB / 5.842 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/17.24, allocations: 3.688 kB / 5.842 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007417/17.25, allocations: 4.462 MB / 5.846 GB, free: 59.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/17.25, allocations: 10.47 kB / 5.846 GB, free: 59.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/17.25, allocations: 133.7 kB / 5.846 GB, free: 59.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/17.25, allocations: 0.6967 MB / 5.847 GB, free: 59.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/17.25, allocations: 2.141 MB / 5.849 GB, free: 58.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007198/17.26, allocations: 0.526 MB / 5.849 GB, free: 58.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000913/17.26, allocations: 124.2 kB / 5.85 GB, free: 58.32 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 () * 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.00128/17.26, allocations: 365.4 kB / 5.85 GB, free: 58.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/17.26, allocations: 467.9 kB / 5.85 GB, free: 57.91 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008465/17.27, allocations: 4.71 MB / 5.855 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/17.27, allocations: 32.16 kB / 5.855 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/17.27, allocations: 0 / 5.855 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005482/17.28, allocations: 3.925 MB / 5.859 GB, free: 57.3 MB / 0.9323 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.0227/17.3, allocations: 11.67 MB / 5.87 GB, free: 53.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/17.3, allocations: 5.938 kB / 5.87 GB, free: 53.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/17.3, allocations: 0.706 MB / 5.871 GB, free: 53.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/17.3, allocations: 112.2 kB / 5.871 GB, free: 53.74 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/17.3, allocations: 95.47 kB / 5.871 GB, free: 53.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/17.3, allocations: 2.722 MB / 5.874 GB, free: 51.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/17.3, allocations: 7.188 kB / 5.874 GB, free: 51.38 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/17.32, allocations: 7.736 MB / 5.881 GB, free: 47.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005833/17.32, allocations: 1.196 MB / 5.882 GB, free: 47.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002416/17.32, allocations: 80.38 kB / 5.883 GB, free: 47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007675/17.33, allocations: 496.1 kB / 5.883 GB, free: 46.93 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/17.33, allocations: 200.9 kB / 5.883 GB, free: 46.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004933/17.33, allocations: 121.2 kB / 5.883 GB, free: 46.88 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008163/17.34, allocations: 3.331 MB / 5.887 GB, free: 45.67 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/17.34, allocations: 5 kB / 5.887 GB, free: 45.67 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01649/17.36, allocations: 2.954 MB / 5.889 GB, free: 45.31 MB / 0.9323 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) * 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.005936/17.36, allocations: 2.856 MB / 5.892 GB, free: 44.19 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01321/17.38, allocations: 7.034 MB / 5.899 GB, free: 41.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/17.38, allocations: 5.094 kB / 5.899 GB, free: 41.47 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003701/17.38, allocations: 2.313 MB / 5.901 GB, free: 40.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01692/17.4, allocations: 2.92 MB / 5.904 GB, free: 40.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/17.42, allocations: 11.08 MB / 5.915 GB, free: 31.59 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/17.43, allocations: 4.518 MB / 5.919 GB, free: 28.13 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01657/17.44, allocations: 4.342 MB / 5.924 GB, free: 25.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/17.45, allocations: 288.8 kB / 5.924 GB, free: 25.23 MB / 0.9323 GB Notification: Performance of SimCode: time 2.033e-06/17.45, allocations: 0 / 5.924 GB, free: 25.23 MB / 0.9323 GB Notification: Performance of Templates: time 0.9916/18.44, allocations: 144 MB / 6.065 GB, free: 99.12 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