Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.3 MB / 261.8 MB, free: 5.973 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.001121/0.001121, allocations: 174.1 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.642/1.642, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009321/0.0009319, allocations: 94.52 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.628e-05, allocations: 8 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2092, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/6.906, allocations: 2.484 GB / 3.376 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/6.906, allocations: 91.94 kB / 3.376 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.7/15.61, allocations: 2.003 GB / 5.38 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.174e-06/15.61, allocations: 0 / 5.38 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00139/15.61, allocations: 134.6 kB / 5.38 GB, free: 105.6 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02615/15.63, allocations: 5.187 MB / 5.385 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/15.63, allocations: 10.16 kB / 5.385 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/15.64, allocations: 1.25 MB / 5.386 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/15.66, allocations: 6.69 MB / 5.393 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/15.67, allocations: 305.9 kB / 5.393 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/15.67, allocations: 421 kB / 5.393 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/15.68, allocations: 5.548 MB / 5.399 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/15.68, allocations: 9.469 kB / 5.399 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006388/15.69, allocations: 174 kB / 5.399 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/15.69, allocations: 190.3 kB / 5.399 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/15.7, allocations: 4.84 MB / 5.404 GB, free: 102.3 MB / 0.9167 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.04693/15.75, allocations: 24.03 MB / 5.427 GB, free: 92.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/15.75, allocations: 3.635 MB / 5.431 GB, free: 92.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/15.75, allocations: 2.1 MB / 5.433 GB, free: 92.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/15.76, allocations: 1.006 MB / 5.434 GB, free: 91.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002858/15.76, allocations: 1.858 MB / 5.436 GB, free: 91.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 6.873e-06/15.76, allocations: 0 / 5.436 GB, free: 91.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.02259/15.78, allocations: 8.196 MB / 5.444 GB, free: 89.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/15.78, allocations: 132.8 kB / 5.444 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008202/15.79, allocations: 3.889 MB / 5.447 GB, free: 89.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/15.79, allocations: 87.23 kB / 5.448 GB, free: 89.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/15.79, allocations: 2.216 MB / 5.45 GB, free: 88.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/15.8, allocations: 0.9556 MB / 5.451 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/15.8, allocations: 53.59 kB / 5.451 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002506/15.8, allocations: 424 kB / 5.451 GB, free: 87.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/15.8, allocations: 1.437 MB / 5.453 GB, free: 87.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/15.8, allocations: 2.184 MB / 5.455 GB, free: 87.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/15.8, allocations: 1.924 MB / 5.457 GB, free: 86.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/15.8, allocations: 3.5 kB / 5.457 GB, free: 86.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007887/15.81, allocations: 4.222 MB / 5.461 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/15.81, allocations: 5.207 MB / 5.466 GB, free: 81.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/15.81, allocations: 10.34 kB / 5.466 GB, free: 81.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/15.81, allocations: 124.5 kB / 5.466 GB, free: 81.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/15.82, allocations: 0.6128 MB / 5.466 GB, free: 81.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/15.82, allocations: 2.748 MB / 5.469 GB, free: 79.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006575/15.83, allocations: 0.4992 MB / 5.47 GB, free: 79.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/15.83, allocations: 115.5 kB / 5.47 GB, free: 79.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/15.83, allocations: 3.75 kB / 5.47 GB, free: 79.21 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006294/15.83, allocations: 3.878 MB / 5.474 GB, free: 79.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/15.83, allocations: 13.12 kB / 5.474 GB, free: 79.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/15.83, allocations: 127.6 kB / 5.474 GB, free: 79.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/15.84, allocations: 0.6085 MB / 5.474 GB, free: 79.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/15.84, allocations: 2.137 MB / 5.476 GB, free: 77.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006347/15.84, allocations: 499.5 kB / 5.477 GB, free: 77.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/15.84, allocations: 111.9 kB / 5.477 GB, free: 77.67 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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.001021/15.85, allocations: 354 kB / 5.477 GB, free: 77.49 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/15.85, allocations: 422 kB / 5.478 GB, free: 77.28 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007016/15.85, allocations: 4.059 MB / 5.482 GB, free: 77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/15.85, allocations: 26.88 kB / 5.482 GB, free: 77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/15.85, allocations: 3.969 kB / 5.482 GB, free: 77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004463/15.86, allocations: 3.391 MB / 5.485 GB, free: 76.68 MB / 0.9167 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.02121/15.88, allocations: 10.23 MB / 5.495 GB, free: 75.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/15.88, allocations: 3.906 kB / 5.495 GB, free: 75.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/15.88, allocations: 0.6243 MB / 5.496 GB, free: 75.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003745/15.88, allocations: 119.5 kB / 5.496 GB, free: 75.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/15.88, allocations: 89.73 kB / 5.496 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/15.89, allocations: 2.718 MB / 5.498 GB, free: 73.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/15.89, allocations: 6.844 kB / 5.498 GB, free: 73.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/15.89, allocations: 6.707 MB / 5.505 GB, free: 71.69 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004088/15.9, allocations: 1.093 MB / 5.506 GB, free: 71.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/15.9, allocations: 75.61 kB / 5.506 GB, free: 71.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/15.91, allocations: 457 kB / 5.507 GB, free: 70.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/15.91, allocations: 166.5 kB / 5.507 GB, free: 70.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003222/15.91, allocations: 108.4 kB / 5.507 GB, free: 70.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005649/15.91, allocations: 3.071 MB / 5.51 GB, free: 69.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.01e-07/15.91, allocations: 0 / 5.51 GB, free: 69.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01412/15.93, allocations: 2.755 MB / 5.513 GB, free: 69.47 MB / 0.9167 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 (266): * Single equations (assignments): 258 * 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.005087/15.93, allocations: 2.786 MB / 5.515 GB, free: 68.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009866/15.94, allocations: 6.142 MB / 5.521 GB, free: 65.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/15.94, allocations: 3.125 kB / 5.521 GB, free: 65.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/15.94, allocations: 2.025 MB / 5.523 GB, free: 65.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/15.96, allocations: 2.801 MB / 5.526 GB, free: 64.67 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/15.98, allocations: 9.928 MB / 5.536 GB, free: 61.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/15.98, allocations: 4.059 MB / 5.54 GB, free: 59.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01327/16, allocations: 3.959 MB / 5.543 GB, free: 59.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/16, allocations: 258.5 kB / 5.544 GB, free: 59.41 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/16, allocations: 4 kB / 5.544 GB, free: 59.41 MB / 0.9167 GB Notification: Performance of Templates: time 0.9069/16.9, allocations: 136.4 MB / 5.677 GB, free: 114.3 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches