Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001224/0.001224, allocations: 192 kB / 17.31 MB, free: 5.18 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 62.45 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04415/0.3111, allocations: 49.3 MB / 0.9993 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.329, allocations: 13.83 MB / 1.013 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.3317, allocations: 71.56 kB / 1.013 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.3343, allocations: 0.8032 MB / 1.014 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.3408, allocations: 2.25 MB / 1.016 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.3443, allocations: 1.317 MB / 1.017 GB, free: 4.273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0188/0.3631, allocations: 19.58 MB / 1.036 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.3747, allocations: 9.91 MB / 1.046 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.3876, allocations: 6.516 MB / 1.052 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009712/0.3973, allocations: 5.755 MB / 1.058 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.3999, allocations: 0.8438 MB / 1.059 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.4058, allocations: 1.608 MB / 1.06 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003824/0.4096, allocations: 2.115 MB / 1.062 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008914/0.4186, allocations: 4.291 MB / 1.067 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.4342, allocations: 12.05 MB / 1.078 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4343, allocations: 4 kB / 1.078 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.898e-06/0.4343, allocations: 0 / 1.078 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003994/0.4347, allocations: 3.938 kB / 1.078 GB, free: 5.371 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.5889/1.024, allocations: 7.717 MB / 1.086 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.024, allocations: 9.312 kB / 1.086 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/1.028, allocations: 0.7848 MB / 1.087 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/1.043, allocations: 6.297 MB / 1.093 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/1.043, allocations: 420.7 kB / 1.093 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.045, allocations: 0.5442 MB / 1.094 GB, free: 119.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/1.068, allocations: 8.061 MB / 1.102 GB, free: 116.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/1.068, allocations: 28.88 kB / 1.102 GB, free: 116.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.069, allocations: 238.8 kB / 1.102 GB, free: 116.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003239/1.07, allocations: 165.3 kB / 1.102 GB, free: 116.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/1.087, allocations: 6.522 MB / 1.108 GB, free: 114.3 MB / 0.8575 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.04921/1.136, allocations: 31.2 MB / 1.139 GB, free: 90.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/1.143, allocations: 3.647 MB / 1.142 GB, free: 88.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004678/1.148, allocations: 2.803 MB / 1.145 GB, free: 87.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/1.149, allocations: 0.8286 MB / 1.146 GB, free: 86.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.909e-05/1.149, allocations: 72.14 kB / 1.146 GB, free: 86.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=267): time 7.474e-06/1.149, allocations: 0 / 1.146 GB, free: 86.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=267): time 0.01152/1.16, allocations: 5.773 MB / 1.152 GB, free: 83.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.16, allocations: 79.7 kB / 1.152 GB, free: 83.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009404/1.17, allocations: 5.233 MB / 1.157 GB, free: 78.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000802/1.171, allocations: 77.7 kB / 1.157 GB, free: 78.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/1.173, allocations: 2.868 MB / 1.16 GB, free: 75.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.175, allocations: 0.9398 MB / 1.161 GB, free: 74.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/1.177, allocations: 0.7185 MB / 1.161 GB, free: 73.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/1.177, allocations: 301.1 kB / 1.162 GB, free: 73.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/1.179, allocations: 1.674 MB / 1.163 GB, free: 71.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.182, allocations: 2.932 MB / 1.166 GB, free: 68.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005802/1.188, allocations: 4.966 MB / 1.171 GB, free: 62.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-05/1.188, allocations: 12 kB / 1.171 GB, free: 62.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00937/1.198, allocations: 5.441 MB / 1.176 GB, free: 57.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/1.198, allocations: 24 kB / 1.176 GB, free: 57.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.531e-05/1.198, allocations: 41.17 kB / 1.176 GB, free: 57.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009365/1.199, allocations: 419 kB / 1.177 GB, free: 56.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.202, allocations: 0.858 MB / 1.178 GB, free: 55.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/1.206, allocations: 5.701 MB / 1.183 GB, free: 49.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004976/1.211, allocations: 0.5255 MB / 1.184 GB, free: 49.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/1.212, allocations: 180 kB / 1.184 GB, free: 49.19 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004461/1.216, allocations: 2.281 MB / 1.186 GB, free: 46.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/1.218, allocations: 490.1 kB / 1.187 GB, free: 46.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/1.226, allocations: 4.187 MB / 1.191 GB, free: 42.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/1.226, allocations: 28 kB / 1.191 GB, free: 42.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.226, allocations: 4 kB / 1.191 GB, free: 42.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004559/1.23, allocations: 3.628 MB / 1.194 GB, free: 38.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/1.251, allocations: 10.26 MB / 1.204 GB, free: 27.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.251, allocations: 12.09 kB / 1.204 GB, free: 27.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.253, allocations: 0.4993 MB / 1.205 GB, free: 27.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008043/1.254, allocations: 367.2 kB / 1.205 GB, free: 27.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/1.255, allocations: 79.95 kB / 1.205 GB, free: 27.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/1.259, allocations: 5.636 MB / 1.211 GB, free: 21.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.259, allocations: 12 kB / 1.211 GB, free: 21.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009925/1.269, allocations: 6.256 MB / 1.217 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003735/1.273, allocations: 1.1 MB / 1.218 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/1.275, allocations: 59.98 kB / 1.218 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/1.279, allocations: 179.1 kB / 1.218 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/1.279, allocations: 177.6 kB / 1.218 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004655/1.28, allocations: 127.9 kB / 1.218 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.007174/1.287, allocations: 3.843 MB / 1.222 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.4e-07/1.287, allocations: 0 / 1.222 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008085/1.295, allocations: 1.798 MB / 1.224 GB, free: 7.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/1.297, allocations: 490.4 kB / 1.224 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007454/1.304, allocations: 4.287 MB / 1.229 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.305, allocations: 0 / 1.229 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/1.308, allocations: 2.037 MB / 1.231 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/1.326, allocations: 3.464 MB / 1.234 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.352, allocations: 12.48 MB / 1.246 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006617/1.359, allocations: 4.311 MB / 1.25 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.007213/1.366, allocations: 1.852 MB / 1.252 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.368, allocations: 419.2 kB / 1.253 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/1.368, allocations: 0 / 1.253 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of Templates: time 0.1863/1.554, allocations: 111.8 MB / 1.362 GB, free: 11.32 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches