Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001397/0.001397, allocations: 195.4 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 482.4 MB / 0.7543 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.69 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 162.2 MB / 1.082 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05162/0.3881, allocations: 48.97 MB / 1.13 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.4082, allocations: 13.72 MB / 1.143 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.4112, allocations: 63.62 kB / 1.143 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.4138, allocations: 0.6837 MB / 1.144 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.4205, allocations: 2.087 MB / 1.146 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.4239, allocations: 1.204 MB / 1.147 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02025/0.4442, allocations: 19.72 MB / 1.166 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/0.4567, allocations: 9.817 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01516/0.4719, allocations: 6.767 MB / 1.182 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00965/0.4815, allocations: 5.864 MB / 1.188 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/0.4835, allocations: 0.8398 MB / 1.189 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.4887, allocations: 1.612 MB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.4912, allocations: 2.088 MB / 1.193 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.008351/0.4995, allocations: 4.295 MB / 1.197 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.5132, allocations: 11.94 MB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5132, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5132, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000351/0.5136, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.9669 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.02022/0.5338, allocations: 7.713 MB / 1.216 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.5339, allocations: 12.03 kB / 1.216 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.5373, allocations: 0.7891 MB / 1.217 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.5507, allocations: 6.255 MB / 1.223 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.5511, allocations: 415.4 kB / 1.223 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.5528, allocations: 0.5467 MB / 1.224 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.5704, allocations: 8.072 MB / 1.232 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.5706, allocations: 19.86 kB / 1.232 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006477/0.5712, allocations: 236 kB / 1.232 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.5714, allocations: 160 kB / 1.232 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.5834, allocations: 6.528 MB / 1.238 GB, free: 12.43 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.6815/1.265, allocations: 31.15 MB / 1.269 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/1.27, allocations: 3.648 MB / 1.272 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/1.274, allocations: 2.812 MB / 1.275 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007876/1.275, allocations: 0.8246 MB / 1.276 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/1.275, allocations: 72.33 kB / 1.276 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 5.871e-06/1.275, allocations: 0 / 1.276 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01129/1.286, allocations: 5.763 MB / 1.282 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.286, allocations: 82.97 kB / 1.282 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009379/1.296, allocations: 5.029 MB / 1.287 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009499/1.297, allocations: 81.14 kB / 1.287 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/1.299, allocations: 2.869 MB / 1.289 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.301, allocations: 0.9335 MB / 1.29 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.302, allocations: 0.7159 MB / 1.291 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.302, allocations: 305.9 kB / 1.291 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/1.305, allocations: 1.675 MB / 1.293 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/1.308, allocations: 2.932 MB / 1.296 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/1.314, allocations: 4.963 MB / 1.301 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/1.314, allocations: 10.78 kB / 1.301 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008803/1.323, allocations: 5.443 MB / 1.306 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/1.323, allocations: 23.09 kB / 1.306 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-05/1.323, allocations: 38.59 kB / 1.306 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/1.324, allocations: 423.2 kB / 1.307 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.326, allocations: 0.8622 MB / 1.307 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/1.331, allocations: 5.705 MB / 1.313 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.336, allocations: 0.6442 MB / 1.314 GB, free: 117.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.336, allocations: 178 kB / 1.314 GB, free: 117.5 MB / 0.9981 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.003264/1.339, allocations: 2.281 MB / 1.316 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.34, allocations: 486.5 kB / 1.316 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/1.346, allocations: 4.193 MB / 1.321 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.346, allocations: 27.8 kB / 1.321 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.346, allocations: 11.69 kB / 1.321 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003875/1.35, allocations: 3.635 MB / 1.324 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.364, allocations: 10.2 MB / 1.334 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.364, allocations: 4 kB / 1.334 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.366, allocations: 0.4996 MB / 1.335 GB, free: 103.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/1.367, allocations: 377.3 kB / 1.335 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/1.367, allocations: 79.95 kB / 1.335 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/1.371, allocations: 5.646 MB / 1.34 GB, free: 97.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.371, allocations: 7.938 kB / 1.341 GB, free: 97.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/1.379, allocations: 6.235 MB / 1.347 GB, free: 90.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003475/1.382, allocations: 1.08 MB / 1.348 GB, free: 89.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009454/1.383, allocations: 59.98 kB / 1.348 GB, free: 89.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.386, allocations: 340 kB / 1.348 GB, free: 89.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.387, allocations: 169.6 kB / 1.348 GB, free: 89.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.387, allocations: 131.9 kB / 1.348 GB, free: 89.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004249/1.391, allocations: 3.679 MB / 1.352 GB, free: 85.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/1.391, allocations: 4 kB / 1.352 GB, free: 85.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004918/1.396, allocations: 1.792 MB / 1.354 GB, free: 83.71 MB / 0.9981 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.00101/1.397, allocations: 480.6 kB / 1.354 GB, free: 83.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.409, allocations: 8.063 MB / 1.362 GB, free: 75.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.409, allocations: 7.781 kB / 1.362 GB, free: 75.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.411, allocations: 2.033 MB / 1.364 GB, free: 73.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/1.425, allocations: 3.475 MB / 1.367 GB, free: 69.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.442, allocations: 14.89 MB / 1.382 GB, free: 54.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.445, allocations: 4.311 MB / 1.386 GB, free: 50.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00641/1.451, allocations: 1.851 MB / 1.388 GB, free: 48.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.453, allocations: 407.3 kB / 1.388 GB, free: 48.23 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.453, allocations: 0 / 1.388 GB, free: 48.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.1748/1.627, allocations: 114.7 MB / 1.5 GB, free: 14.64 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches