Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001098/0.001098, allocations: 188.8 kB / 321.3 MB, free: 14.64 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.719/1.719, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001153/0.001152, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.248e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2589, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.725/1.984, allocations: 401.5 MB / 1.284 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.984, allocations: 94.81 kB / 1.284 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.436/3.42, allocations: 401 MB / 1.676 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/3.42, allocations: 3.688 kB / 1.676 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003355/3.421, allocations: 47.88 kB / 1.676 GB, free: 236.6 MB / 0.8698 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.007221/3.428, allocations: 1.911 MB / 1.678 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/3.428, allocations: 10.72 kB / 1.678 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/3.429, allocations: 217.3 kB / 1.678 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/3.435, allocations: 2.066 MB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/3.435, allocations: 118 kB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006489/3.436, allocations: 152.2 kB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/3.44, allocations: 1.845 MB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/3.44, allocations: 5.5 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/3.441, allocations: 56.94 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/3.441, allocations: 43.42 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/3.444, allocations: 1.659 MB / 1.684 GB, free: 235.2 MB / 0.8698 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.01309/3.457, allocations: 7.514 MB / 1.691 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/3.459, allocations: 1.335 MB / 1.692 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/3.46, allocations: 0.6247 MB / 1.693 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006787/3.466, allocations: 3.822 MB / 1.697 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/3.466, allocations: 46.69 kB / 1.697 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 3.377e-06/3.466, allocations: 0 / 1.697 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.002133/3.469, allocations: 1.044 MB / 1.698 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/3.469, allocations: 63.62 kB / 1.698 GB, free: 229 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/3.471, allocations: 1.491 MB / 1.699 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/3.472, allocations: 45.48 kB / 1.699 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/3.472, allocations: 0.7687 MB / 1.7 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/3.473, allocations: 309 kB / 1.7 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/3.473, allocations: 27.94 kB / 1.7 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001325/3.473, allocations: 371.3 kB / 1.701 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/3.474, allocations: 0.6593 MB / 1.701 GB, free: 227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/3.475, allocations: 1.012 MB / 1.702 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/3.477, allocations: 0.8547 MB / 1.703 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/3.477, allocations: 2.281 kB / 1.703 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003361/3.48, allocations: 1.912 MB / 1.705 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009578/3.481, allocations: 3.521 MB / 1.708 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/3.481, allocations: 9.844 kB / 1.708 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.477e-05/3.481, allocations: 20.52 kB / 1.708 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/3.482, allocations: 353.1 kB / 1.709 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/3.482, allocations: 17.34 kB / 1.709 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/3.484, allocations: 228.6 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/3.485, allocations: 60.33 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/3.485, allocations: 6.5 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/3.488, allocations: 1.758 MB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/3.488, allocations: 7.812 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/3.488, allocations: 22.27 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/3.489, allocations: 354.4 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-05/3.489, allocations: 18.22 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/3.491, allocations: 185.2 kB / 1.711 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/3.492, allocations: 65.22 kB / 1.711 GB, free: 221 MB / 0.8698 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.0005506/3.492, allocations: 183.5 kB / 1.712 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009246/3.493, allocations: 148 kB / 1.712 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/3.496, allocations: 1.199 MB / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/3.496, allocations: 11.48 kB / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/3.496, allocations: 0 / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/3.498, allocations: 1.237 MB / 1.714 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/3.504, allocations: 2.853 MB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/3.505, allocations: 3.953 kB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/3.505, allocations: 179.8 kB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/3.505, allocations: 2.844 kB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/3.505, allocations: 26.09 kB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/3.505, allocations: 6.25 kB / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/3.505, allocations: 0 / 1.717 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/3.508, allocations: 1.886 MB / 1.719 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/3.51, allocations: 421.4 kB / 1.719 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/3.51, allocations: 23.59 kB / 1.719 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/3.511, allocations: 65.7 kB / 1.719 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/3.511, allocations: 54.16 kB / 1.719 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/3.511, allocations: 34.53 kB / 1.719 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001816/3.513, allocations: 1.239 MB / 1.721 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/3.513, allocations: 0 / 1.721 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00299/3.516, allocations: 0.9593 MB / 1.722 GB, free: 216.5 MB / 0.8698 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.001106/3.517, allocations: 0.4892 MB / 1.722 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003355/3.521, allocations: 2.32 MB / 1.724 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/3.521, allocations: 0 / 1.724 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/3.521, allocations: 0.4976 MB / 1.725 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/3.525, allocations: 0.8473 MB / 1.726 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/3.53, allocations: 3.061 MB / 1.729 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/3.531, allocations: 1.692 MB / 1.73 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003518/3.534, allocations: 1.268 MB / 1.732 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/3.535, allocations: 106.9 kB / 1.732 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.204e-06/3.535, allocations: 0 / 1.732 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05678/3.592, allocations: 36.79 MB / 1.768 GB, free: 179.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches