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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001833/0.001832, allocations: 112.4 kB / 16.42 MB, free: 6.516 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.001954/0.001954, allocations: 187.9 kB / 17.35 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7598, allocations: 159.1 MB / 1.221 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04727/0.8071, allocations: 49.3 MB / 1.269 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.8268, allocations: 13.83 MB / 1.283 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.8292, allocations: 67.62 kB / 1.283 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.8313, allocations: 0.8266 MB / 1.283 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.837, allocations: 2.352 MB / 1.286 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.8403, allocations: 1.318 MB / 1.287 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01716/0.8575, allocations: 19.63 MB / 1.306 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.8681, allocations: 9.898 MB / 1.316 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.8796, allocations: 6.598 MB / 1.322 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008623/0.8882, allocations: 5.762 MB / 1.328 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.8901, allocations: 0.8438 MB / 1.329 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.895, allocations: 1.604 MB / 1.33 GB, free: 2.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.897, allocations: 2.115 MB / 1.332 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006319/0.9034, allocations: 4.283 MB / 1.337 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.9148, allocations: 12.07 MB / 1.348 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.9149, allocations: 4 kB / 1.348 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9149, allocations: 0 / 1.348 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002976/0.9152, allocations: 0 / 1.348 GB, free: 15.57 MB / 1.076 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.01612/0.9313, allocations: 7.717 MB / 1.356 GB, free: 7.777 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.9314, allocations: 12.62 kB / 1.356 GB, free: 7.766 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.9345, allocations: 0.7891 MB / 1.357 GB, free: 6.969 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.947, allocations: 6.306 MB / 1.363 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.9473, allocations: 419.4 kB / 1.363 GB, free: 196 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.9488, allocations: 0.5428 MB / 1.364 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.9664, allocations: 8.072 MB / 1.372 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001866/0.9666, allocations: 23.84 kB / 1.372 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.9677, allocations: 236 kB / 1.372 GB, free: 7.082 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.9679, allocations: 163.9 kB / 1.372 GB, free: 6.922 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.9802, allocations: 6.528 MB / 1.378 GB, free: 392 kB / 1.092 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.04182/1.022, allocations: 31.19 MB / 1.409 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005537/1.028, allocations: 3.643 MB / 1.412 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003984/1.032, allocations: 2.804 MB / 1.415 GB, free: 8.902 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000927/1.033, allocations: 0.8319 MB / 1.416 GB, free: 7.902 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/1.033, allocations: 64.67 kB / 1.416 GB, free: 7.828 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 5.751e-06/1.033, allocations: 0 / 1.416 GB, free: 7.828 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01129/1.044, allocations: 5.766 MB / 1.422 GB, free: 1.961 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.044, allocations: 85.52 kB / 1.422 GB, free: 1.863 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00933/1.053, allocations: 5.227 MB / 1.427 GB, free: 12.64 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.054, allocations: 81.7 kB / 1.427 GB, free: 12.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/1.056, allocations: 2.864 MB / 1.43 GB, free: 9.656 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.057, allocations: 0.9359 MB / 1.431 GB, free: 8.707 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.059, allocations: 0.7191 MB / 1.431 GB, free: 7.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/1.059, allocations: 309.1 kB / 1.432 GB, free: 7.676 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/1.062, allocations: 1.678 MB / 1.433 GB, free: 5.996 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.065, allocations: 2.928 MB / 1.436 GB, free: 2.52 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/1.071, allocations: 4.966 MB / 1.441 GB, free: 12.96 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.59e-05/1.071, allocations: 12 kB / 1.441 GB, free: 12.95 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009265/1.081, allocations: 5.433 MB / 1.446 GB, free: 7.461 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/1.081, allocations: 27.94 kB / 1.446 GB, free: 7.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.312e-05/1.081, allocations: 40 kB / 1.446 GB, free: 7.395 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.082, allocations: 421.9 kB / 1.447 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/1.085, allocations: 0.8618 MB / 1.448 GB, free: 6.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/1.091, allocations: 5.696 MB / 1.453 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.095, allocations: 0.5262 MB / 1.454 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/1.096, allocations: 176 kB / 1.454 GB, free: 15.44 MB / 1.186 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.00386/1.099, allocations: 2.284 MB / 1.456 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.101, allocations: 486.1 kB / 1.457 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/1.109, allocations: 4.18 MB / 1.461 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005404/1.114, allocations: 3.632 MB / 1.464 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.114, allocations: 0 / 1.464 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/1.118, allocations: 1.076 MB / 1.465 GB, free: 3.574 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.119, allocations: 59.92 kB / 1.465 GB, free: 3.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.122, allocations: 159.8 kB / 1.465 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/1.123, allocations: 173.9 kB / 1.466 GB, free: 3.188 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00817/1.131, allocations: 4.217 MB / 1.47 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009256/1.14, allocations: 6.236 MB / 1.476 GB, free: 8.59 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002347/1.143, allocations: 1.73 MB / 1.477 GB, free: 6.844 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007548/1.15, allocations: 3.679 MB / 1.481 GB, free: 3.176 MB / 1.201 GB Notification: Performance of Backend: time 9.11e-07/1.15, allocations: 0 / 1.481 GB, free: 3.176 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.161, allocations: 3.362 MB / 1.484 GB, free: 15.79 MB / 1.217 GB Notification: Performance of SimCode: time 0.03166/1.193, allocations: 14.37 MB / 1.498 GB, free: 1.449 MB / 1.217 GB Notification: Performance of Templates: time 0.7609/1.954, allocations: 109.1 MB / 1.605 GB, free: 301.4 MB / 1.279 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches