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.312/2.312, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.00137/0.00137, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.553/1.553, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009616/0.0009617, allocations: 99.86 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.497e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3122, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.664, allocations: 421.1 MB / 1.624 GB, free: 9.586 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.665, allocations: 97.75 kB / 1.624 GB, free: 9.535 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/3.344, allocations: 422.9 MB / 2.037 GB, free: 167.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/3.344, allocations: 0 / 2.037 GB, free: 167.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001728/3.344, allocations: 47.98 kB / 2.037 GB, free: 167.2 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.003909/3.348, allocations: 1.939 MB / 2.039 GB, free: 165.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/3.348, allocations: 8.031 kB / 2.039 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007041/3.349, allocations: 221.5 kB / 2.039 GB, free: 165 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/3.353, allocations: 2.123 MB / 2.041 GB, free: 162.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/3.353, allocations: 114.7 kB / 2.041 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/3.353, allocations: 151.9 kB / 2.041 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/3.356, allocations: 1.861 MB / 2.043 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/3.356, allocations: 0 / 2.043 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/3.356, allocations: 60 kB / 2.043 GB, free: 160.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.125e-05/3.356, allocations: 40 kB / 2.043 GB, free: 160.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/3.358, allocations: 1.662 MB / 2.045 GB, free: 158.9 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.01433/3.373, allocations: 7.54 MB / 2.052 GB, free: 151.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/3.375, allocations: 1.323 MB / 2.053 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/3.375, allocations: 0.6289 MB / 2.054 GB, free: 149.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007216/3.383, allocations: 3.828 MB / 2.058 GB, free: 145 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/3.383, allocations: 55.36 kB / 2.058 GB, free: 144.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 4.498e-06/3.383, allocations: 3.984 kB / 2.058 GB, free: 144.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.002127/3.385, allocations: 1.045 MB / 2.059 GB, free: 143.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/3.385, allocations: 60.19 kB / 2.059 GB, free: 143.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/3.388, allocations: 1.511 MB / 2.06 GB, free: 142.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/3.388, allocations: 49.7 kB / 2.06 GB, free: 142.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/3.389, allocations: 0.7691 MB / 2.061 GB, free: 141.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/3.389, allocations: 311.6 kB / 2.061 GB, free: 141.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/3.389, allocations: 28 kB / 2.061 GB, free: 141.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001549/3.389, allocations: 369.9 kB / 2.062 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/3.39, allocations: 0.6637 MB / 2.062 GB, free: 140.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/3.392, allocations: 1.003 MB / 2.063 GB, free: 138.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/3.393, allocations: 0.8596 MB / 2.064 GB, free: 138.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/3.393, allocations: 0 / 2.064 GB, free: 138.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002922/3.396, allocations: 1.92 MB / 2.066 GB, free: 136.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007614/3.396, allocations: 3.528 MB / 2.07 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/3.396, allocations: 8 kB / 2.07 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.166e-05/3.396, allocations: 16 kB / 2.07 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/3.398, allocations: 355.5 kB / 2.07 GB, free: 132 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.66e-05/3.398, allocations: 19.94 kB / 2.07 GB, free: 132 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/3.4, allocations: 226 kB / 2.07 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/3.4, allocations: 55.98 kB / 2.07 GB, free: 131.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/3.4, allocations: 4 kB / 2.07 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/3.402, allocations: 1.76 MB / 2.072 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/3.402, allocations: 12 kB / 2.072 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/3.402, allocations: 19.94 kB / 2.072 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/3.403, allocations: 347.5 kB / 2.072 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/3.403, allocations: 19.94 kB / 2.072 GB, free: 129.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/3.405, allocations: 190.9 kB / 2.072 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/3.405, allocations: 63.98 kB / 2.073 GB, free: 129.3 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.0003182/3.405, allocations: 193.1 kB / 2.073 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/3.406, allocations: 150.1 kB / 2.073 GB, free: 129 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/3.408, allocations: 1.195 MB / 2.074 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/3.408, allocations: 16 kB / 2.074 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/3.408, allocations: 0 / 2.074 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/3.409, allocations: 1.236 MB / 2.075 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/3.414, allocations: 2.87 MB / 2.078 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/3.414, allocations: 4 kB / 2.078 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/3.415, allocations: 179.8 kB / 2.078 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/3.415, allocations: 8.094 kB / 2.078 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/3.415, allocations: 23.98 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/3.415, allocations: 4 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/3.415, allocations: 3.953 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/3.417, allocations: 1.885 MB / 2.08 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/3.418, allocations: 422.8 kB / 2.081 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/3.419, allocations: 23.98 kB / 2.081 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/3.42, allocations: 71.78 kB / 2.081 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/3.42, allocations: 52.7 kB / 2.081 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/3.42, allocations: 31.98 kB / 2.081 GB, free: 120.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002174/3.423, allocations: 1.248 MB / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/3.423, allocations: 0 / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003939/3.427, allocations: 0.9591 MB / 2.083 GB, free: 118.5 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.001364/3.428, allocations: 0.4975 MB / 2.083 GB, free: 118 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003643/3.432, allocations: 2.321 MB / 2.086 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/3.432, allocations: 4.25 kB / 2.086 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/3.432, allocations: 0.4924 MB / 2.086 GB, free: 115.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/3.437, allocations: 0.8564 MB / 2.087 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/3.443, allocations: 3.077 MB / 2.09 GB, free: 111.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/3.444, allocations: 1.712 MB / 2.092 GB, free: 109.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004339/3.449, allocations: 1.299 MB / 2.093 GB, free: 108.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/3.449, allocations: 119.4 kB / 2.093 GB, free: 108.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/3.449, allocations: 0 / 2.093 GB, free: 108.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05662/3.506, allocations: 37.08 MB / 2.129 GB, free: 71.18 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