Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009993/0.009993, allocations: 100 kB / 15.73 MB, free: 6.062 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.001865/0.001865, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02937/1.055, allocations: 28.64 MB / 1.249 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01253/1.067, allocations: 7.93 MB / 1.256 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.069, allocations: 31.81 kB / 1.256 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/1.071, allocations: 429.2 kB / 1.257 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/1.074, allocations: 1.065 MB / 1.258 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/1.077, allocations: 1.082 MB / 1.259 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006745/1.084, allocations: 4.915 MB / 1.264 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/1.087, allocations: 1.941 MB / 1.266 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/1.092, allocations: 1.82 MB / 1.267 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/1.095, allocations: 1.451 MB / 1.269 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008923/1.096, allocations: 232 kB / 1.269 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/1.1, allocations: 1.314 MB / 1.27 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.101, allocations: 0.5723 MB / 1.271 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/1.104, allocations: 1.159 MB / 1.272 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007592/1.112, allocations: 3.692 MB / 1.276 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.112, allocations: 0 / 1.276 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.817e-06/1.112, allocations: 4 kB / 1.276 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001849/1.112, allocations: 0 / 1.276 GB, free: 9.652 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.007884/1.12, allocations: 2.633 MB / 1.278 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.12, allocations: 8.031 kB / 1.278 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/1.121, allocations: 243.6 kB / 1.278 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/1.124, allocations: 1.798 MB / 1.28 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/1.124, allocations: 118.7 kB / 1.28 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/1.124, allocations: 156 kB / 1.28 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/1.128, allocations: 2.001 MB / 1.282 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/1.128, allocations: 3.984 kB / 1.282 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.128, allocations: 60 kB / 1.282 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/1.128, allocations: 40 kB / 1.282 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.131, allocations: 1.798 MB / 1.284 GB, free: 0.6211 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.01158/1.142, allocations: 7.608 MB / 1.292 GB, free: 8.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/1.144, allocations: 1.382 MB / 1.293 GB, free: 7.305 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/1.145, allocations: 0.625 MB / 1.294 GB, free: 6.676 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006304/1.151, allocations: 3.867 MB / 1.297 GB, free: 2.492 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.151, allocations: 39.56 kB / 1.297 GB, free: 2.445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.965e-06/1.151, allocations: 0 / 1.297 GB, free: 2.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.002472/1.154, allocations: 1.518 MB / 1.299 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.154, allocations: 68.39 kB / 1.299 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.156, allocations: 1.645 MB / 1.301 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/1.156, allocations: 49.7 kB / 1.301 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006448/1.157, allocations: 0.7748 MB / 1.301 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/1.157, allocations: 329.2 kB / 1.302 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/1.158, allocations: 295.5 kB / 1.302 GB, free: 13.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.158, allocations: 361.9 kB / 1.302 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/1.159, allocations: 0.6956 MB / 1.303 GB, free: 12.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/1.16, allocations: 1.028 MB / 1.304 GB, free: 11.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.162, allocations: 1.628 MB / 1.306 GB, free: 9.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.162, allocations: 3.938 kB / 1.306 GB, free: 9.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003138/1.165, allocations: 1.956 MB / 1.307 GB, free: 7.793 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.165, allocations: 8 kB / 1.307 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.165, allocations: 12 kB / 1.307 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/1.165, allocations: 12 kB / 1.307 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.166, allocations: 335.5 kB / 1.308 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.166, allocations: 15.94 kB / 1.308 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.168, allocations: 211.1 kB / 1.308 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.168, allocations: 59.98 kB / 1.308 GB, free: 7.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001931/1.17, allocations: 1.28 MB / 1.309 GB, free: 5.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001192/1.171, allocations: 1.02 MB / 1.31 GB, free: 4.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001989/1.173, allocations: 1.624 MB / 1.312 GB, free: 2.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/1.173, allocations: 0 / 1.312 GB, free: 2.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0031/1.176, allocations: 1.96 MB / 1.314 GB, free: 1.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.176, allocations: 9.562 kB / 1.314 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.176, allocations: 8 kB / 1.314 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.176, allocations: 16 kB / 1.314 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.177, allocations: 339.4 kB / 1.314 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/1.177, allocations: 19.94 kB / 1.314 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.179, allocations: 151.2 kB / 1.314 GB, free: 488 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.179, allocations: 59.98 kB / 1.314 GB, free: 428 kB / 1.029 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.0003994/1.179, allocations: 271.8 kB / 1.315 GB, free: 148 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.179, allocations: 159.2 kB / 1.315 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/1.181, allocations: 1.281 MB / 1.316 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.181, allocations: 8 kB / 1.316 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.181, allocations: 3.984 kB / 1.316 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/1.183, allocations: 1.288 MB / 1.317 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/1.187, allocations: 2.955 MB / 1.32 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.187, allocations: 0 / 1.32 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/1.188, allocations: 187.8 kB / 1.32 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/1.188, allocations: 4 kB / 1.32 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.641e-05/1.188, allocations: 27.98 kB / 1.32 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.188, allocations: 4.125 kB / 1.32 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.188, allocations: 15.81 kB / 1.32 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/1.191, allocations: 1.918 MB / 1.322 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/1.191, allocations: 403.7 kB / 1.323 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.192, allocations: 31.98 kB / 1.323 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/1.192, allocations: 47.95 kB / 1.323 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.192, allocations: 56.8 kB / 1.323 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/1.193, allocations: 43.91 kB / 1.323 GB, free: 7.504 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001915/1.194, allocations: 1.234 MB / 1.324 GB, free: 6.273 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/1.194, allocations: 0 / 1.324 GB, free: 6.273 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002586/1.197, allocations: 0.9242 MB / 1.325 GB, free: 5.348 MB / 1.045 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.0008814/1.198, allocations: 375.5 kB / 1.325 GB, free: 4.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003632/1.202, allocations: 2.223 MB / 1.328 GB, free: 2.766 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.202, allocations: 7.875 kB / 1.328 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/1.202, allocations: 0.4902 MB / 1.328 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.206, allocations: 0.9261 MB / 1.329 GB, free: 1.367 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/1.212, allocations: 3.708 MB / 1.333 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.214, allocations: 1.682 MB / 1.334 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003376/1.218, allocations: 0.9281 MB / 1.335 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/1.218, allocations: 135.3 kB / 1.335 GB, free: 10.86 MB / 1.061 GB Notification: Performance of SimCode: time 1.924e-06/1.218, allocations: 0 / 1.335 GB, free: 10.86 MB / 1.061 GB Notification: Performance of Templates: time 0.06691/1.285, allocations: 36.3 MB / 1.371 GB, free: 6.969 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches