Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 67.89 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9937/0.9967, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.07012/1.067, allocations: 49.67 MB / 1.317 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02363/1.09, allocations: 13.88 MB / 1.331 GB, free: 5.426 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/1.094, allocations: 67.62 kB / 1.331 GB, free: 5.359 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/1.097, allocations: 0.8343 MB / 1.332 GB, free: 4.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008656/1.106, allocations: 2.355 MB / 1.334 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/1.11, allocations: 1.312 MB / 1.335 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02434/1.134, allocations: 19.58 MB / 1.354 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/1.148, allocations: 8.189 MB / 1.362 GB, free: 4.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01665/1.165, allocations: 6.587 MB / 1.369 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/1.177, allocations: 6.035 MB / 1.375 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003311/1.181, allocations: 0.8438 MB / 1.376 GB, free: 7.441 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00734/1.188, allocations: 1.623 MB / 1.377 GB, free: 5.816 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004385/1.192, allocations: 2.208 MB / 1.379 GB, free: 3.602 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/1.203, allocations: 4.287 MB / 1.383 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01875/1.222, allocations: 12.1 MB / 1.395 GB, free: 3.16 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.222, allocations: 0 / 1.395 GB, free: 3.16 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.294e-06/1.222, allocations: 4 kB / 1.395 GB, free: 3.156 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004086/1.222, allocations: 3.938 kB / 1.395 GB, free: 3.152 MB / 1.092 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.02165/1.244, allocations: 7.913 MB / 1.403 GB, free: 11.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.244, allocations: 12.03 kB / 1.403 GB, free: 11.14 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002019/1.246, allocations: 0.7642 MB / 1.404 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/1.249, allocations: 0.8165 MB / 1.405 GB, free: 9.543 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/1.271, allocations: 6.346 MB / 1.411 GB, free: 3.137 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006596/1.272, allocations: 419.2 kB / 1.411 GB, free: 2.727 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/1.275, allocations: 0.5429 MB / 1.412 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/1.3, allocations: 8.068 MB / 1.42 GB, free: 9.875 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/1.301, allocations: 19.89 kB / 1.42 GB, free: 9.855 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/1.303, allocations: 236 kB / 1.42 GB, free: 9.625 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/1.303, allocations: 167.8 kB / 1.42 GB, free: 9.461 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/1.321, allocations: 6.528 MB / 1.426 GB, free: 2.922 MB / 1.123 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.06324/1.385, allocations: 31.27 MB / 1.457 GB, free: 1.824 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/1.392, allocations: 3.436 MB / 1.46 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/1.397, allocations: 2.589 MB / 1.463 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.398, allocations: 0.828 MB / 1.464 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.398, allocations: 68.67 kB / 1.464 GB, free: 10.71 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 4.258e-06/1.398, allocations: 0 / 1.464 GB, free: 10.71 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01349/1.412, allocations: 5.777 MB / 1.469 GB, free: 4.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/1.412, allocations: 77.52 kB / 1.469 GB, free: 4.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.424, allocations: 5.232 MB / 1.474 GB, free: 15.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.425, allocations: 81.7 kB / 1.475 GB, free: 15.43 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.005704/1.431, allocations: 2.938 MB / 1.477 GB, free: 12.47 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.003284/1.434, allocations: 0.98 MB / 1.478 GB, free: 11.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004221/1.438, allocations: 0.7273 MB / 1.479 GB, free: 10.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.439, allocations: 309.1 kB / 1.479 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/1.443, allocations: 1.67 MB / 1.481 GB, free: 8.773 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005908/1.449, allocations: 2.932 MB / 1.484 GB, free: 5.293 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/1.459, allocations: 4.962 MB / 1.489 GB, free: 15.74 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.464e-05/1.459, allocations: 12 kB / 1.489 GB, free: 15.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01358/1.472, allocations: 5.447 MB / 1.494 GB, free: 10.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/1.472, allocations: 20 kB / 1.494 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.32e-05/1.472, allocations: 40 kB / 1.494 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.474, allocations: 425.9 kB / 1.495 GB, free: 9.746 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/1.477, allocations: 0.858 MB / 1.495 GB, free: 8.887 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/1.484, allocations: 5.714 MB / 1.501 GB, free: 2.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/1.49, allocations: 0.5315 MB / 1.501 GB, free: 2.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/1.491, allocations: 176 kB / 1.502 GB, free: 2.195 MB / 1.201 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.0055/1.497, allocations: 2.292 MB / 1.504 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002125/1.499, allocations: 0.4969 MB / 1.504 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009353/1.508, allocations: 4.166 MB / 1.508 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.508, allocations: 32 kB / 1.508 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.508, allocations: 4 kB / 1.508 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006352/1.514, allocations: 3.62 MB / 1.512 GB, free: 7.395 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.542, allocations: 10.25 MB / 1.522 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.542, allocations: 8.062 kB / 1.522 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.544, allocations: 0.4954 MB / 1.522 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.545, allocations: 384.2 kB / 1.523 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005043/1.546, allocations: 71.95 kB / 1.523 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007393/1.553, allocations: 5.651 MB / 1.528 GB, free: 6.086 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/1.553, allocations: 19.92 kB / 1.528 GB, free: 6.066 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.567, allocations: 6.249 MB / 1.535 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00482/1.572, allocations: 1.126 MB / 1.536 GB, free: 14.5 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/1.574, allocations: 63.98 kB / 1.536 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/1.578, allocations: 167.6 kB / 1.536 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/1.579, allocations: 185.7 kB / 1.536 GB, free: 14.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004006/1.579, allocations: 131.8 kB / 1.536 GB, free: 13.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007773/1.587, allocations: 3.839 MB / 1.54 GB, free: 10.13 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.8e-07/1.587, allocations: 0 / 1.54 GB, free: 10.13 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.007799/1.595, allocations: 1.817 MB / 1.542 GB, free: 8.312 MB / 1.248 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.01326/1.608, allocations: 7.189 MB / 1.549 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008406/1.617, allocations: 4.126 MB / 1.553 GB, free: 12.79 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/1.617, allocations: 8.062 kB / 1.553 GB, free: 12.79 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.62, allocations: 1.922 MB / 1.555 GB, free: 10.84 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01814/1.638, allocations: 3.46 MB / 1.558 GB, free: 7.473 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1011/1.739, allocations: 47.1 MB / 1.604 GB, free: 6.672 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005595/1.745, allocations: 4.311 MB / 1.608 GB, free: 2.328 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006623/1.752, allocations: 1.856 MB / 1.61 GB, free: 496 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.824/2.576, allocations: 2.443 MB / 1.612 GB, free: 316.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.853e-06/2.576, allocations: 0 / 1.612 GB, free: 316.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/2.812, allocations: 154.8 MB / 1.764 GB, free: 189.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/24.57, allocations: 12 kB / 1.764 GB, free: 189.1 MB / 1.311 GB " [Timeout remaining time 275] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.4259262830019]