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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 112.6 kB / 16.42 MB, free: 6.449 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.0011/0.0011, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.355/1.355, 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 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8057, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02988/0.8356, allocations: 28.59 MB / 1.117 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.848, allocations: 7.908 MB / 1.124 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.8498, allocations: 34.75 kB / 1.124 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.8512, allocations: 418.4 kB / 1.125 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.8547, allocations: 1.059 MB / 1.126 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.858, allocations: 1.077 MB / 1.127 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00675/0.8648, allocations: 4.928 MB / 1.132 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/0.8685, allocations: 2.295 MB / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/0.8733, allocations: 1.824 MB / 1.136 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.8765, allocations: 1.45 MB / 1.137 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.8776, allocations: 229.6 kB / 1.137 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004428/0.882, allocations: 1.317 MB / 1.139 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.8833, allocations: 0.5526 MB / 1.139 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003376/0.8867, allocations: 1.159 MB / 1.14 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.8946, allocations: 3.682 MB / 1.144 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8946, allocations: 4.75 kB / 1.144 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.777e-06/0.8946, allocations: 1.094 kB / 1.144 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001616/0.8948, allocations: 3.938 kB / 1.144 GB, free: 2.414 MB / 0.8887 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.008874/0.9037, allocations: 2.565 MB / 1.146 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.9037, allocations: 8.688 kB / 1.146 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.9053, allocations: 234.9 kB / 1.147 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.9098, allocations: 1.796 MB / 1.148 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.91, allocations: 111.5 kB / 1.148 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/0.9106, allocations: 151.9 kB / 1.149 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/0.9157, allocations: 2 MB / 1.15 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.9158, allocations: 7.234 kB / 1.151 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.916, allocations: 60.72 kB / 1.151 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.9161, allocations: 37.81 kB / 1.151 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.9199, allocations: 1.799 MB / 1.152 GB, free: 14.36 MB / 0.9044 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.01452/0.9345, allocations: 7.599 MB / 1.16 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.9367, allocations: 1.449 MB / 1.161 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.9378, allocations: 0.6684 MB / 1.162 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008248/0.946, allocations: 3.845 MB / 1.166 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.9461, allocations: 44.88 kB / 1.166 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.945e-06/0.9461, allocations: 0 / 1.166 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.003152/0.9493, allocations: 1.509 MB / 1.167 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.9493, allocations: 60.66 kB / 1.167 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.9525, allocations: 1.648 MB / 1.169 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.9528, allocations: 48.27 kB / 1.169 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.9536, allocations: 0.7619 MB / 1.17 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.954, allocations: 315.5 kB / 1.17 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005818/0.9546, allocations: 293.6 kB / 1.17 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.9548, allocations: 367.5 kB / 1.171 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.956, allocations: 0.6937 MB / 1.171 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.9575, allocations: 1.017 MB / 1.172 GB, free: 368 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.9599, allocations: 1.619 MB / 1.174 GB, free: 15.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.9599, allocations: 2.156 kB / 1.174 GB, free: 15.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003705/0.9636, allocations: 1.959 MB / 1.176 GB, free: 14.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.9636, allocations: 8.219 kB / 1.176 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.9637, allocations: 9.156 kB / 1.176 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/0.9637, allocations: 15.59 kB / 1.176 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.9651, allocations: 336.3 kB / 1.176 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-05/0.9651, allocations: 23.72 kB / 1.176 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.967, allocations: 199.3 kB / 1.176 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.9672, allocations: 57.64 kB / 1.176 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002384/0.9696, allocations: 1.285 MB / 1.178 GB, free: 13.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001461/0.9711, allocations: 1.016 MB / 1.179 GB, free: 12.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002458/0.9735, allocations: 1.622 MB / 1.18 GB, free: 11.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.515e-05/0.9736, allocations: 11.25 kB / 1.18 GB, free: 11.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003747/0.9773, allocations: 1.946 MB / 1.182 GB, free: 10.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.9773, allocations: 8.469 kB / 1.182 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.9774, allocations: 8.875 kB / 1.182 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.9774, allocations: 16.12 kB / 1.182 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.9787, allocations: 331.2 kB / 1.182 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.464e-05/0.9787, allocations: 23.92 kB / 1.182 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.9803, allocations: 152.6 kB / 1.183 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.9805, allocations: 66.23 kB / 1.183 GB, free: 10.25 MB / 0.92 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.0004106/0.9809, allocations: 262.1 kB / 1.183 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.9815, allocations: 150.2 kB / 1.183 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.9839, allocations: 1.278 MB / 1.184 GB, free: 9.199 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/0.9854, allocations: 1.286 MB / 1.186 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9855, allocations: 0 / 1.186 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.9865, allocations: 396.8 kB / 1.186 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/0.987, allocations: 22.2 kB / 1.186 GB, free: 7.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.988, allocations: 46.11 kB / 1.186 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.9882, allocations: 50.39 kB / 1.186 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002222/0.9904, allocations: 1.247 MB / 1.187 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002846/0.9932, allocations: 2.025 MB / 1.189 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006878/0.9939, allocations: 0.527 MB / 1.19 GB, free: 5.066 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002043/0.996, allocations: 1.161 MB / 1.191 GB, free: 3.906 MB / 0.92 GB Notification: Performance of Backend: time 3.41e-07/0.996, allocations: 0 / 1.191 GB, free: 3.906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005505/1.002, allocations: 2.33 MB / 1.193 GB, free: 1.586 MB / 0.92 GB Notification: Performance of SimCode: time 0.008167/1.01, allocations: 4.362 MB / 1.197 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.06879/1.079, allocations: 42.44 MB / 1.239 GB, free: 3.125 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches