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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004072/0.004072, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001139/0.001139, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.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.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.09 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2344, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04809/0.2825, allocations: 49.31 MB / 1.136 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.3003, allocations: 13.82 MB / 1.149 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.3023, allocations: 71.56 kB / 1.149 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.3046, allocations: 0.8188 MB / 1.15 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.3103, allocations: 2.355 MB / 1.152 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3134, allocations: 1.317 MB / 1.154 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01856/0.332, allocations: 19.62 MB / 1.173 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.3456, allocations: 9.91 MB / 1.182 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01539/0.361, allocations: 6.588 MB / 1.189 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.3725, allocations: 5.751 MB / 1.194 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.3752, allocations: 0.8438 MB / 1.195 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007341/0.3826, allocations: 1.608 MB / 1.197 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00456/0.3872, allocations: 2.119 MB / 1.199 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.3976, allocations: 4.287 MB / 1.203 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.4132, allocations: 12.09 MB / 1.215 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4132, allocations: 0 / 1.215 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4133, allocations: 3.938 kB / 1.215 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000388/0.4137, allocations: 4 kB / 1.215 GB, free: 15 MB / 0.9825 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.01988/0.4335, allocations: 7.909 MB / 1.223 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4336, allocations: 12.03 kB / 1.223 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002276/0.4359, allocations: 0.768 MB / 1.223 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.4395, allocations: 0.8282 MB / 1.224 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.4517, allocations: 6.338 MB / 1.23 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.452, allocations: 419.2 kB / 1.231 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/0.4534, allocations: 0.5429 MB / 1.231 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.4691, allocations: 8.072 MB / 1.239 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/0.4692, allocations: 15.88 kB / 1.239 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008937/0.4701, allocations: 247.9 kB / 1.239 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.4703, allocations: 164 kB / 1.24 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.482, allocations: 6.528 MB / 1.246 GB, free: 14.77 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.5047/0.9867, allocations: 31.25 MB / 1.277 GB, free: 141.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006246/0.993, allocations: 3.651 MB / 1.28 GB, free: 140.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/0.9974, allocations: 2.791 MB / 1.283 GB, free: 139.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.9982, allocations: 0.8346 MB / 1.284 GB, free: 138.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.9983, allocations: 67.55 kB / 1.284 GB, free: 138.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 5.319e-06/0.9983, allocations: 0 / 1.284 GB, free: 138.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01133/1.01, allocations: 5.781 MB / 1.289 GB, free: 136.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.01, allocations: 83.33 kB / 1.289 GB, free: 136.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009069/1.019, allocations: 5.244 MB / 1.295 GB, free: 134.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006259/1.019, allocations: 81.3 kB / 1.295 GB, free: 134.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/1.022, allocations: 2.927 MB / 1.297 GB, free: 132.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.023, allocations: 0.9846 MB / 1.298 GB, free: 132.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.024, allocations: 0.7206 MB / 1.299 GB, free: 131.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/1.025, allocations: 305.6 kB / 1.299 GB, free: 131.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/1.027, allocations: 1.675 MB / 1.301 GB, free: 130.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/1.03, allocations: 2.934 MB / 1.304 GB, free: 128.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005376/1.035, allocations: 4.963 MB / 1.309 GB, free: 125.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/1.035, allocations: 12.38 kB / 1.309 GB, free: 125.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008001/1.043, allocations: 5.462 MB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.043, allocations: 23.59 kB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/1.043, allocations: 40.12 kB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/1.044, allocations: 422.1 kB / 1.315 GB, free: 123.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/1.047, allocations: 0.8577 MB / 1.315 GB, free: 123 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/1.052, allocations: 5.713 MB / 1.321 GB, free: 118.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.056, allocations: 0.5267 MB / 1.322 GB, free: 118 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/1.056, allocations: 179.3 kB / 1.322 GB, free: 118 MB / 1.014 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.003129/1.059, allocations: 2.29 MB / 1.324 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.06, allocations: 0.4998 MB / 1.324 GB, free: 116.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006015/1.066, allocations: 4.176 MB / 1.328 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/1.066, allocations: 23 kB / 1.329 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.066, allocations: 14.06 kB / 1.329 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00446/1.071, allocations: 3.63 MB / 1.332 GB, free: 111.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.086, allocations: 10.27 MB / 1.342 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.086, allocations: 4 kB / 1.342 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.089, allocations: 0.5001 MB / 1.343 GB, free: 101.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/1.089, allocations: 372.6 kB / 1.343 GB, free: 101.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.089, allocations: 79.95 kB / 1.343 GB, free: 101.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/1.094, allocations: 5.652 MB / 1.349 GB, free: 95.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.094, allocations: 9.344 kB / 1.349 GB, free: 95.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.101, allocations: 6.274 MB / 1.355 GB, free: 88.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.104, allocations: 1.122 MB / 1.356 GB, free: 87.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000986/1.105, allocations: 59.98 kB / 1.356 GB, free: 87.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.108, allocations: 174.8 kB / 1.356 GB, free: 87.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/1.108, allocations: 177.6 kB / 1.356 GB, free: 87.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.109, allocations: 127.9 kB / 1.356 GB, free: 87.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004647/1.113, allocations: 3.839 MB / 1.36 GB, free: 83.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.113, allocations: 0 / 1.36 GB, free: 83.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00508/1.118, allocations: 1.812 MB / 1.362 GB, free: 81.63 MB / 1.014 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.008769/1.127, allocations: 7.219 MB / 1.369 GB, free: 74.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005604/1.133, allocations: 4.284 MB / 1.373 GB, free: 69.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.133, allocations: 0 / 1.373 GB, free: 69.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.135, allocations: 2.059 MB / 1.375 GB, free: 67.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01432/1.15, allocations: 3.45 MB / 1.378 GB, free: 64.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05363/1.203, allocations: 47.13 MB / 1.424 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/1.206, allocations: 4.303 MB / 1.429 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004975/1.211, allocations: 1.852 MB / 1.43 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/1.215, allocations: 2.456 MB / 1.433 GB, free: 7.109 MB / 1.014 GB Notification: Performance of SimCode: time 8.02e-07/1.215, allocations: 0 / 1.433 GB, free: 7.109 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2197/1.434, allocations: 154.1 MB / 1.583 GB, free: 13.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.78/21.21, allocations: 15.8 kB / 1.583 GB, free: 13.96 MB / 1.17 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/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