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.00172/0.00172, allocations: 111.2 kB / 16.81 MB, free: 5.77 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.001899/0.001899, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.421/1.421, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.833/2.833, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 68.5 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3083, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0327/0.341, allocations: 28.81 MB / 1.29 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.3533, allocations: 7.946 MB / 1.298 GB, free: 8.082 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.3546, allocations: 31.81 kB / 1.298 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.3558, allocations: 417.2 kB / 1.298 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.3586, allocations: 1.057 MB / 1.299 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.3615, allocations: 1.09 MB / 1.3 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005771/0.3672, allocations: 4.935 MB / 1.305 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.3699, allocations: 1.941 MB / 1.307 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.3737, allocations: 1.827 MB / 1.309 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.376, allocations: 1.517 MB / 1.31 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.3764, allocations: 232 kB / 1.311 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.3791, allocations: 1.322 MB / 1.312 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006635/0.3797, allocations: 0.5761 MB / 1.313 GB, free: 9.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.3813, allocations: 1.159 MB / 1.314 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.3862, allocations: 3.691 MB / 1.317 GB, free: 4.223 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3862, allocations: 0 / 1.317 GB, free: 4.223 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3862, allocations: 0 / 1.317 GB, free: 4.223 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.706e-05/0.3863, allocations: 3.938 kB / 1.317 GB, free: 4.219 MB / 1.029 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.005068/0.3913, allocations: 2.621 MB / 1.32 GB, free: 1.539 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3914, allocations: 12.03 kB / 1.32 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/0.3922, allocations: 239.6 kB / 1.32 GB, free: 1.293 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.3953, allocations: 1.809 MB / 1.322 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.3954, allocations: 122.7 kB / 1.322 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.3956, allocations: 152 kB / 1.322 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.3989, allocations: 1.997 MB / 1.324 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.3989, allocations: 4 kB / 1.324 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.3991, allocations: 56 kB / 1.324 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.3991, allocations: 43.98 kB / 1.324 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.4021, allocations: 1.794 MB / 1.326 GB, free: 11.2 MB / 1.045 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.01198/0.4141, allocations: 7.627 MB / 1.333 GB, free: 3.266 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.4161, allocations: 1.379 MB / 1.335 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009237/0.4171, allocations: 0.6211 MB / 1.335 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006848/0.4239, allocations: 3.858 MB / 1.339 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.424, allocations: 43.56 kB / 1.339 GB, free: 13.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.395e-06/0.424, allocations: 0 / 1.339 GB, free: 13.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.002691/0.4267, allocations: 1.518 MB / 1.341 GB, free: 11.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.4267, allocations: 60.41 kB / 1.341 GB, free: 11.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.429, allocations: 1.657 MB / 1.342 GB, free: 9.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4291, allocations: 45.7 kB / 1.342 GB, free: 9.703 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/0.4298, allocations: 0.7709 MB / 1.343 GB, free: 8.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4301, allocations: 329.2 kB / 1.343 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.4305, allocations: 295.5 kB / 1.344 GB, free: 8.305 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4307, allocations: 357.9 kB / 1.344 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4318, allocations: 0.6956 MB / 1.345 GB, free: 7.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.4331, allocations: 1.024 MB / 1.346 GB, free: 6.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.4353, allocations: 1.624 MB / 1.347 GB, free: 4.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4353, allocations: 4 kB / 1.347 GB, free: 4.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003249/0.4386, allocations: 1.956 MB / 1.349 GB, free: 2.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4386, allocations: 12 kB / 1.349 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.4386, allocations: 11.94 kB / 1.349 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.4387, allocations: 20.06 kB / 1.349 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4399, allocations: 335.5 kB / 1.35 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.44, allocations: 19.94 kB / 1.35 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4412, allocations: 202.6 kB / 1.35 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4413, allocations: 59.98 kB / 1.35 GB, free: 1.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001914/0.4432, allocations: 1.28 MB / 1.351 GB, free: 456 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/0.4445, allocations: 1.016 MB / 1.352 GB, free: 15.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00223/0.4468, allocations: 1.624 MB / 1.354 GB, free: 13.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/0.4468, allocations: 7.938 kB / 1.354 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003231/0.45, allocations: 1.956 MB / 1.356 GB, free: 11.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.45, allocations: 8 kB / 1.356 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.45, allocations: 12 kB / 1.356 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.45, allocations: 12.12 kB / 1.356 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.4513, allocations: 343.4 kB / 1.356 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.4513, allocations: 16.56 kB / 1.356 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4524, allocations: 167 kB / 1.356 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4526, allocations: 59.98 kB / 1.356 GB, free: 10.98 MB / 1.076 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.000336/0.4529, allocations: 263.8 kB / 1.356 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.4532, allocations: 155 kB / 1.357 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.4554, allocations: 1.282 MB / 1.358 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/0.457, allocations: 1.292 MB / 1.359 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.457, allocations: 0 / 1.359 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.4577, allocations: 395.8 kB / 1.359 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.4579, allocations: 19.98 kB / 1.359 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.4586, allocations: 43.95 kB / 1.359 GB, free: 7.418 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4587, allocations: 52.86 kB / 1.36 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002191/0.4609, allocations: 1.247 MB / 1.361 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002781/0.4637, allocations: 2.03 MB / 1.363 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006926/0.4643, allocations: 0.4958 MB / 1.363 GB, free: 3.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001735/0.4661, allocations: 1.161 MB / 1.364 GB, free: 2.414 MB / 1.076 GB Notification: Performance of Backend: time 2.2e-07/0.4661, allocations: 0 / 1.364 GB, free: 2.414 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004688/0.4708, allocations: 2.218 MB / 1.367 GB, free: 208 kB / 1.076 GB Notification: Performance of SimCode: time 0.007566/0.4783, allocations: 4.425 MB / 1.371 GB, free: 11.73 MB / 1.092 GB Notification: Performance of Templates: time 0.07325/0.5516, allocations: 43.12 MB / 1.413 GB, free: 0.9883 MB / 1.123 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=400 -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/jenkins1/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