Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 65.33 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4003, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06306/0.4634, allocations: 45.44 MB / 1.371 GB, free: 3.879 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02456/0.4879, allocations: 12.93 MB / 1.384 GB, free: 6.922 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.4919, allocations: 91.25 kB / 1.384 GB, free: 6.832 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.4955, allocations: 0.811 MB / 1.384 GB, free: 6.016 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008355/0.5038, allocations: 2.398 MB / 1.387 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.5081, allocations: 1.365 MB / 1.388 GB, free: 2.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02765/0.5358, allocations: 20.15 MB / 1.408 GB, free: 14.04 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01387/0.5496, allocations: 6.443 MB / 1.414 GB, free: 7.473 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01627/0.5659, allocations: 6.934 MB / 1.421 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.5776, allocations: 5.965 MB / 1.427 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003216/0.5809, allocations: 0.8438 MB / 1.428 GB, free: 9.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00714/0.588, allocations: 1.495 MB / 1.429 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00536/0.5934, allocations: 2.196 MB / 1.431 GB, free: 6.031 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009974/0.6033, allocations: 3.529 MB / 1.435 GB, free: 2.488 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/0.6227, allocations: 12.22 MB / 1.447 GB, free: 6.227 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.6227, allocations: 7.984 kB / 1.447 GB, free: 6.219 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6227, allocations: 0 / 1.447 GB, free: 6.219 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004307/0.6232, allocations: 0 / 1.447 GB, free: 6.219 MB / 1.139 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.02275/0.6459, allocations: 7.852 MB / 1.454 GB, free: 14.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.646, allocations: 8.031 kB / 1.454 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002107/0.6462, allocations: 147.2 kB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003057/0.6492, allocations: 0.7642 MB / 1.455 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.6545, allocations: 0.879 MB / 1.456 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.6698, allocations: 6.395 MB / 1.462 GB, free: 6.016 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/0.6703, allocations: 415.1 kB / 1.463 GB, free: 5.609 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.6724, allocations: 0.5429 MB / 1.463 GB, free: 5.066 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02335/0.6958, allocations: 9.139 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/0.696, allocations: 15.89 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.6982, allocations: 240 kB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/0.6984, allocations: 167.9 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.7151, allocations: 6.524 MB / 1.479 GB, free: 4.48 MB / 1.17 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.05226/0.7674, allocations: 23.34 MB / 1.502 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/0.7747, allocations: 3.426 MB / 1.505 GB, free: 9.312 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005491/0.7801, allocations: 2.579 MB / 1.507 GB, free: 6.727 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009981/0.7811, allocations: 142 kB / 1.508 GB, free: 6.586 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.7813, allocations: 64.67 kB / 1.508 GB, free: 6.512 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 1.189e-05/0.7813, allocations: 8 kB / 1.508 GB, free: 6.504 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01671/0.798, allocations: 5.63 MB / 1.513 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.7981, allocations: 81.52 kB / 1.513 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/0.8109, allocations: 5.243 MB / 1.518 GB, free: 11.47 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007491/0.8117, allocations: 77.7 kB / 1.518 GB, free: 11.39 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003781/0.8155, allocations: 2.938 MB / 1.521 GB, free: 8.434 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/0.8173, allocations: 0.9839 MB / 1.522 GB, free: 7.441 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/0.8197, allocations: 0.7118 MB / 1.523 GB, free: 6.723 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8198, allocations: 301.1 kB / 1.523 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003477/0.8233, allocations: 1.678 MB / 1.525 GB, free: 4.746 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/0.8282, allocations: 3.04 MB / 1.528 GB, free: 1.133 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008344/0.8365, allocations: 4.966 MB / 1.533 GB, free: 11.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-05/0.8366, allocations: 12 kB / 1.533 GB, free: 11.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01198/0.8485, allocations: 5.447 MB / 1.538 GB, free: 6.059 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.8486, allocations: 24 kB / 1.538 GB, free: 6.035 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.233e-05/0.8487, allocations: 40 kB / 1.538 GB, free: 5.996 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.8498, allocations: 422 kB / 1.539 GB, free: 5.578 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.8532, allocations: 0.858 MB / 1.539 GB, free: 4.719 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.8604, allocations: 5.424 MB / 1.545 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/0.8654, allocations: 0.5275 MB / 1.545 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008157/0.8662, allocations: 184 kB / 1.545 GB, free: 14.36 MB / 1.248 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.005482/0.8717, allocations: 2.28 MB / 1.548 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/0.8739, allocations: 0.5008 MB / 1.548 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009096/0.883, allocations: 4.17 MB / 1.552 GB, free: 7.34 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/0.883, allocations: 24 kB / 1.552 GB, free: 7.316 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/0.8831, allocations: 8.125 kB / 1.552 GB, free: 7.309 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00638/0.8894, allocations: 3.624 MB / 1.556 GB, free: 3.57 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/0.9144, allocations: 9.545 MB / 1.565 GB, free: 9.855 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.9144, allocations: 8 kB / 1.565 GB, free: 9.848 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/0.9169, allocations: 0.4954 MB / 1.566 GB, free: 9.352 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.9179, allocations: 379.3 kB / 1.566 GB, free: 8.977 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/0.9184, allocations: 71.97 kB / 1.566 GB, free: 8.906 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006865/0.9252, allocations: 5.372 MB / 1.571 GB, free: 3.312 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.9252, allocations: 4 kB / 1.571 GB, free: 3.309 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.9377, allocations: 6.272 MB / 1.577 GB, free: 12.87 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/0.9413, allocations: 1.072 MB / 1.578 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/0.9429, allocations: 63.98 kB / 1.578 GB, free: 11.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/0.9465, allocations: 179.8 kB / 1.579 GB, free: 11.55 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/0.947, allocations: 181.5 kB / 1.579 GB, free: 11.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004032/0.9474, allocations: 135.9 kB / 1.579 GB, free: 11.24 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007721/0.9551, allocations: 3.843 MB / 1.583 GB, free: 7.414 MB / 1.279 GB Notification: Performance of sort global known variables: time 2e-07/0.9551, allocations: 0 / 1.583 GB, free: 7.414 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007317/0.9624, allocations: 1.821 MB / 1.584 GB, free: 5.59 MB / 1.279 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.01413/0.9766, allocations: 7.187 MB / 1.591 GB, free: 14.22 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008593/0.9852, allocations: 4.128 MB / 1.595 GB, free: 10.05 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/0.9852, allocations: 7.938 kB / 1.595 GB, free: 10.04 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003925/0.9891, allocations: 1.928 MB / 1.597 GB, free: 8.086 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01937/1.008, allocations: 3.459 MB / 1.601 GB, free: 4.723 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7727/1.781, allocations: 47.17 MB / 1.647 GB, free: 242.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/1.784, allocations: 3.812 MB / 1.651 GB, free: 241.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004189/1.789, allocations: 1.852 MB / 1.652 GB, free: 241.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/1.791, allocations: 2.446 MB / 1.655 GB, free: 239.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.183e-06/1.791, allocations: 0 / 1.655 GB, free: 239.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/1.986, allocations: 164.9 MB / 1.816 GB, free: 76.93 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/24.37, allocations: 8.047 kB / 1.816 GB, free: 76.92 MB / 1.295 GB " [Timeout remaining time 275] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 31.774171533994377]