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.001364/0.001364, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.36 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05133/0.4169, allocations: 49.32 MB / 1.116 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02018/0.4372, allocations: 13.82 MB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/0.4406, allocations: 67.62 kB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.4431, allocations: 0.8071 MB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.45, allocations: 2.25 MB / 1.133 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4535, allocations: 1.307 MB / 1.134 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.4723, allocations: 19.59 MB / 1.153 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.4858, allocations: 9.895 MB / 1.163 GB, free: 9.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/0.5008, allocations: 6.491 MB / 1.169 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.5126, allocations: 5.751 MB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.003367/0.516, allocations: 0.8438 MB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007687/0.5237, allocations: 1.608 MB / 1.177 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003669/0.5274, allocations: 2.123 MB / 1.179 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01025/0.5377, allocations: 4.287 MB / 1.184 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.5559, allocations: 11.92 MB / 1.195 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.5559, allocations: 4 kB / 1.195 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5559, allocations: 0 / 1.195 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005048/0.5564, allocations: 0 / 1.195 GB, free: 7.922 MB / 0.9512 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.02213/0.5786, allocations: 7.733 MB / 1.203 GB, free: 112 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5786, allocations: 11.97 kB / 1.203 GB, free: 100 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.5824, allocations: 0.7813 MB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.5945, allocations: 6.052 MB / 1.209 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.5949, allocations: 411.4 kB / 1.21 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.5963, allocations: 0.5467 MB / 1.21 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.6114, allocations: 8.069 MB / 1.218 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.6116, allocations: 19.81 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/0.6122, allocations: 236 kB / 1.218 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.6124, allocations: 175.8 kB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.6238, allocations: 6.52 MB / 1.225 GB, free: 8.988 MB / 0.9825 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.7793/1.403, allocations: 31.44 MB / 1.256 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006438/1.41, allocations: 3.637 MB / 1.259 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/1.413, allocations: 2.809 MB / 1.262 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/1.414, allocations: 0.8355 MB / 1.263 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/1.414, allocations: 70.62 kB / 1.263 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.609e-06/1.414, allocations: 0 / 1.263 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01223/1.427, allocations: 5.762 MB / 1.269 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.427, allocations: 82.67 kB / 1.269 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/1.439, allocations: 5.235 MB / 1.274 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009288/1.44, allocations: 81.08 kB / 1.274 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002726/1.443, allocations: 2.867 MB / 1.277 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.444, allocations: 0.9375 MB / 1.278 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.446, allocations: 0.7127 MB / 1.278 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.446, allocations: 301.9 kB / 1.278 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.449, allocations: 1.674 MB / 1.28 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.453, allocations: 2.934 MB / 1.283 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00926/1.462, allocations: 4.966 MB / 1.288 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/1.462, allocations: 11.66 kB / 1.288 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0134/1.476, allocations: 5.439 MB / 1.293 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/1.476, allocations: 26.22 kB / 1.293 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.826e-05/1.476, allocations: 40.03 kB / 1.293 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.477, allocations: 425.1 kB / 1.294 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/1.48, allocations: 0.8554 MB / 1.294 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/1.485, allocations: 5.701 MB / 1.3 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/1.491, allocations: 0.5171 MB / 1.301 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/1.492, allocations: 181.5 kB / 1.301 GB, free: 135.6 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.004769/1.497, allocations: 2.298 MB / 1.303 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/1.498, allocations: 485.2 kB / 1.303 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/1.505, allocations: 4.172 MB / 1.307 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/1.505, allocations: 31.2 kB / 1.308 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.505, allocations: 14.56 kB / 1.308 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004366/1.509, allocations: 3.622 MB / 1.311 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.529, allocations: 10.3 MB / 1.321 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.529, allocations: 3.719 kB / 1.321 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1.531, allocations: 0.4953 MB / 1.322 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000856/1.531, allocations: 379.5 kB / 1.322 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/1.532, allocations: 75.97 kB / 1.322 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.536, allocations: 5.653 MB / 1.328 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.536, allocations: 10.27 kB / 1.328 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009657/1.546, allocations: 6.246 MB / 1.334 GB, free: 111 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/1.55, allocations: 1.092 MB / 1.335 GB, free: 109.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001711/1.551, allocations: 59.98 kB / 1.335 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.555, allocations: 179.5 kB / 1.335 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/1.555, allocations: 177.6 kB / 1.335 GB, free: 109.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/1.555, allocations: 127.9 kB / 1.335 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005441/1.561, allocations: 3.831 MB / 1.339 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.561, allocations: 4 kB / 1.339 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007691/1.569, allocations: 1.803 MB / 1.341 GB, free: 103.8 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.00151/1.57, allocations: 498.6 kB / 1.341 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.583, allocations: 8.062 MB / 1.349 GB, free: 95.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/1.583, allocations: 7.781 kB / 1.349 GB, free: 95.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/1.586, allocations: 2.035 MB / 1.351 GB, free: 93.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01586/1.602, allocations: 3.48 MB / 1.355 GB, free: 89.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.621, allocations: 12.62 MB / 1.367 GB, free: 77.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/1.624, allocations: 4.307 MB / 1.371 GB, free: 72.87 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006058/1.63, allocations: 1.853 MB / 1.373 GB, free: 71.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.632, allocations: 419.2 kB / 1.373 GB, free: 70.62 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.632, allocations: 0 / 1.373 GB, free: 70.62 MB / 0.9981 GB Notification: Performance of Templates: time 0.1804/1.812, allocations: 117 MB / 1.488 GB, free: 2.727 MB / 1.045 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=480 -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