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.591/1.591, allocations: 249.5 MB / 257 MB, free: 6.922 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.001475/0.001475, allocations: 187.6 kB / 316.3 MB, free: 3.223 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.896/1.896, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.00111/0.00111, allocations: 86.45 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.723e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2333, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.299/7.533, allocations: 2.485 GB / 3.37 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/7.533, allocations: 85.52 kB / 3.37 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.226/15.76, allocations: 1.985 GB / 5.355 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.465e-06/15.76, allocations: 0 / 5.355 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00142/15.76, allocations: 136.7 kB / 5.355 GB, free: 108.4 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.02808/15.79, allocations: 5.188 MB / 5.36 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/15.79, allocations: 12.78 kB / 5.36 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/15.8, allocations: 1.244 MB / 5.362 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/15.82, allocations: 6.694 MB / 5.368 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/15.82, allocations: 125.2 kB / 5.368 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/15.82, allocations: 246.4 kB / 5.369 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01186/15.83, allocations: 4.504 MB / 5.373 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/15.85, allocations: 4.966 MB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/15.85, allocations: 10.28 kB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006528/15.85, allocations: 7.125 kB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/15.85, allocations: 194.3 kB / 5.378 GB, free: 105.1 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.04226/15.89, allocations: 23.34 MB / 5.401 GB, free: 95.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006333/15.9, allocations: 4.597 MB / 5.405 GB, free: 94.53 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002793/15.9, allocations: 2.003 MB / 5.407 GB, free: 94.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/15.9, allocations: 0.9991 MB / 5.408 GB, free: 93.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002758/15.9, allocations: 1.861 MB / 5.41 GB, free: 93.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=272): time 4.849e-06/15.9, allocations: 0 / 5.41 GB, free: 93.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.02576/15.93, allocations: 9.286 MB / 5.419 GB, free: 90.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/15.93, allocations: 188.4 kB / 5.419 GB, free: 90.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007229/15.94, allocations: 3.602 MB / 5.423 GB, free: 90.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/15.94, allocations: 32.55 kB / 5.423 GB, free: 90.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/15.94, allocations: 2.223 MB / 5.425 GB, free: 89.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/15.94, allocations: 0.9248 MB / 5.426 GB, free: 88.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/15.94, allocations: 3.188 kB / 5.426 GB, free: 88.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000225/15.94, allocations: 424.6 kB / 5.426 GB, free: 88.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/15.95, allocations: 1.357 MB / 5.428 GB, free: 88.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/15.95, allocations: 2.09 MB / 5.43 GB, free: 87.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/15.95, allocations: 1.908 MB / 5.432 GB, free: 87.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/15.95, allocations: 5.312 kB / 5.432 GB, free: 87.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01036/15.96, allocations: 4.005 MB / 5.436 GB, free: 87.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001219/15.96, allocations: 5.367 MB / 5.441 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/15.96, allocations: 13.06 kB / 5.441 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/15.96, allocations: 122.9 kB / 5.441 GB, free: 81.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/15.97, allocations: 0.6245 MB / 5.441 GB, free: 81.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/15.97, allocations: 2.681 MB / 5.444 GB, free: 80.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006689/15.98, allocations: 446.4 kB / 5.445 GB, free: 80.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006402/15.98, allocations: 116.9 kB / 5.445 GB, free: 80.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/15.98, allocations: 7 kB / 5.445 GB, free: 80.01 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006698/15.98, allocations: 3.607 MB / 5.448 GB, free: 79.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/15.98, allocations: 10.22 kB / 5.448 GB, free: 79.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/15.98, allocations: 118.7 kB / 5.448 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/15.99, allocations: 0.6149 MB / 5.449 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/15.99, allocations: 2.066 MB / 5.451 GB, free: 78.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/16, allocations: 438.5 kB / 5.451 GB, free: 78.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/16, allocations: 117.8 kB / 5.451 GB, free: 78.59 MB / 0.9167 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.001389/16, allocations: 239 kB / 5.452 GB, free: 78.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/16, allocations: 419.8 kB / 5.452 GB, free: 78.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009549/16.01, allocations: 3.78 MB / 5.456 GB, free: 78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/16.01, allocations: 29.5 kB / 5.456 GB, free: 78 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/16.01, allocations: 0 / 5.456 GB, free: 78 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005948/16.01, allocations: 3.207 MB / 5.459 GB, free: 77.74 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.02617/16.04, allocations: 9.616 MB / 5.468 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/16.04, allocations: 8.594 kB / 5.468 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/16.04, allocations: 0.615 MB / 5.469 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/16.04, allocations: 108.8 kB / 5.469 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005457/16.05, allocations: 50.77 kB / 5.469 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/16.05, allocations: 2.662 MB / 5.472 GB, free: 74.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/16.05, allocations: 4.188 kB / 5.472 GB, free: 74.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/16.06, allocations: 6.377 MB / 5.478 GB, free: 73.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/16.07, allocations: 1.055 MB / 5.479 GB, free: 73.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002179/16.07, allocations: 29.42 kB / 5.479 GB, free: 73.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00614/16.07, allocations: 411.8 kB / 5.479 GB, free: 73.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005928/16.07, allocations: 170.8 kB / 5.48 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005491/16.07, allocations: 109 kB / 5.48 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007675/16.08, allocations: 2.804 MB / 5.482 GB, free: 73.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.993e-06/16.08, allocations: 0 / 5.482 GB, free: 73.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01805/16.1, allocations: 2.564 MB / 5.485 GB, free: 73.05 MB / 0.9167 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.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 (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.007078/16.11, allocations: 3 MB / 5.488 GB, free: 72.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0143/16.12, allocations: 5.805 MB / 5.493 GB, free: 71.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-05/16.12, allocations: 6.625 kB / 5.493 GB, free: 71.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005042/16.13, allocations: 1.915 MB / 5.495 GB, free: 71.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01815/16.15, allocations: 2.646 MB / 5.498 GB, free: 71.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/16.17, allocations: 9.899 MB / 5.508 GB, free: 69.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007171/16.18, allocations: 4.063 MB / 5.512 GB, free: 68.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01546/16.2, allocations: 3.844 MB / 5.515 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/16.2, allocations: 253 kB / 5.516 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of SimCode: time 1.232e-06/16.2, allocations: 0 / 5.516 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.2098/16.41, allocations: 106.3 MB / 5.619 GB, free: 2.527 MB / 0.9167 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