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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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.005137/0.005137, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001291/0.001291, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.535/2.535, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6871, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04812/0.7353, allocations: 49.3 MB / 1.268 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.7533, allocations: 13.82 MB / 1.281 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.7554, allocations: 67.62 kB / 1.281 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.7578, allocations: 0.8344 MB / 1.282 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.7638, allocations: 2.352 MB / 1.285 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.767, allocations: 1.31 MB / 1.286 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01912/0.7862, allocations: 19.64 MB / 1.305 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.7985, allocations: 9.898 MB / 1.315 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.8098, allocations: 6.593 MB / 1.321 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009782/0.8196, allocations: 5.758 MB / 1.327 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.8218, allocations: 0.8438 MB / 1.328 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/0.8271, allocations: 1.6 MB / 1.329 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.8304, allocations: 2.119 MB / 1.331 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007509/0.8379, allocations: 4.291 MB / 1.335 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.8523, allocations: 12.1 MB / 1.347 GB, free: 15.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.8524, allocations: 0 / 1.347 GB, free: 15.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8524, allocations: 0 / 1.347 GB, free: 15.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003606/0.8527, allocations: 0 / 1.347 GB, free: 15.29 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.01889/0.8716, allocations: 7.917 MB / 1.355 GB, free: 7.289 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8717, allocations: 8.625 kB / 1.355 GB, free: 7.281 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002169/0.8739, allocations: 0.7681 MB / 1.356 GB, free: 6.504 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.8773, allocations: 0.8165 MB / 1.356 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.8919, allocations: 6.356 MB / 1.363 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.8923, allocations: 423.1 kB / 1.363 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.8938, allocations: 0.539 MB / 1.364 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.9106, allocations: 8.061 MB / 1.371 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.9108, allocations: 19.83 kB / 1.372 GB, free: 5.988 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.912, allocations: 240 kB / 1.372 GB, free: 5.754 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.9122, allocations: 167.9 kB / 1.372 GB, free: 5.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.9248, allocations: 6.524 MB / 1.378 GB, free: 15.05 MB / 1.107 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.0436/0.9684, allocations: 31.27 MB / 1.409 GB, free: 13.95 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.9741, allocations: 3.643 MB / 1.412 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/0.9782, allocations: 2.803 MB / 1.415 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.9793, allocations: 0.8318 MB / 1.416 GB, free: 6.508 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.703e-05/0.9794, allocations: 68.67 kB / 1.416 GB, free: 6.43 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 4.669e-06/0.9794, allocations: 0 / 1.416 GB, free: 6.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01132/0.9907, allocations: 5.788 MB / 1.422 GB, free: 0.543 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.9908, allocations: 81.52 kB / 1.422 GB, free: 460 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009414/1, allocations: 5.239 MB / 1.427 GB, free: 11.21 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003425/1.001, allocations: 77.7 kB / 1.427 GB, free: 11.12 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00272/1.003, allocations: 2.93 MB / 1.43 GB, free: 8.176 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.004, allocations: 0.9839 MB / 1.431 GB, free: 7.184 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/1.006, allocations: 0.7156 MB / 1.431 GB, free: 6.461 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/1.006, allocations: 313 kB / 1.432 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/1.008, allocations: 1.674 MB / 1.433 GB, free: 4.477 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/1.012, allocations: 2.94 MB / 1.436 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/1.018, allocations: 4.959 MB / 1.441 GB, free: 11.44 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/1.018, allocations: 12 kB / 1.441 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009348/1.028, allocations: 5.459 MB / 1.446 GB, free: 5.914 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/1.028, allocations: 24 kB / 1.446 GB, free: 5.891 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-05/1.028, allocations: 40.91 kB / 1.446 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.029, allocations: 423.6 kB / 1.447 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.032, allocations: 0.858 MB / 1.448 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/1.038, allocations: 5.707 MB / 1.453 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.042, allocations: 0.5275 MB / 1.454 GB, free: 14.06 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/1.043, allocations: 184 kB / 1.454 GB, free: 13.88 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.003707/1.046, allocations: 2.284 MB / 1.456 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/1.048, allocations: 0.5047 MB / 1.457 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/1.055, allocations: 4.176 MB / 1.461 GB, free: 6.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.055, allocations: 28 kB / 1.461 GB, free: 6.812 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.055, allocations: 4 kB / 1.461 GB, free: 6.809 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005506/1.061, allocations: 3.639 MB / 1.464 GB, free: 3.055 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.08, allocations: 10.27 MB / 1.474 GB, free: 8.609 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.08, allocations: 4 kB / 1.474 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/1.082, allocations: 0.4993 MB / 1.475 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/1.083, allocations: 369.5 kB / 1.475 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.083, allocations: 75.95 kB / 1.475 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/1.089, allocations: 5.657 MB / 1.481 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.089, allocations: 8.219 kB / 1.481 GB, free: 1.723 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/1.099, allocations: 6.272 MB / 1.487 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/1.102, allocations: 1.126 MB / 1.488 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.103, allocations: 63.92 kB / 1.488 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00358/1.107, allocations: 175.6 kB / 1.488 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/1.107, allocations: 181.6 kB / 1.488 GB, free: 9.719 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003579/1.108, allocations: 127.9 kB / 1.489 GB, free: 9.594 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.007058/1.115, allocations: 3.839 MB / 1.492 GB, free: 5.77 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.21e-07/1.115, allocations: 0 / 1.492 GB, free: 5.77 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005867/1.12, allocations: 1.809 MB / 1.494 GB, free: 3.957 MB / 1.217 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.01128/1.132, allocations: 7.214 MB / 1.501 GB, free: 12.58 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00675/1.139, allocations: 4.281 MB / 1.505 GB, free: 8.254 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.139, allocations: 7.938 kB / 1.505 GB, free: 8.246 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.142, allocations: 2.056 MB / 1.507 GB, free: 6.164 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01684/1.158, allocations: 3.45 MB / 1.511 GB, free: 2.812 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.076/1.234, allocations: 47.13 MB / 1.557 GB, free: 1.996 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5421/1.777, allocations: 4.299 MB / 1.561 GB, free: 316.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006965/1.784, allocations: 1.854 MB / 1.563 GB, free: 316.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003849/1.787, allocations: 2.447 MB / 1.565 GB, free: 315.7 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/1.787, allocations: 1.312 kB / 1.565 GB, free: 315.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/1.969, allocations: 154.1 MB / 1.716 GB, free: 184.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/21.55, allocations: 11.03 kB / 1.716 GB, free: 184.3 MB / 1.279 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/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