Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00106/0.00106, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.389/1.389, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 107.6 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.811e-05, allocations: 5.094 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9984/1.237, allocations: 420.4 MB / 1.616 GB, free: 2.324 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.237, allocations: 98.69 kB / 1.617 GB, free: 2.273 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/2.572, allocations: 420.7 MB / 2.027 GB, free: 181.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/2.572, allocations: 0 / 2.027 GB, free: 181.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002408/2.572, allocations: 47.98 kB / 2.027 GB, free: 181.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004702/2.577, allocations: 1.936 MB / 2.029 GB, free: 179.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/2.577, allocations: 12.03 kB / 2.029 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/2.578, allocations: 221.5 kB / 2.03 GB, free: 179.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/2.582, allocations: 2.126 MB / 2.032 GB, free: 176.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/2.582, allocations: 47.95 kB / 2.032 GB, free: 176.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/2.583, allocations: 92 kB / 2.032 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002149/2.585, allocations: 1.575 MB / 2.033 GB, free: 175.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/2.587, allocations: 1.653 MB / 2.035 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/2.587, allocations: 7.906 kB / 2.035 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/2.587, allocations: 0 / 2.035 GB, free: 173.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/2.587, allocations: 43.98 kB / 2.035 GB, free: 173.4 MB / 1.151 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.008498/2.596, allocations: 7.222 MB / 2.042 GB, free: 165.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/2.597, allocations: 1.268 MB / 2.043 GB, free: 164.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/2.597, allocations: 0.6064 MB / 2.044 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004891/2.602, allocations: 3.746 MB / 2.048 GB, free: 160 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/2.602, allocations: 47.3 kB / 2.048 GB, free: 160 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.374e-06/2.602, allocations: 0 / 2.048 GB, free: 160 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.002002/2.604, allocations: 1.111 MB / 2.049 GB, free: 158.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/2.604, allocations: 64.12 kB / 2.049 GB, free: 158.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/2.606, allocations: 1.243 MB / 2.05 GB, free: 157.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/2.606, allocations: 29.7 kB / 2.05 GB, free: 157.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/2.606, allocations: 0.7639 MB / 2.051 GB, free: 156.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/2.607, allocations: 299.5 kB / 2.051 GB, free: 156.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/2.607, allocations: 0 / 2.051 GB, free: 156.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/2.607, allocations: 361.9 kB / 2.051 GB, free: 156 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/2.608, allocations: 0.6402 MB / 2.052 GB, free: 155.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/2.608, allocations: 0.9635 MB / 2.053 GB, free: 154.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/2.611, allocations: 1.185 MB / 2.054 GB, free: 153.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/2.611, allocations: 7.938 kB / 2.054 GB, free: 153.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003498/2.614, allocations: 2.119 MB / 2.056 GB, free: 151 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005852/2.615, allocations: 3.49 MB / 2.06 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/2.615, allocations: 11.94 kB / 2.06 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/2.615, allocations: 19.95 kB / 2.06 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/2.616, allocations: 351.5 kB / 2.06 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/2.616, allocations: 23.92 kB / 2.06 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/2.617, allocations: 170.3 kB / 2.06 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/2.617, allocations: 59.98 kB / 2.06 GB, free: 146.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/2.617, allocations: 4 kB / 2.06 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/2.62, allocations: 1.959 MB / 2.062 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/2.621, allocations: 8 kB / 2.062 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/2.621, allocations: 16 kB / 2.062 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/2.622, allocations: 351.5 kB / 2.062 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/2.622, allocations: 19.94 kB / 2.062 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/2.623, allocations: 143.1 kB / 2.063 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/2.623, allocations: 63.98 kB / 2.063 GB, free: 144 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002252/2.623, allocations: 144.5 kB / 2.063 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/2.623, allocations: 130.4 kB / 2.063 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/2.626, allocations: 1.233 MB / 2.064 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/2.626, allocations: 11.98 kB / 2.064 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.626, allocations: 0 / 2.064 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/2.627, allocations: 1.31 MB / 2.065 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/2.631, allocations: 2.729 MB / 2.068 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.631, allocations: 8.094 kB / 2.068 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/2.632, allocations: 175.8 kB / 2.068 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/2.632, allocations: 4 kB / 2.068 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/2.632, allocations: 15.98 kB / 2.068 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/2.632, allocations: 4 kB / 2.068 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.632, allocations: 7.938 kB / 2.068 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/2.634, allocations: 1.908 MB / 2.07 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/2.635, allocations: 395.1 kB / 2.071 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/2.635, allocations: 11.95 kB / 2.071 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/2.636, allocations: 51.78 kB / 2.071 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/2.636, allocations: 48.7 kB / 2.071 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/2.636, allocations: 43.86 kB / 2.071 GB, free: 135.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001059/2.637, allocations: 0.9498 MB / 2.072 GB, free: 134.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.637, allocations: 4 kB / 2.072 GB, free: 134.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002829/2.64, allocations: 0.9466 MB / 2.073 GB, free: 133.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009295/2.641, allocations: 499 kB / 2.073 GB, free: 133.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002663/2.644, allocations: 2.207 MB / 2.075 GB, free: 131 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/2.644, allocations: 0 / 2.075 GB, free: 131 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/2.644, allocations: 486.6 kB / 2.076 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/2.646, allocations: 0.6223 MB / 2.076 GB, free: 129.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/2.651, allocations: 2.965 MB / 2.079 GB, free: 126.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/2.652, allocations: 1.71 MB / 2.081 GB, free: 125.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002855/2.654, allocations: 1.17 MB / 2.082 GB, free: 124 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/2.655, allocations: 99.41 kB / 2.082 GB, free: 123.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/2.655, allocations: 0 / 2.082 GB, free: 123.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03662/2.691, allocations: 28.04 MB / 2.109 GB, free: 96.07 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","../files/Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches