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.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.001922/0.001922, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.002821/0.002821, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.71/1.71, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_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.002111/0.002111, allocations: 72.19 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.188, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06943/1.257, allocations: 49.89 MB / 1.328 GB, free: 8.016 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02943/1.287, allocations: 13.9 MB / 1.341 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004879/1.292, allocations: 87.34 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003883/1.296, allocations: 0.834 MB / 1.342 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/1.307, allocations: 2.36 MB / 1.344 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006226/1.313, allocations: 1.319 MB / 1.346 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03528/1.348, allocations: 19.57 MB / 1.365 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01536/1.364, allocations: 8.189 MB / 1.373 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02157/1.385, allocations: 6.676 MB / 1.379 GB, free: 5.359 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/1.401, allocations: 6.035 MB / 1.385 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004009/1.405, allocations: 0.8438 MB / 1.386 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/1.415, allocations: 1.655 MB / 1.388 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006187/1.421, allocations: 2.204 MB / 1.39 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01467/1.436, allocations: 4.283 MB / 1.394 GB, free: 6.289 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02407/1.46, allocations: 12.15 MB / 1.406 GB, free: 10.1 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.46, allocations: 0 / 1.406 GB, free: 10.1 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.785e-06/1.46, allocations: 0 / 1.406 GB, free: 10.1 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005547/1.46, allocations: 0 / 1.406 GB, free: 10.1 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.0294/1.49, allocations: 7.925 MB / 1.414 GB, free: 2.086 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/1.49, allocations: 12.03 kB / 1.414 GB, free: 2.074 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002871/1.49, allocations: 147.2 kB / 1.414 GB, free: 1.93 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00387/1.494, allocations: 0.7759 MB / 1.415 GB, free: 1.145 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/1.5, allocations: 0.879 MB / 1.415 GB, free: 268 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.517, allocations: 6.342 MB / 1.422 GB, free: 9.859 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/1.517, allocations: 423 kB / 1.422 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/1.52, allocations: 0.5351 MB / 1.423 GB, free: 8.91 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/1.544, allocations: 8.076 MB / 1.43 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003363/1.544, allocations: 19.83 kB / 1.43 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/1.546, allocations: 244 kB / 1.431 GB, free: 344 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/1.547, allocations: 163.9 kB / 1.431 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/1.564, allocations: 6.532 MB / 1.437 GB, free: 9.633 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.06094/1.625, allocations: 31.24 MB / 1.468 GB, free: 8.559 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007607/1.633, allocations: 3.452 MB / 1.471 GB, free: 5.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/1.638, allocations: 2.582 MB / 1.474 GB, free: 2.523 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.639, allocations: 0.828 MB / 1.474 GB, free: 1.527 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.639, allocations: 64.67 kB / 1.474 GB, free: 1.453 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 5.651e-06/1.639, allocations: 0 / 1.474 GB, free: 1.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01481/1.654, allocations: 5.785 MB / 1.48 GB, free: 11.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/1.654, allocations: 81.52 kB / 1.48 GB, free: 11.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.667, allocations: 5.228 MB / 1.485 GB, free: 6.25 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008004/1.668, allocations: 81.7 kB / 1.485 GB, free: 6.164 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00403/1.672, allocations: 2.934 MB / 1.488 GB, free: 3.207 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002454/1.674, allocations: 0.9761 MB / 1.489 GB, free: 2.223 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003671/1.678, allocations: 0.7156 MB / 1.49 GB, free: 1.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.678, allocations: 313.1 kB / 1.49 GB, free: 1.191 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/1.682, allocations: 1.678 MB / 1.492 GB, free: 15.51 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/1.688, allocations: 2.932 MB / 1.495 GB, free: 12.03 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.699, allocations: 4.962 MB / 1.5 GB, free: 6.473 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.957e-05/1.699, allocations: 12 kB / 1.5 GB, free: 6.461 MB / 1.186 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0168/1.716, allocations: 5.444 MB / 1.505 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/1.716, allocations: 24 kB / 1.505 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.555e-05/1.716, allocations: 40 kB / 1.505 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/1.717, allocations: 427.9 kB / 1.505 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/1.721, allocations: 0.8541 MB / 1.506 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/1.729, allocations: 5.712 MB / 1.512 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.734, allocations: 0.5316 MB / 1.512 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.735, allocations: 176 kB / 1.512 GB, free: 8.934 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.006165/1.742, allocations: 2.288 MB / 1.515 GB, free: 6.633 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002531/1.744, allocations: 0.5046 MB / 1.515 GB, free: 6.125 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.755, allocations: 4.17 MB / 1.519 GB, free: 1.898 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/1.755, allocations: 24 kB / 1.519 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/1.755, allocations: 4 kB / 1.519 GB, free: 1.871 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007372/1.763, allocations: 3.632 MB / 1.523 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/1.793, allocations: 10.26 MB / 1.533 GB, free: 3.691 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/1.793, allocations: 4 kB / 1.533 GB, free: 3.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/1.796, allocations: 0.4998 MB / 1.533 GB, free: 3.188 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.797, allocations: 369.3 kB / 1.534 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000604/1.797, allocations: 79.95 kB / 1.534 GB, free: 2.742 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007528/1.805, allocations: 5.633 MB / 1.539 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/1.805, allocations: 15.92 kB / 1.539 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.82, allocations: 6.257 MB / 1.545 GB, free: 6.391 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/1.824, allocations: 1.122 MB / 1.546 GB, free: 5.246 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002335/1.827, allocations: 63.98 kB / 1.547 GB, free: 5.184 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004934/1.831, allocations: 179.8 kB / 1.547 GB, free: 5.008 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000748/1.832, allocations: 181.6 kB / 1.547 GB, free: 4.828 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007446/1.833, allocations: 123.9 kB / 1.547 GB, free: 4.707 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.009856/1.843, allocations: 3.839 MB / 1.551 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.21e-07/1.843, allocations: 0 / 1.551 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009332/1.852, allocations: 1.809 MB / 1.553 GB, free: 15.07 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.01748/1.87, allocations: 7.175 MB / 1.56 GB, free: 7.719 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.881, allocations: 4.132 MB / 1.564 GB, free: 3.543 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.777e-05/1.881, allocations: 4 kB / 1.564 GB, free: 3.539 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005209/1.886, allocations: 1.931 MB / 1.565 GB, free: 1.578 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02133/1.908, allocations: 3.453 MB / 1.569 GB, free: 14.22 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1168/2.025, allocations: 47.11 MB / 1.615 GB, free: 13.43 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009053/2.034, allocations: 4.311 MB / 1.619 GB, free: 9.082 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.009423/2.043, allocations: 1.859 MB / 1.621 GB, free: 7.238 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006859/2.05, allocations: 2.444 MB / 1.623 GB, free: 4.793 MB / 1.311 GB Notification: Performance of SimCode: time 1.644e-06/2.05, allocations: 0 / 1.623 GB, free: 4.793 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3/2.35, allocations: 154.7 MB / 1.774 GB, free: 11.09 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.08/24.43, allocations: 11.75 kB / 1.774 GB, free: 11.09 MB / 1.467 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/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: 32.14551354100695]