Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 390.5 MB / 398 MB, free: 10.97 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.001727/0.001727, allocations: 180.5 kB / 491.2 MB, free: 1.598 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.828/1.828, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001092/0.001091, allocations: 95.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.949e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3642, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.459/6.824, allocations: 2.208 GB / 3.421 GB, free: 92.78 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/6.824, allocations: 87.95 kB / 3.421 GB, free: 92.69 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.774/15.6, allocations: 2.072 GB / 5.493 GB, free: 187.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.855e-06/15.6, allocations: 0 / 5.493 GB, free: 187.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001411/15.6, allocations: 135.6 kB / 5.493 GB, free: 187.8 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02496/15.62, allocations: 5.219 MB / 5.498 GB, free: 185.8 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/15.62, allocations: 9.688 kB / 5.498 GB, free: 185.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/15.63, allocations: 1.237 MB / 5.499 GB, free: 185.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02259/15.66, allocations: 6.773 MB / 5.506 GB, free: 184.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/15.66, allocations: 128.2 kB / 5.506 GB, free: 184.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002589/15.66, allocations: 236.8 kB / 5.506 GB, free: 184.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01472/15.68, allocations: 4.479 MB / 5.511 GB, free: 184.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/15.7, allocations: 4.955 MB / 5.516 GB, free: 184.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/15.7, allocations: 7.5 kB / 5.516 GB, free: 184.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002215/15.7, allocations: 3.875 kB / 5.516 GB, free: 184.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003701/15.7, allocations: 192.4 kB / 5.516 GB, free: 184.4 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.05287/15.75, allocations: 23.36 MB / 5.539 GB, free: 175.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007222/15.76, allocations: 4.506 MB / 5.543 GB, free: 173.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/15.76, allocations: 2.014 MB / 5.545 GB, free: 172.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/15.76, allocations: 1.005 MB / 5.546 GB, free: 171.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004091/15.77, allocations: 1.869 MB / 5.548 GB, free: 170.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=272): time 1.155e-05/15.77, allocations: 0 / 5.548 GB, free: 170.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=276): time 0.02683/15.8, allocations: 9.354 MB / 5.557 GB, free: 166.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/15.8, allocations: 181.9 kB / 5.557 GB, free: 166.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/15.8, allocations: 3.613 MB / 5.561 GB, free: 164.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0009488/15.8, allocations: 32.73 kB / 5.561 GB, free: 164.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002691/15.81, allocations: 2.229 MB / 5.563 GB, free: 163.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/15.81, allocations: 0.9166 MB / 5.564 GB, free: 162.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/15.81, allocations: 0 / 5.564 GB, free: 162.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001963/15.81, allocations: 420.1 kB / 5.564 GB, free: 162.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/15.81, allocations: 1.369 MB / 5.565 GB, free: 161.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/15.81, allocations: 2.019 MB / 5.567 GB, free: 160.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/15.82, allocations: 1.903 MB / 5.569 GB, free: 159.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/15.82, allocations: 6.938 kB / 5.569 GB, free: 159.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007562/15.82, allocations: 4.045 MB / 5.573 GB, free: 158.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001517/15.82, allocations: 5.366 MB / 5.578 GB, free: 152.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/15.82, allocations: 15.81 kB / 5.578 GB, free: 152.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/15.83, allocations: 124.6 kB / 5.579 GB, free: 152.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/15.83, allocations: 0.631 MB / 5.579 GB, free: 152.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/15.83, allocations: 2.679 MB / 5.582 GB, free: 150.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007974/15.84, allocations: 470.5 kB / 5.582 GB, free: 150.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/15.84, allocations: 117.7 kB / 5.582 GB, free: 150.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/15.84, allocations: 3.531 kB / 5.582 GB, free: 150.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008327/15.85, allocations: 3.634 MB / 5.586 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/15.85, allocations: 13.38 kB / 5.586 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/15.85, allocations: 124 kB / 5.586 GB, free: 149.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/15.85, allocations: 0.6149 MB / 5.587 GB, free: 149.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/15.85, allocations: 2.072 MB / 5.589 GB, free: 147.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006468/15.86, allocations: 452.1 kB / 5.589 GB, free: 147.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006046/15.86, allocations: 117.5 kB / 5.589 GB, free: 147.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (336): * Single equations (assignments): 332 * 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.001096/15.86, allocations: 244 kB / 5.589 GB, free: 147.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/15.86, allocations: 418.3 kB / 5.59 GB, free: 146.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007723/15.87, allocations: 3.812 MB / 5.594 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/15.87, allocations: 26.69 kB / 5.594 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/15.87, allocations: 3.938 kB / 5.594 GB, free: 145.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005004/15.88, allocations: 3.24 MB / 5.597 GB, free: 144.4 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.01956/15.9, allocations: 9.819 MB / 5.606 GB, free: 136.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/15.9, allocations: 6.188 kB / 5.606 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/15.9, allocations: 0.6049 MB / 5.607 GB, free: 136 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/15.9, allocations: 117.5 kB / 5.607 GB, free: 135.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/15.9, allocations: 47.77 kB / 5.607 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/15.9, allocations: 2.661 MB / 5.61 GB, free: 133.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/15.9, allocations: 7.938 kB / 5.61 GB, free: 133.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009475/15.91, allocations: 6.185 MB / 5.616 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/15.92, allocations: 1.043 MB / 5.617 GB, free: 126.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/15.92, allocations: 27.94 kB / 5.617 GB, free: 126.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005171/15.92, allocations: 413.5 kB / 5.617 GB, free: 126.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/15.92, allocations: 166.7 kB / 5.617 GB, free: 126.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/15.92, allocations: 114.2 kB / 5.617 GB, free: 126.1 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005323/15.93, allocations: 2.808 MB / 5.62 GB, free: 123.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.194e-06/15.93, allocations: 0 / 5.62 GB, free: 123.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01721/15.95, allocations: 2.548 MB / 5.623 GB, free: 121.1 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 (265): * Single equations (assignments): 257 * 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.005448/15.95, allocations: 3.004 MB / 5.626 GB, free: 118.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008997/15.96, allocations: 5.846 MB / 5.631 GB, free: 113.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/15.96, allocations: 3.5 kB / 5.631 GB, free: 113.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/15.96, allocations: 1.923 MB / 5.633 GB, free: 111.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/15.98, allocations: 2.626 MB / 5.636 GB, free: 109.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/16, allocations: 9.935 MB / 5.645 GB, free: 101 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003778/16, allocations: 4.053 MB / 5.649 GB, free: 96.95 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0128/16.02, allocations: 3.958 MB / 5.653 GB, free: 93.08 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/16.02, allocations: 255.4 kB / 5.654 GB, free: 92.83 MB / 1.198 GB Notification: Performance of SimCode: time 1.433e-06/16.02, allocations: 0 / 5.654 GB, free: 92.83 MB / 1.198 GB Notification: Performance of Templates: time 0.1698/16.19, allocations: 105.5 MB / 5.757 GB, free: 5.082 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches