Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007377/0.007377, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001851/0.001851, allocations: 192 kB / 16.67 MB, free: 6.391 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.85/2.85, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3527, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04842/0.4012, allocations: 49.31 MB / 1.215 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02666/0.4279, allocations: 13.82 MB / 1.228 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005469/0.4334, allocations: 71.62 kB / 1.228 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.4373, allocations: 0.8227 MB / 1.229 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008445/0.4457, allocations: 2.352 MB / 1.231 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.4501, allocations: 1.317 MB / 1.233 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.9153/1.365, allocations: 19.61 MB / 1.252 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01823/1.384, allocations: 9.9 MB / 1.262 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/1.4, allocations: 6.6 MB / 1.268 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01343/1.414, allocations: 5.751 MB / 1.274 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004036/1.418, allocations: 0.8442 MB / 1.274 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009004/1.427, allocations: 1.604 MB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005374/1.432, allocations: 2.116 MB / 1.278 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01576/1.448, allocations: 4.297 MB / 1.282 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0236/1.471, allocations: 12.1 MB / 1.294 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.472, allocations: 2.047 kB / 1.294 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.472, allocations: 0 / 1.294 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005282/1.472, allocations: 0 / 1.294 GB, free: 2.172 MB / 0.9981 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.02829/1.5, allocations: 7.919 MB / 1.302 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/1.5, allocations: 8.938 kB / 1.302 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/1.507, allocations: 0.8197 MB / 1.303 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/1.527, allocations: 6.339 MB / 1.309 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005804/1.527, allocations: 419.2 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/1.531, allocations: 0.5452 MB / 1.31 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/1.558, allocations: 8.08 MB / 1.318 GB, free: 9.078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003847/1.558, allocations: 18.38 kB / 1.318 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003101/1.561, allocations: 232.8 kB / 1.318 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/1.561, allocations: 162 kB / 1.318 GB, free: 8.898 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/1.581, allocations: 6.524 MB / 1.324 GB, free: 6.777 MB / 1.014 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.08733/1.668, allocations: 31.27 MB / 1.355 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.681, allocations: 3.643 MB / 1.358 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008592/1.689, allocations: 2.807 MB / 1.361 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/1.691, allocations: 0.8247 MB / 1.362 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/1.691, allocations: 73.02 kB / 1.362 GB, free: 9.832 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 1.746e-05/1.692, allocations: 0 / 1.362 GB, free: 9.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.02673/1.718, allocations: 5.785 MB / 1.368 GB, free: 4.246 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.718, allocations: 81.5 kB / 1.368 GB, free: 4.152 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02546/1.744, allocations: 5.239 MB / 1.373 GB, free: 14.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/1.746, allocations: 77.7 kB / 1.373 GB, free: 14.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.006718/1.752, allocations: 2.933 MB / 1.376 GB, free: 11.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.003351/1.756, allocations: 0.9819 MB / 1.377 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004468/1.76, allocations: 0.7234 MB / 1.378 GB, free: 10.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.761, allocations: 305.1 kB / 1.378 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.766, allocations: 1.674 MB / 1.379 GB, free: 8.215 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/1.774, allocations: 2.934 MB / 1.382 GB, free: 4.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.786, allocations: 4.97 MB / 1.387 GB, free: 15.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.487e-05/1.787, allocations: 12 kB / 1.387 GB, free: 15.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02129/1.808, allocations: 5.455 MB / 1.393 GB, free: 10.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.752e-05/1.808, allocations: 20 kB / 1.393 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.808, allocations: 40.09 kB / 1.393 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.81, allocations: 424.8 kB / 1.393 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.817, allocations: 0.8568 MB / 1.394 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.828, allocations: 5.711 MB / 1.399 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009697/1.837, allocations: 0.5276 MB / 1.4 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.839, allocations: 176 kB / 1.4 GB, free: 2.176 MB / 1.076 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.009725/1.849, allocations: 2.287 MB / 1.402 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003923/1.853, allocations: 0.5046 MB / 1.403 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/1.87, allocations: 4.184 MB / 1.407 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.206e-05/1.87, allocations: 35.98 kB / 1.407 GB, free: 11.17 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/1.87, allocations: 4 kB / 1.407 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01162/1.881, allocations: 3.63 MB / 1.41 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03461/1.916, allocations: 10.27 MB / 1.421 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.916, allocations: 7.656 kB / 1.421 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.919, allocations: 0.4951 MB / 1.421 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/1.92, allocations: 384.1 kB / 1.421 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004949/1.92, allocations: 71.97 kB / 1.421 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/1.927, allocations: 5.646 MB / 1.427 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.927, allocations: 11.56 kB / 1.427 GB, free: 6.277 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.939, allocations: 6.279 MB / 1.433 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004059/1.944, allocations: 1.11 MB / 1.434 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002327/1.946, allocations: 67.92 kB / 1.434 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004801/1.951, allocations: 175.1 kB / 1.434 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.951, allocations: 181.1 kB / 1.435 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000606/1.952, allocations: 127.9 kB / 1.435 GB, free: 14.18 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01017/1.962, allocations: 3.835 MB / 1.438 GB, free: 10.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 5.61e-07/1.962, allocations: 0 / 1.438 GB, free: 10.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.01178/1.974, allocations: 1.817 MB / 1.44 GB, free: 8.543 MB / 1.123 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.002361/1.976, allocations: 495.1 kB / 1.441 GB, free: 8.109 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009897/1.986, allocations: 4.291 MB / 1.445 GB, free: 3.938 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.986, allocations: 4 kB / 1.445 GB, free: 3.934 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/1.991, allocations: 2.042 MB / 1.447 GB, free: 1.918 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02178/2.013, allocations: 3.448 MB / 1.45 GB, free: 14.56 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/2.046, allocations: 12.67 MB / 1.463 GB, free: 1.832 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009328/2.055, allocations: 4.3 MB / 1.467 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.009222/2.065, allocations: 1.856 MB / 1.469 GB, free: 11.66 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002586/2.067, allocations: 421.9 kB / 1.469 GB, free: 11.25 MB / 1.154 GB Notification: Performance of SimCode: time 1.323e-06/2.067, allocations: 0 / 1.469 GB, free: 11.25 MB / 1.154 GB Notification: Performance of Templates: time 0.1987/2.266, allocations: 113.2 MB / 1.58 GB, free: 11.33 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches