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.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.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.001204/0.001204, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.00105/0.00105, allocations: 188.1 kB / 17.34 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.387/1.387, 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.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9098, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05262/0.9624, allocations: 49.29 MB / 1.137 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.9887, allocations: 13.82 MB / 1.15 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004783/0.9936, allocations: 67.78 kB / 1.15 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.9973, allocations: 0.826 MB / 1.151 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009457/1.007, allocations: 2.361 MB / 1.153 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/1.012, allocations: 1.31 MB / 1.155 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03314/1.045, allocations: 19.64 MB / 1.174 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01795/1.063, allocations: 9.902 MB / 1.184 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/1.08, allocations: 6.59 MB / 1.19 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/1.094, allocations: 5.751 MB / 1.196 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.003581/1.097, allocations: 0.8477 MB / 1.196 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008767/1.106, allocations: 1.608 MB / 1.198 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005012/1.111, allocations: 2.123 MB / 1.2 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01155/1.123, allocations: 4.291 MB / 1.204 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/1.143, allocations: 12.05 MB / 1.216 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.143, allocations: 0 / 1.216 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/1.143, allocations: 0 / 1.216 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004998/1.143, allocations: 0 / 1.216 GB, free: 11.39 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.02517/1.168, allocations: 7.733 MB / 1.224 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.168, allocations: 12.03 kB / 1.224 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/1.173, allocations: 0.7814 MB / 1.224 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.187, allocations: 6.311 MB / 1.231 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.187, allocations: 411.4 kB / 1.231 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/1.189, allocations: 0.5467 MB / 1.231 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/1.208, allocations: 8.068 MB / 1.239 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/1.208, allocations: 15.88 kB / 1.239 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007834/1.209, allocations: 236 kB / 1.24 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/1.209, allocations: 171.9 kB / 1.24 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/1.223, allocations: 6.524 MB / 1.246 GB, free: 12.2 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.04876/1.272, allocations: 31.21 MB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/1.279, allocations: 3.644 MB / 1.28 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/1.284, allocations: 2.792 MB / 1.283 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.285, allocations: 0.8319 MB / 1.284 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/1.285, allocations: 72.67 kB / 1.284 GB, free: 3.641 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 8.035e-06/1.285, allocations: 0 / 1.284 GB, free: 3.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01352/1.299, allocations: 5.763 MB / 1.289 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.299, allocations: 77.52 kB / 1.289 GB, free: 13.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.31, allocations: 5.227 MB / 1.295 GB, free: 8.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007694/1.31, allocations: 81.7 kB / 1.295 GB, free: 8.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.003246/1.314, allocations: 2.868 MB / 1.297 GB, free: 5.477 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.315, allocations: 0.9398 MB / 1.298 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/1.318, allocations: 0.7113 MB / 1.299 GB, free: 3.805 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.318, allocations: 305.1 kB / 1.299 GB, free: 3.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.321, allocations: 1.678 MB / 1.301 GB, free: 1.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004154/1.325, allocations: 2.932 MB / 1.304 GB, free: 14.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007794/1.333, allocations: 4.958 MB / 1.309 GB, free: 8.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.295e-05/1.333, allocations: 12 kB / 1.309 GB, free: 8.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01142/1.345, allocations: 5.441 MB / 1.314 GB, free: 3.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/1.345, allocations: 20 kB / 1.314 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.715e-05/1.345, allocations: 40.88 kB / 1.314 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.346, allocations: 417.3 kB / 1.314 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/1.349, allocations: 0.8618 MB / 1.315 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/1.356, allocations: 5.71 MB / 1.321 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/1.361, allocations: 0.5223 MB / 1.321 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/1.362, allocations: 180 kB / 1.322 GB, free: 11.25 MB / 1.061 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.005408/1.367, allocations: 2.284 MB / 1.324 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0023/1.37, allocations: 486.1 kB / 1.324 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009254/1.379, allocations: 4.186 MB / 1.328 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/1.379, allocations: 24 kB / 1.328 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.379, allocations: 8 kB / 1.328 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005908/1.385, allocations: 3.639 MB / 1.332 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/1.409, allocations: 10.26 MB / 1.342 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/1.41, allocations: 7.984 kB / 1.342 GB, free: 6.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/1.413, allocations: 0.4954 MB / 1.342 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/1.414, allocations: 371.1 kB / 1.343 GB, free: 5.148 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.415, allocations: 79.91 kB / 1.343 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008661/1.423, allocations: 5.648 MB / 1.348 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.424, allocations: 8 kB / 1.348 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/1.44, allocations: 6.25 MB / 1.354 GB, free: 8.711 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003802/1.444, allocations: 1.088 MB / 1.356 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001814/1.446, allocations: 67.92 kB / 1.356 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005494/1.451, allocations: 175.5 kB / 1.356 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008734/1.452, allocations: 177.6 kB / 1.356 GB, free: 7.188 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008084/1.453, allocations: 127.9 kB / 1.356 GB, free: 7.062 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01198/1.465, allocations: 3.835 MB / 1.36 GB, free: 3.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.01e-07/1.465, allocations: 0 / 1.36 GB, free: 3.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.01017/1.475, allocations: 1.8 MB / 1.362 GB, free: 1.438 MB / 1.092 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.002301/1.478, allocations: 488.6 kB / 1.362 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009776/1.488, allocations: 4.289 MB / 1.366 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.488, allocations: 4 kB / 1.366 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.491, allocations: 2.036 MB / 1.368 GB, free: 10.56 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/1.51, allocations: 3.458 MB / 1.372 GB, free: 7.199 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/1.538, allocations: 12.52 MB / 1.384 GB, free: 10.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006688/1.545, allocations: 4.235 MB / 1.388 GB, free: 6.324 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/1.547, allocations: 447.2 kB / 1.388 GB, free: 5.887 MB / 1.123 GB Notification: Performance of SimCode: time 1.372e-06/1.547, allocations: 0 / 1.388 GB, free: 5.887 MB / 1.123 GB Notification: Performance of Templates: time 0.2447/1.792, allocations: 174.3 MB / 1.559 GB, free: 7.895 MB / 1.295 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 -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