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.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.001966/0.001966, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00232/0.00232, allocations: 217.7 kB / 23.04 MB, free: 5.074 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 0.5003 GB / 0.8062 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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.001848/0.001848, allocations: 62.2 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3124, allocations: 179 MB / 1.345 GB, free: 416 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0503/0.3627, allocations: 50.43 MB / 1.395 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.3832, allocations: 13.98 MB / 1.408 GB, free: 15.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.3859, allocations: 91.25 kB / 1.408 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.388, allocations: 0.8421 MB / 1.409 GB, free: 14.83 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006079/0.3941, allocations: 2.406 MB / 1.411 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.3973, allocations: 1.38 MB / 1.413 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02062/0.4179, allocations: 20.15 MB / 1.433 GB, free: 6.844 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009754/0.4277, allocations: 6.459 MB / 1.439 GB, free: 268 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.4414, allocations: 6.879 MB / 1.446 GB, free: 9.402 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.4519, allocations: 5.969 MB / 1.451 GB, free: 3.41 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001921/0.4539, allocations: 0.8516 MB / 1.452 GB, free: 2.559 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.4587, allocations: 1.678 MB / 1.454 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.4611, allocations: 2.2 MB / 1.456 GB, free: 14.67 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006902/0.468, allocations: 4.307 MB / 1.46 GB, free: 10.35 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.4817, allocations: 12.2 MB / 1.472 GB, free: 14.11 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.4817, allocations: 0 / 1.472 GB, free: 14.11 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4817, allocations: 0 / 1.472 GB, free: 14.11 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003952/0.4821, allocations: 0 / 1.472 GB, free: 14.11 MB / 1.17 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.01708/0.4992, allocations: 7.855 MB / 1.48 GB, free: 6.191 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4992, allocations: 11.97 kB / 1.48 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001406/0.4994, allocations: 143.2 kB / 1.48 GB, free: 6.039 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.5006, allocations: 0.7642 MB / 1.481 GB, free: 5.266 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.5038, allocations: 0.8828 MB / 1.482 GB, free: 4.379 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5161, allocations: 6.391 MB / 1.488 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.5164, allocations: 419 kB / 1.488 GB, free: 13.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009154/0.5173, allocations: 0.539 MB / 1.489 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.532, allocations: 8.073 MB / 1.497 GB, free: 4.648 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.5321, allocations: 19.83 kB / 1.497 GB, free: 4.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/0.5326, allocations: 236 kB / 1.497 GB, free: 4.398 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.5328, allocations: 167.9 kB / 1.497 GB, free: 4.234 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.5439, allocations: 6.524 MB / 1.503 GB, free: 13.7 MB / 1.201 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.04053/0.5844, allocations: 31.22 MB / 1.534 GB, free: 12.62 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005228/0.5897, allocations: 3.44 MB / 1.537 GB, free: 9.191 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.5934, allocations: 2.582 MB / 1.54 GB, free: 6.602 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.594, allocations: 153.9 kB / 1.54 GB, free: 6.449 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.5941, allocations: 68.66 kB / 1.54 GB, free: 6.371 MB / 1.232 GB Notification: Performance of pre-optimization done (n=267): time 3.997e-06/0.5941, allocations: 0 / 1.54 GB, free: 6.371 MB / 1.232 GB Notification: Performance of matching and sorting (n=267): time 0.01064/0.6047, allocations: 5.626 MB / 1.545 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.6048, allocations: 81.52 kB / 1.546 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007921/0.6127, allocations: 5.239 MB / 1.551 GB, free: 11.35 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004324/0.6131, allocations: 77.7 kB / 1.551 GB, free: 11.27 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/0.6157, allocations: 2.942 MB / 1.554 GB, free: 8.305 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.6168, allocations: 0.98 MB / 1.555 GB, free: 7.316 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.6178, allocations: 0.7234 MB / 1.555 GB, free: 6.586 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.618, allocations: 305.1 kB / 1.556 GB, free: 6.285 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.6205, allocations: 1.674 MB / 1.557 GB, free: 4.609 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/0.624, allocations: 2.932 MB / 1.56 GB, free: 1.125 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006637/0.6307, allocations: 4.962 MB / 1.565 GB, free: 11.57 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.6307, allocations: 12 kB / 1.565 GB, free: 11.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009174/0.6399, allocations: 5.455 MB / 1.57 GB, free: 6.047 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.6399, allocations: 20.97 kB / 1.57 GB, free: 6.027 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/0.64, allocations: 43.98 kB / 1.57 GB, free: 5.984 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/0.6409, allocations: 420 kB / 1.571 GB, free: 5.57 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.6438, allocations: 0.858 MB / 1.572 GB, free: 4.711 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.6498, allocations: 5.499 MB / 1.577 GB, free: 14.99 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/0.6538, allocations: 0.5314 MB / 1.577 GB, free: 14.46 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/0.6542, allocations: 176 kB / 1.578 GB, free: 14.29 MB / 1.279 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.003704/0.6579, allocations: 2.289 MB / 1.58 GB, free: 11.98 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.6591, allocations: 0.5007 MB / 1.58 GB, free: 11.48 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/0.6658, allocations: 4.162 MB / 1.584 GB, free: 7.262 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.6658, allocations: 27.98 kB / 1.584 GB, free: 7.234 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6658, allocations: 8 kB / 1.584 GB, free: 7.227 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005076/0.6709, allocations: 3.628 MB / 1.588 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.6878, allocations: 10.29 MB / 1.598 GB, free: 9.016 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6878, allocations: 4 kB / 1.598 GB, free: 9.012 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.6899, allocations: 0.5032 MB / 1.598 GB, free: 8.508 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008636/0.6908, allocations: 373.6 kB / 1.599 GB, free: 8.137 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.691, allocations: 79.97 kB / 1.599 GB, free: 8.059 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005952/0.697, allocations: 5.436 MB / 1.604 GB, free: 2.41 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.697, allocations: 7.938 kB / 1.604 GB, free: 2.402 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5636/1.261, allocations: 6.261 MB / 1.61 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/1.264, allocations: 1.072 MB / 1.611 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008019/1.264, allocations: 65.05 kB / 1.611 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.267, allocations: 178.1 kB / 1.612 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.267, allocations: 192.7 kB / 1.612 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/1.267, allocations: 126.1 kB / 1.612 GB, free: 241.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005984/1.273, allocations: 3.848 MB / 1.616 GB, free: 240.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 0 / 1.616 GB, free: 240.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005464/1.279, allocations: 1.821 MB / 1.617 GB, free: 240 MB / 1.295 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.009824/1.289, allocations: 7.178 MB / 1.624 GB, free: 236.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005923/1.295, allocations: 4.13 MB / 1.628 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.295, allocations: 2.562 kB / 1.628 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002499/1.297, allocations: 1.928 MB / 1.63 GB, free: 234.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/1.312, allocations: 3.455 MB / 1.634 GB, free: 233.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05277/1.365, allocations: 47.2 MB / 1.68 GB, free: 201.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/1.368, allocations: 4.303 MB / 1.684 GB, free: 197.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004729/1.373, allocations: 1.853 MB / 1.686 GB, free: 195.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/1.375, allocations: 2.456 MB / 1.688 GB, free: 192.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.12e-07/1.375, allocations: 0 / 1.688 GB, free: 192.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/1.57, allocations: 157.8 MB / 1.842 GB, free: 36.12 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.82/21.39, allocations: 13.59 kB / 1.842 GB, free: 36.11 MB / 1.295 GB " [Timeout remaining time 278] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.242977903981227]