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.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 183.1 kB / 326.5 MB, free: 2.238 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.733/1.733, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008547/0.0008546, allocations: 100.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 12.72 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.021, allocations: 401.6 MB / 1.292 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.021, allocations: 102.4 kB / 1.292 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.221/2.242, allocations: 402.2 MB / 1.685 GB, free: 66.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.343e-06/2.242, allocations: 0 / 1.685 GB, free: 66.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002676/2.243, allocations: 47.98 kB / 1.685 GB, free: 66.03 MB / 0.8855 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.00623/2.249, allocations: 2.226 MB / 1.687 GB, free: 63.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/2.249, allocations: 12.02 kB / 1.687 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/2.25, allocations: 225.5 kB / 1.688 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/2.255, allocations: 2.068 MB / 1.69 GB, free: 61.39 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/2.255, allocations: 114.7 kB / 1.69 GB, free: 61.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/2.256, allocations: 151.9 kB / 1.69 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/2.259, allocations: 1.873 MB / 1.692 GB, free: 59.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-05/2.259, allocations: 8 kB / 1.692 GB, free: 59.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/2.259, allocations: 59.98 kB / 1.692 GB, free: 59.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/2.259, allocations: 36 kB / 1.692 GB, free: 59.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/2.262, allocations: 1.689 MB / 1.693 GB, free: 57.39 MB / 0.8855 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.01212/2.274, allocations: 7.515 MB / 1.701 GB, free: 49.58 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/2.276, allocations: 1.33 MB / 1.702 GB, free: 48.24 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006352/2.282, allocations: 3.741 MB / 1.706 GB, free: 44.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/2.282, allocations: 51.55 kB / 1.706 GB, free: 44.14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 2.735e-06/2.282, allocations: 0 / 1.706 GB, free: 44.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.002311/2.285, allocations: 1.455 MB / 1.707 GB, free: 42.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/2.285, allocations: 64.34 kB / 1.707 GB, free: 42.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/2.287, allocations: 1.504 MB / 1.709 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/2.287, allocations: 49.7 kB / 1.709 GB, free: 41.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/2.288, allocations: 0.765 MB / 1.71 GB, free: 40.26 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/2.288, allocations: 307.6 kB / 1.71 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/2.288, allocations: 24 kB / 1.71 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001064/2.288, allocations: 369.9 kB / 1.71 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/2.289, allocations: 0.6636 MB / 1.711 GB, free: 38.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/2.29, allocations: 1.015 MB / 1.712 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/2.292, allocations: 0.8611 MB / 1.713 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/2.292, allocations: 4 kB / 1.713 GB, free: 36.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002787/2.294, allocations: 1.928 MB / 1.715 GB, free: 34.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006399/2.295, allocations: 3.519 MB / 1.718 GB, free: 31.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/2.295, allocations: 8 kB / 1.718 GB, free: 31.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.788e-05/2.295, allocations: 16 kB / 1.718 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.296, allocations: 355.4 kB / 1.718 GB, free: 30.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/2.296, allocations: 23.92 kB / 1.718 GB, free: 30.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/2.298, allocations: 225.9 kB / 1.719 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/2.298, allocations: 63.98 kB / 1.719 GB, free: 30.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/2.298, allocations: 4 kB / 1.719 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/2.301, allocations: 1.768 MB / 1.72 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/2.301, allocations: 8 kB / 1.72 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/2.301, allocations: 16 kB / 1.72 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/2.302, allocations: 356.2 kB / 1.721 GB, free: 28.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/2.302, allocations: 27.94 kB / 1.721 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/2.304, allocations: 182.6 kB / 1.721 GB, free: 28.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/2.304, allocations: 67.97 kB / 1.721 GB, free: 28.09 MB / 0.8855 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.00135/2.305, allocations: 0.7541 MB / 1.722 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/2.306, allocations: 150.1 kB / 1.722 GB, free: 27.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/2.308, allocations: 1.211 MB / 1.723 GB, free: 25.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/2.308, allocations: 8 kB / 1.723 GB, free: 25.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/2.308, allocations: 0 / 1.723 GB, free: 25.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/2.309, allocations: 1.253 MB / 1.724 GB, free: 24.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/2.314, allocations: 2.868 MB / 1.727 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/2.314, allocations: 8.094 kB / 1.727 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/2.315, allocations: 179.8 kB / 1.727 GB, free: 21.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/2.315, allocations: 4 kB / 1.727 GB, free: 21.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/2.315, allocations: 23.98 kB / 1.727 GB, free: 21.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/2.315, allocations: 7.938 kB / 1.727 GB, free: 21.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/2.315, allocations: 0 / 1.727 GB, free: 21.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/2.318, allocations: 1.905 MB / 1.729 GB, free: 19.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/2.319, allocations: 418.8 kB / 1.73 GB, free: 19.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/2.319, allocations: 23.95 kB / 1.73 GB, free: 19.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/2.32, allocations: 75.77 kB / 1.73 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/2.32, allocations: 56.86 kB / 1.73 GB, free: 18.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/2.32, allocations: 28.11 kB / 1.73 GB, free: 18.87 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001881/2.322, allocations: 1.257 MB / 1.731 GB, free: 17.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/2.322, allocations: 0 / 1.731 GB, free: 17.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003585/2.326, allocations: 0.9551 MB / 1.732 GB, free: 16.66 MB / 0.8855 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.001291/2.327, allocations: 500 kB / 1.732 GB, free: 16.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003563/2.331, allocations: 2.298 MB / 1.735 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.331, allocations: 64 / 1.735 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/2.331, allocations: 0.5053 MB / 1.735 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/2.336, allocations: 0.8396 MB / 1.736 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/2.342, allocations: 4.287 MB / 1.74 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/2.344, allocations: 1.684 MB / 1.742 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003013/2.347, allocations: 0.9071 MB / 1.743 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/2.347, allocations: 135.4 kB / 1.743 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/2.347, allocations: 0 / 1.743 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of Templates: time 0.5065/2.854, allocations: 34.39 MB / 1.776 GB, free: 228.6 MB / 0.8855 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