Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.263/2.263, allocations: 390.5 MB / 398 MB, free: 10.98 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.001587/0.001587, allocations: 184 kB / 491.2 MB, free: 1.602 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.725/1.725, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001098/0.001098, allocations: 95.67 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.815e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.371, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.458/6.829, allocations: 2.216 GB / 3.428 GB, free: 72.01 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/6.829, allocations: 90.89 kB / 3.429 GB, free: 71.96 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.32/17.15, allocations: 2.441 GB / 5.87 GB, free: 159.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.803e-06/17.15, allocations: 0 / 5.87 GB, free: 159.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001256/17.15, allocations: 151.4 kB / 5.87 GB, free: 159.3 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.02409/17.17, allocations: 5.771 MB / 5.876 GB, free: 157.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/17.17, allocations: 9.844 kB / 5.876 GB, free: 157.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/17.19, allocations: 1.398 MB / 5.877 GB, free: 157.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/17.21, allocations: 7.162 MB / 5.884 GB, free: 156.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/17.21, allocations: 144 kB / 5.884 GB, free: 156.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/17.21, allocations: 282 kB / 5.884 GB, free: 156.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01632/17.23, allocations: 5.202 MB / 5.89 GB, free: 156.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/17.25, allocations: 5.698 MB / 5.895 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/17.25, allocations: 8.688 kB / 5.895 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002291/17.25, allocations: 9.219 kB / 5.895 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/17.25, allocations: 212.8 kB / 5.895 GB, free: 155.8 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.0587/17.31, allocations: 25.83 MB / 5.921 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/17.32, allocations: 4.906 MB / 5.925 GB, free: 144.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/17.32, allocations: 2.323 MB / 5.928 GB, free: 144.8 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/17.33, allocations: 1.013 MB / 5.929 GB, free: 143.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005046/17.33, allocations: 2.169 MB / 5.931 GB, free: 143.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=312): time 1.154e-05/17.33, allocations: 0 / 5.931 GB, free: 143.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=316): time 0.03995/17.37, allocations: 10.69 MB / 5.941 GB, free: 140.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/17.37, allocations: 196.8 kB / 5.941 GB, free: 140.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/17.38, allocations: 3.868 MB / 5.945 GB, free: 140.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/17.39, allocations: 34.86 kB / 5.945 GB, free: 140.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004403/17.39, allocations: 2.486 MB / 5.948 GB, free: 139.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/17.39, allocations: 1.045 MB / 5.949 GB, free: 138.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008017/17.39, allocations: 0 / 5.949 GB, free: 138.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004591/17.39, allocations: 436.9 kB / 5.949 GB, free: 138.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/17.4, allocations: 1.608 MB / 5.951 GB, free: 138.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/17.4, allocations: 2.32 MB / 5.953 GB, free: 137.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005518/17.41, allocations: 2.195 MB / 5.955 GB, free: 137.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-05/17.41, allocations: 3.781 kB / 5.955 GB, free: 137.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01218/17.42, allocations: 4.622 MB / 5.96 GB, free: 137.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001774/17.42, allocations: 5.837 MB / 5.965 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-05/17.42, allocations: 11.75 kB / 5.965 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/17.42, allocations: 126 kB / 5.965 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/17.43, allocations: 0.7195 MB / 5.966 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/17.43, allocations: 2.684 MB / 5.969 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/17.44, allocations: 0.4887 MB / 5.969 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/17.44, allocations: 132.7 kB / 5.969 GB, free: 129.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/17.44, allocations: 3.188 kB / 5.969 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01273/17.45, allocations: 4.178 MB / 5.973 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/17.45, allocations: 17.09 kB / 5.973 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/17.45, allocations: 126.9 kB / 5.974 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/17.45, allocations: 0.7058 MB / 5.974 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/17.46, allocations: 2.07 MB / 5.976 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008315/17.47, allocations: 497.4 kB / 5.977 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/17.47, allocations: 126.8 kB / 5.977 GB, free: 128.1 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.002229/17.47, allocations: 245.6 kB / 5.977 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00252/17.47, allocations: 454.6 kB / 5.977 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/17.49, allocations: 4.428 MB / 5.982 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/17.49, allocations: 32.44 kB / 5.982 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/17.49, allocations: 7.266 kB / 5.982 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008446/17.49, allocations: 3.749 MB / 5.986 GB, free: 127.2 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.0325/17.53, allocations: 11.11 MB / 5.996 GB, free: 126 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/17.53, allocations: 6.812 kB / 5.996 GB, free: 126 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/17.53, allocations: 0.7012 MB / 5.997 GB, free: 125.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/17.53, allocations: 107.8 kB / 5.997 GB, free: 125.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007749/17.53, allocations: 58.94 kB / 5.997 GB, free: 125.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/17.53, allocations: 2.656 MB / 6 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/17.53, allocations: 5.25 kB / 6 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/17.55, allocations: 7.18 MB / 6.007 GB, free: 120.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005617/17.56, allocations: 1.143 MB / 6.008 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002823/17.56, allocations: 32.64 kB / 6.008 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00729/17.57, allocations: 442.1 kB / 6.008 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009622/17.57, allocations: 190.4 kB / 6.009 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009102/17.57, allocations: 118.7 kB / 6.009 GB, free: 119.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.009483/17.58, allocations: 3.009 MB / 6.012 GB, free: 118.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.11e-07/17.58, allocations: 0 / 6.012 GB, free: 118.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02144/17.6, allocations: 2.725 MB / 6.014 GB, free: 118.4 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.007848/17.61, allocations: 3.091 MB / 6.017 GB, free: 117.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01662/17.62, allocations: 6.7 MB / 6.024 GB, free: 114.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/17.62, allocations: 2.688 kB / 6.024 GB, free: 114.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/17.63, allocations: 2.217 MB / 6.026 GB, free: 113.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01973/17.65, allocations: 2.74 MB / 6.029 GB, free: 113.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/17.69, allocations: 11.01 MB / 6.039 GB, free: 109.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/17.7, allocations: 4.495 MB / 6.044 GB, free: 108 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01988/17.72, allocations: 4.38 MB / 6.048 GB, free: 107.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/17.72, allocations: 282.8 kB / 6.048 GB, free: 107.9 MB / 1.198 GB Notification: Performance of SimCode: time 2.364e-06/17.72, allocations: 0 / 6.048 GB, free: 107.9 MB / 1.198 GB Notification: Performance of Templates: time 0.2137/17.94, allocations: 112 MB / 6.158 GB, free: 19.74 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches