Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008725/0.008725, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.002503/0.002503, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 59.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4529, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03783/0.4908, allocations: 28.59 MB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.5045, allocations: 7.906 MB / 1.243 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.5066, allocations: 39.75 kB / 1.243 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.5084, allocations: 409.2 kB / 1.244 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.5124, allocations: 1.003 MB / 1.245 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.5162, allocations: 1.076 MB / 1.246 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8144/1.331, allocations: 4.922 MB / 1.251 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004722/1.335, allocations: 2.285 MB / 1.253 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006011/1.341, allocations: 1.817 MB / 1.255 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/1.345, allocations: 1.449 MB / 1.256 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004102/1.345, allocations: 230.8 kB / 1.256 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/1.349, allocations: 1.313 MB / 1.258 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005565/1.349, allocations: 0.5535 MB / 1.258 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/1.351, allocations: 1.162 MB / 1.259 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006759/1.358, allocations: 3.683 MB / 1.263 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.358, allocations: 0.7969 kB / 1.263 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.013e-06/1.358, allocations: 0 / 1.263 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000112/1.358, allocations: 1.125 kB / 1.263 GB, free: 4.086 MB / 0.9981 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.007115/1.365, allocations: 2.552 MB / 1.265 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.365, allocations: 14.88 kB / 1.265 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/1.366, allocations: 237.7 kB / 1.266 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/1.37, allocations: 1.8 MB / 1.267 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.37, allocations: 114.3 kB / 1.267 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/1.371, allocations: 159.1 kB / 1.268 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/1.374, allocations: 1.99 MB / 1.27 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/1.374, allocations: 8.016 kB / 1.27 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/1.374, allocations: 60.27 kB / 1.27 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/1.375, allocations: 38.33 kB / 1.27 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/1.377, allocations: 1.801 MB / 1.271 GB, free: 2.25 MB / 0.9981 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.012/1.389, allocations: 7.596 MB / 1.279 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/1.392, allocations: 1.447 MB / 1.28 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/1.393, allocations: 0.6649 MB / 1.281 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00716/1.4, allocations: 3.849 MB / 1.285 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/1.4, allocations: 48.58 kB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/1.4, allocations: 0 / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.002683/1.403, allocations: 1.509 MB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.403, allocations: 63.81 kB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/1.405, allocations: 1.649 MB / 1.288 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.405, allocations: 48.92 kB / 1.288 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/1.406, allocations: 0.7585 MB / 1.289 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/1.406, allocations: 311.5 kB / 1.289 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/1.407, allocations: 295.6 kB / 1.289 GB, free: 12.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.407, allocations: 361 kB / 1.29 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.408, allocations: 0.694 MB / 1.29 GB, free: 12.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.409, allocations: 1.016 MB / 1.291 GB, free: 11.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/1.412, allocations: 1.625 MB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.412, allocations: 6.438 kB / 1.293 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003653/1.416, allocations: 1.953 MB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/1.416, allocations: 9.406 kB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/1.416, allocations: 10.64 kB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/1.416, allocations: 19.69 kB / 1.295 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.417, allocations: 335.8 kB / 1.295 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/1.417, allocations: 20.27 kB / 1.295 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.419, allocations: 203.2 kB / 1.295 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/1.419, allocations: 57.83 kB / 1.295 GB, free: 9.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002457/1.421, allocations: 1.283 MB / 1.297 GB, free: 9.477 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001503/1.423, allocations: 1.029 MB / 1.298 GB, free: 8.871 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002347/1.425, allocations: 1.62 MB / 1.299 GB, free: 8.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.333e-06/1.425, allocations: 3.281 kB / 1.299 GB, free: 8.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003687/1.429, allocations: 1.945 MB / 1.301 GB, free: 7.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.429, allocations: 12.38 kB / 1.301 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.429, allocations: 9.797 kB / 1.301 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.429, allocations: 17 kB / 1.301 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.43, allocations: 332.2 kB / 1.301 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/1.43, allocations: 22.88 kB / 1.301 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/1.432, allocations: 158.1 kB / 1.302 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.432, allocations: 61.64 kB / 1.302 GB, free: 7.254 MB / 1.014 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.0005739/1.432, allocations: 255.3 kB / 1.302 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/1.433, allocations: 156 kB / 1.302 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/1.436, allocations: 1.278 MB / 1.303 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/1.436, allocations: 14.94 kB / 1.303 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.436, allocations: 0 / 1.303 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/1.437, allocations: 1.284 MB / 1.305 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/1.443, allocations: 2.95 MB / 1.307 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.443, allocations: 1.641 kB / 1.307 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/1.443, allocations: 192.6 kB / 1.308 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.443, allocations: 5.047 kB / 1.308 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/1.444, allocations: 23.44 kB / 1.308 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/1.444, allocations: 5.766 kB / 1.308 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.444, allocations: 1.094 kB / 1.308 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.446, allocations: 1.92 MB / 1.31 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/1.447, allocations: 401.7 kB / 1.31 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/1.448, allocations: 22.69 kB / 1.31 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/1.448, allocations: 52.45 kB / 1.31 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.449, allocations: 61.64 kB / 1.31 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/1.449, allocations: 34.22 kB / 1.31 GB, free: 3.297 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001843/1.45, allocations: 1.239 MB / 1.311 GB, free: 2.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.45, allocations: 0 / 1.311 GB, free: 2.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003022/1.454, allocations: 0.9196 MB / 1.312 GB, free: 2.672 MB / 1.014 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.0009446/1.454, allocations: 368.1 kB / 1.313 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.458, allocations: 2.332 MB / 1.315 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.458, allocations: 4.25 kB / 1.315 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/1.459, allocations: 0.5214 MB / 1.315 GB, free: 1.707 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/1.463, allocations: 0.9126 MB / 1.316 GB, free: 1.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/1.469, allocations: 3.684 MB / 1.32 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.471, allocations: 1.677 MB / 1.321 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003124/1.474, allocations: 0.926 MB / 1.322 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/1.474, allocations: 134.5 kB / 1.322 GB, free: 14.53 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.474, allocations: 0 / 1.322 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Templates: time 0.06302/1.537, allocations: 36.53 MB / 1.358 GB, free: 2.883 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches