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.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001202/0.001201, allocations: 173.1 kB / 498.1 MB, free: 5.758 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.593/1.593, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001163/0.001164, allocations: 96.31 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004224, allocations: 12.19 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.345, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.617, allocations: 421.1 MB / 1.634 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.617, allocations: 98.52 kB / 1.634 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/3.267, allocations: 424 MB / 2.048 GB, free: 268.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.094e-06/3.267, allocations: 0 / 2.048 GB, free: 268.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003347/3.267, allocations: 47.98 kB / 2.048 GB, free: 268.2 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008181/3.276, allocations: 2.248 MB / 2.051 GB, free: 265.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/3.276, allocations: 8.031 kB / 2.051 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/3.277, allocations: 229.5 kB / 2.051 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006094/3.284, allocations: 2.135 MB / 2.053 GB, free: 263.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/3.284, allocations: 114.7 kB / 2.053 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007401/3.285, allocations: 152.7 kB / 2.053 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/3.289, allocations: 1.885 MB / 2.055 GB, free: 261.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.618e-05/3.289, allocations: 15.8 kB / 2.055 GB, free: 261.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/3.29, allocations: 56 kB / 2.055 GB, free: 261.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/3.29, allocations: 39.98 kB / 2.055 GB, free: 261.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/3.293, allocations: 1.693 MB / 2.057 GB, free: 259.5 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.01363/3.307, allocations: 7.531 MB / 2.064 GB, free: 251.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/3.308, allocations: 1.335 MB / 2.065 GB, free: 250.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007013/3.315, allocations: 3.749 MB / 2.069 GB, free: 246.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/3.316, allocations: 51.5 kB / 2.069 GB, free: 246.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 4.689e-06/3.316, allocations: 0 / 2.069 GB, free: 246.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.002632/3.318, allocations: 1.459 MB / 2.071 GB, free: 244.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/3.318, allocations: 64.41 kB / 2.071 GB, free: 244.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/3.321, allocations: 1.521 MB / 2.072 GB, free: 243.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/3.322, allocations: 49.7 kB / 2.072 GB, free: 243.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000825/3.322, allocations: 0.773 MB / 2.073 GB, free: 242.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/3.323, allocations: 307.6 kB / 2.073 GB, free: 242 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/3.323, allocations: 28 kB / 2.073 GB, free: 242 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001372/3.323, allocations: 361.9 kB / 2.074 GB, free: 241.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/3.324, allocations: 0.6714 MB / 2.074 GB, free: 240.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/3.325, allocations: 1.014 MB / 2.075 GB, free: 239.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/3.326, allocations: 0.8611 MB / 2.076 GB, free: 238.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/3.326, allocations: 0 / 2.076 GB, free: 238.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003082/3.33, allocations: 1.921 MB / 2.078 GB, free: 237 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007342/3.33, allocations: 3.526 MB / 2.081 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.327e-05/3.33, allocations: 16 kB / 2.081 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.586e-05/3.33, allocations: 16 kB / 2.081 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/3.332, allocations: 351.4 kB / 2.082 GB, free: 232.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.812e-05/3.332, allocations: 23.89 kB / 2.082 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/3.334, allocations: 225.9 kB / 2.082 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/3.334, allocations: 63.98 kB / 2.082 GB, free: 232.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/3.334, allocations: 4 kB / 2.082 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002453/3.336, allocations: 1.776 MB / 2.084 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/3.336, allocations: 8 kB / 2.084 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/3.336, allocations: 16 kB / 2.084 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/3.338, allocations: 347.5 kB / 2.084 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/3.338, allocations: 23.92 kB / 2.084 GB, free: 230.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/3.339, allocations: 190.8 kB / 2.084 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/3.339, allocations: 63.98 kB / 2.084 GB, free: 230.1 MB / 1.167 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 () * Number of clocked 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.001318/3.341, allocations: 0.7617 MB / 2.085 GB, free: 229.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/3.341, allocations: 150.2 kB / 2.085 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/3.344, allocations: 1.212 MB / 2.086 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/3.344, allocations: 12 kB / 2.086 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/3.344, allocations: 4 kB / 2.086 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/3.345, allocations: 1.249 MB / 2.088 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/3.35, allocations: 2.888 MB / 2.09 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/3.35, allocations: 4 kB / 2.09 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/3.351, allocations: 183.7 kB / 2.091 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/3.351, allocations: 8.094 kB / 2.091 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/3.351, allocations: 23.98 kB / 2.091 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/3.351, allocations: 4 kB / 2.091 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.351, allocations: 4 kB / 2.091 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/3.354, allocations: 1.917 MB / 2.093 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/3.355, allocations: 426.8 kB / 2.093 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/3.356, allocations: 19.95 kB / 2.093 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/3.357, allocations: 71.78 kB / 2.093 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/3.357, allocations: 56.92 kB / 2.093 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/3.357, allocations: 31.97 kB / 2.093 GB, free: 220.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002321/3.36, allocations: 1.265 MB / 2.094 GB, free: 219.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/3.36, allocations: 7.938 kB / 2.094 GB, free: 219.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004379/3.364, allocations: 0.9552 MB / 2.095 GB, free: 218.6 MB / 1.167 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 () * Number of clocked 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.001678/3.366, allocations: 0.4983 MB / 2.096 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004502/3.37, allocations: 2.293 MB / 2.098 GB, free: 215.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/3.37, allocations: 0 / 2.098 GB, free: 215.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/3.371, allocations: 0.5098 MB / 2.099 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005607/3.377, allocations: 0.8477 MB / 2.099 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/3.386, allocations: 4.307 MB / 2.104 GB, free: 210.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/3.388, allocations: 1.709 MB / 2.105 GB, free: 208.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003651/3.392, allocations: 0.9145 MB / 2.106 GB, free: 207.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/3.392, allocations: 139.4 kB / 2.106 GB, free: 207.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.404e-06/3.392, allocations: 0 / 2.106 GB, free: 207.4 MB / 1.167 GB Notification: Performance of Templates: time 0.05963/3.452, allocations: 34.64 MB / 2.14 GB, free: 173.1 MB / 1.167 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