Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 110.2 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8893, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03077/0.9202, allocations: 28.6 MB / 1.195 GB, free: 7.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.9312, allocations: 7.892 MB / 1.203 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.9325, allocations: 43.75 kB / 1.203 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.9338, allocations: 417.2 kB / 1.203 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.9374, allocations: 1.066 MB / 1.204 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.9405, allocations: 1.088 MB / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006954/0.9475, allocations: 4.919 MB / 1.21 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.9511, allocations: 2.296 MB / 1.213 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.9555, allocations: 1.816 MB / 1.214 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.9583, allocations: 1.459 MB / 1.216 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007373/0.959, allocations: 228 kB / 1.216 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.9626, allocations: 1.318 MB / 1.217 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009814/0.9636, allocations: 0.5492 MB / 1.218 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.9663, allocations: 1.167 MB / 1.219 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.9713, allocations: 3.679 MB / 1.222 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9713, allocations: 0 / 1.222 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9713, allocations: 7.984 kB / 1.222 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.561e-05/0.9714, allocations: 0 / 1.222 GB, free: 11.12 MB / 0.9512 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.005318/0.9767, allocations: 2.557 MB / 1.225 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9768, allocations: 8.625 kB / 1.225 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/0.9776, allocations: 234.5 kB / 1.225 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.9808, allocations: 1.798 MB / 1.227 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.9809, allocations: 118.7 kB / 1.227 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.9812, allocations: 152 kB / 1.227 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.9845, allocations: 1.994 MB / 1.229 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.9845, allocations: 7.938 kB / 1.229 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.9846, allocations: 56 kB / 1.229 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.9847, allocations: 40 kB / 1.229 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.9873, allocations: 1.798 MB / 1.231 GB, free: 2.188 MB / 0.9512 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.01201/0.9994, allocations: 7.606 MB / 1.238 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.001, allocations: 1.44 MB / 1.24 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.002, allocations: 0.6642 MB / 1.241 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006941/1.009, allocations: 3.85 MB / 1.244 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.009, allocations: 44.77 kB / 1.244 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=88): time 2.675e-06/1.009, allocations: 0 / 1.244 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88): time 0.002544/1.012, allocations: 1.514 MB / 1.246 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.012, allocations: 64.34 kB / 1.246 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/1.014, allocations: 1.645 MB / 1.247 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/1.014, allocations: 49.7 kB / 1.248 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/1.015, allocations: 0.7615 MB / 1.248 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/1.015, allocations: 311.5 kB / 1.249 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/1.016, allocations: 287.4 kB / 1.249 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.016, allocations: 365.9 kB / 1.249 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/1.017, allocations: 0.6917 MB / 1.25 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.018, allocations: 1.028 MB / 1.251 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/1.02, allocations: 1.616 MB / 1.252 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.02, allocations: 11.88 kB / 1.252 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003059/1.023, allocations: 1.955 MB / 1.254 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.023, allocations: 8 kB / 1.254 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.023, allocations: 11.94 kB / 1.254 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.023, allocations: 19.98 kB / 1.254 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.025, allocations: 327.5 kB / 1.255 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/1.025, allocations: 24.48 kB / 1.255 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.026, allocations: 202.1 kB / 1.255 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.026, allocations: 63.98 kB / 1.255 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001865/1.028, allocations: 1.28 MB / 1.256 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/1.029, allocations: 1.016 MB / 1.257 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002015/1.031, allocations: 1.62 MB / 1.259 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/1.031, allocations: 4 kB / 1.259 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002914/1.034, allocations: 1.948 MB / 1.261 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.034, allocations: 12 kB / 1.261 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.034, allocations: 8 kB / 1.261 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.034, allocations: 16 kB / 1.261 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.035, allocations: 331.5 kB / 1.261 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/1.035, allocations: 24.05 kB / 1.261 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.036, allocations: 150.9 kB / 1.261 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/1.036, allocations: 63.98 kB / 1.261 GB, free: 1.945 MB / 0.9825 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003133/1.037, allocations: 263.9 kB / 1.262 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/1.037, allocations: 150.1 kB / 1.262 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/1.039, allocations: 1.286 MB / 1.263 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.039, allocations: 8 kB / 1.263 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.039, allocations: 0 / 1.263 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/1.041, allocations: 1.284 MB / 1.264 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/1.045, allocations: 2.967 MB / 1.267 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.045, allocations: 0 / 1.267 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/1.046, allocations: 179.8 kB / 1.267 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.046, allocations: 4 kB / 1.267 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.046, allocations: 23.98 kB / 1.267 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.046, allocations: 12.12 kB / 1.267 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.046, allocations: 3.938 kB / 1.267 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/1.049, allocations: 1.917 MB / 1.269 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008036/1.049, allocations: 402.8 kB / 1.27 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.05, allocations: 23.94 kB / 1.27 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/1.051, allocations: 47.94 kB / 1.27 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.051, allocations: 64.8 kB / 1.27 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/1.051, allocations: 35.98 kB / 1.27 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001837/1.053, allocations: 1.23 MB / 1.271 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.053, allocations: 0 / 1.271 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002551/1.055, allocations: 0.9202 MB / 1.272 GB, free: 6.918 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008184/1.056, allocations: 368.3 kB / 1.272 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003369/1.059, allocations: 2.336 MB / 1.274 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.059, allocations: 0 / 1.274 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000678/1.06, allocations: 0.5214 MB / 1.275 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.064, allocations: 0.9212 MB / 1.276 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/1.069, allocations: 3.637 MB / 1.279 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.07, allocations: 1.638 MB / 1.281 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/1.07, allocations: 143.4 kB / 1.281 GB, free: 13.31 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/1.07, allocations: 3.938 kB / 1.281 GB, free: 13.31 MB / 1.014 GB Notification: Performance of Templates: time 0.04714/1.118, allocations: 32.83 MB / 1.313 GB, free: 12.66 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches