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.434/1.434, allocations: 249.5 MB / 257 MB, free: 6.926 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.001329/0.001329, allocations: 176.8 kB / 316.3 MB, free: 3.32 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.562/1.562, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009023/0.0009023, allocations: 96.64 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.601e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2369, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.873, allocations: 401.8 MB / 1.278 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.873, allocations: 97.22 kB / 1.278 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.378/3.251, allocations: 398.9 MB / 1.667 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/3.251, allocations: 0 / 1.667 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001814/3.251, allocations: 51.28 kB / 1.667 GB, free: 234.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.004621/3.256, allocations: 1.92 MB / 1.669 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/3.256, allocations: 7.125 kB / 1.669 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/3.257, allocations: 222.9 kB / 1.669 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/3.26, allocations: 2.062 MB / 1.671 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/3.26, allocations: 41.66 kB / 1.671 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/3.26, allocations: 93.42 kB / 1.671 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/3.263, allocations: 1.58 MB / 1.673 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/3.265, allocations: 1.635 MB / 1.675 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/3.265, allocations: 3.906 kB / 1.675 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/3.265, allocations: 3.344 kB / 1.675 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/3.265, allocations: 37.61 kB / 1.675 GB, free: 233.1 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.01021/3.276, allocations: 7.213 MB / 1.682 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/3.277, allocations: 1.268 MB / 1.683 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/3.278, allocations: 0.6048 MB / 1.684 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006843/3.285, allocations: 3.735 MB / 1.687 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/3.285, allocations: 43.28 kB / 1.687 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 6.973e-06/3.285, allocations: 0 / 1.687 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.002711/3.288, allocations: 1.106 MB / 1.688 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/3.288, allocations: 64.66 kB / 1.688 GB, free: 227 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/3.289, allocations: 1.223 MB / 1.69 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/3.289, allocations: 29.64 kB / 1.69 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/3.29, allocations: 0.7639 MB / 1.69 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/3.29, allocations: 295.8 kB / 1.691 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/3.29, allocations: 0 / 1.691 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/3.29, allocations: 360.2 kB / 1.691 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/3.291, allocations: 0.6393 MB / 1.692 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/3.292, allocations: 0.9682 MB / 1.693 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/3.294, allocations: 1.182 MB / 1.694 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/3.294, allocations: 3.844 kB / 1.694 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003937/3.298, allocations: 2.124 MB / 1.696 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007469/3.299, allocations: 3.495 MB / 1.699 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/3.299, allocations: 11.75 kB / 1.699 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/3.299, allocations: 18.25 kB / 1.699 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/3.3, allocations: 353.1 kB / 1.7 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/3.3, allocations: 21.84 kB / 1.7 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/3.302, allocations: 173.9 kB / 1.7 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/3.302, allocations: 61.59 kB / 1.7 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/3.302, allocations: 6.281 kB / 1.7 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003385/3.305, allocations: 1.955 MB / 1.702 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/3.305, allocations: 6.75 kB / 1.702 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/3.306, allocations: 17.91 kB / 1.702 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/3.307, allocations: 350.8 kB / 1.702 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/3.307, allocations: 23.75 kB / 1.702 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/3.308, allocations: 145.7 kB / 1.702 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/3.308, allocations: 64.56 kB / 1.702 GB, free: 219.1 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.0002871/3.308, allocations: 135.6 kB / 1.702 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/3.309, allocations: 127.9 kB / 1.703 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/3.311, allocations: 1.23 MB / 1.704 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/3.311, allocations: 10.16 kB / 1.704 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/3.311, allocations: 7.312 kB / 1.704 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/3.313, allocations: 1.307 MB / 1.705 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/3.317, allocations: 2.712 MB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/3.317, allocations: 3.156 kB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/3.318, allocations: 177.1 kB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/3.318, allocations: 3.938 kB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/3.318, allocations: 16.8 kB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/3.318, allocations: 10.48 kB / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/3.318, allocations: 0 / 1.708 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/3.32, allocations: 1.91 MB / 1.71 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/3.321, allocations: 394.2 kB / 1.71 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/3.321, allocations: 7.781 kB / 1.71 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/3.322, allocations: 43.84 kB / 1.71 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/3.322, allocations: 49.78 kB / 1.71 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/3.322, allocations: 40.55 kB / 1.71 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00111/3.323, allocations: 0.9383 MB / 1.711 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/3.323, allocations: 0 / 1.711 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002754/3.326, allocations: 0.9405 MB / 1.712 GB, free: 215 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.001141/3.327, allocations: 491.8 kB / 1.713 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003275/3.33, allocations: 2.205 MB / 1.715 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/3.33, allocations: 2.938 kB / 1.715 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/3.331, allocations: 496.2 kB / 1.715 GB, free: 214 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/3.335, allocations: 0.6329 MB / 1.716 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/3.34, allocations: 2.94 MB / 1.719 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/3.341, allocations: 1.693 MB / 1.72 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003129/3.344, allocations: 1.15 MB / 1.721 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/3.344, allocations: 99.69 kB / 1.722 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.482e-06/3.344, allocations: 0 / 1.722 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04011/3.385, allocations: 27.76 MB / 1.749 GB, free: 183.9 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