Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001117/0.001118, allocations: 177.2 kB / 498.1 MB, free: 5.727 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.592/1.592, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.0008423/0.0008422, allocations: 96.31 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 10.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3332, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.757/6.091, allocations: 2.175 GB / 3.398 GB, free: 310.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/6.091, allocations: 98.36 kB / 3.398 GB, free: 310.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.476/9.567, allocations: 1.021 GB / 4.419 GB, free: 163.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.09e-06/9.567, allocations: 3.391 kB / 4.419 GB, free: 163.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004202/9.567, allocations: 43.98 kB / 4.419 GB, free: 163.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009228/9.576, allocations: 2.188 MB / 4.421 GB, free: 161.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/9.577, allocations: 8.031 kB / 4.421 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/9.579, allocations: 350 kB / 4.421 GB, free: 160.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005356/9.584, allocations: 1.604 MB / 4.423 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/9.585, allocations: 90.16 kB / 4.423 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/9.585, allocations: 123.9 kB / 4.423 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/9.589, allocations: 1.178 MB / 4.424 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/9.589, allocations: 4 kB / 4.424 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/9.589, allocations: 51.98 kB / 4.424 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/9.589, allocations: 46.12 kB / 4.424 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/9.591, allocations: 0.9413 MB / 4.425 GB, free: 156.8 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009334/9.601, allocations: 5.513 MB / 4.431 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/9.602, allocations: 0.8734 MB / 4.431 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/9.603, allocations: 0.6057 MB / 4.432 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/9.603, allocations: 43.06 kB / 4.432 GB, free: 149.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.497e-06/9.603, allocations: 0 / 4.432 GB, free: 149.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.003285/9.606, allocations: 1.404 MB / 4.433 GB, free: 147.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/9.606, allocations: 71.86 kB / 4.434 GB, free: 147.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/9.608, allocations: 1.054 MB / 4.435 GB, free: 146.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/9.608, allocations: 45.7 kB / 4.435 GB, free: 146.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/9.609, allocations: 0.6854 MB / 4.435 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/9.609, allocations: 252.3 kB / 4.435 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/9.609, allocations: 16 kB / 4.436 GB, free: 145.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/9.609, allocations: 330 kB / 4.436 GB, free: 145.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/9.61, allocations: 285.8 kB / 4.436 GB, free: 144.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/9.61, allocations: 0.5035 MB / 4.437 GB, free: 144.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/9.611, allocations: 352.9 kB / 4.437 GB, free: 144 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/9.611, allocations: 0 / 4.437 GB, free: 144 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001887/9.613, allocations: 0.9736 MB / 4.438 GB, free: 143 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/9.613, allocations: 0.9022 MB / 4.439 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/9.613, allocations: 0 / 4.439 GB, free: 142.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/9.613, allocations: 105.6 kB / 4.439 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/9.614, allocations: 155.8 kB / 4.439 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008881/9.615, allocations: 1.761 MB / 4.441 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/9.617, allocations: 162.5 kB / 4.441 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/9.617, allocations: 35.94 kB / 4.441 GB, free: 139.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/9.617, allocations: 5.562 kB / 4.441 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/9.618, allocations: 0.8133 MB / 4.442 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/9.618, allocations: 0 / 4.442 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/9.619, allocations: 89.64 kB / 4.442 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/9.619, allocations: 151.9 kB / 4.442 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/9.622, allocations: 3.156 MB / 4.445 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/9.623, allocations: 159.3 kB / 4.445 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/9.624, allocations: 31.94 kB / 4.445 GB, free: 135.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001061/9.625, allocations: 442.7 kB / 4.446 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/9.625, allocations: 147.5 kB / 4.446 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/9.627, allocations: 0.9731 MB / 4.447 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/9.627, allocations: 15.94 kB / 4.447 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/9.627, allocations: 0 / 4.447 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/9.629, allocations: 1.087 MB / 4.448 GB, free: 132.3 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005101/9.634, allocations: 2.451 MB / 4.45 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/9.634, allocations: 4.062 kB / 4.45 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/9.635, allocations: 155.8 kB / 4.45 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/9.635, allocations: 93.58 kB / 4.45 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/9.635, allocations: 23.94 kB / 4.45 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008334/9.636, allocations: 1.734 MB / 4.452 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/9.636, allocations: 8.219 kB / 4.452 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/9.638, allocations: 1.601 MB / 4.454 GB, free: 126 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/9.639, allocations: 327.2 kB / 4.454 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/9.64, allocations: 12 kB / 4.454 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/9.641, allocations: 139.4 kB / 4.454 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/9.641, allocations: 48.44 kB / 4.454 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/9.642, allocations: 31.98 kB / 4.454 GB, free: 125.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001597/9.643, allocations: 0.8243 MB / 4.455 GB, free: 124.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/9.643, allocations: 4 kB / 4.455 GB, free: 124.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004263/9.647, allocations: 0.9826 MB / 4.456 GB, free: 123.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003648/9.651, allocations: 2.044 MB / 4.458 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003014/9.654, allocations: 1.397 MB / 4.459 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/9.654, allocations: 4.125 kB / 4.459 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/9.655, allocations: 419.5 kB / 4.46 GB, free: 119.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/9.66, allocations: 0.7978 MB / 4.461 GB, free: 118.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/9.666, allocations: 3.29 MB / 4.464 GB, free: 115.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/9.667, allocations: 1.312 MB / 4.465 GB, free: 114.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00213/9.669, allocations: 346.6 kB / 4.465 GB, free: 113.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/9.67, allocations: 103.4 kB / 4.465 GB, free: 113.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/9.67, allocations: 0 / 4.465 GB, free: 113.8 MB / 1.167 GB Notification: Performance of Templates: time 0.07045/9.74, allocations: 48.17 MB / 4.513 GB, free: 66.01 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches