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.001731/0.001731, allocations: 111.3 kB / 17.6 MB, free: 4.664 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.001817/0.001817, allocations: 186.8 kB / 20.78 MB, free: 1.5 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.532/1.532, allocations: 225.6 MB / 249.4 MB, free: 3.18 MB / 190.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.908/2.908, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 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.002037/0.002037, allocations: 71.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251/1.253, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0625/1.315, allocations: 50.12 MB / 1.32 GB, free: 4.059 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02631/1.342, allocations: 13.95 MB / 1.334 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/1.346, allocations: 68.09 kB / 1.334 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/1.349, allocations: 0.8411 MB / 1.335 GB, free: 9.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00935/1.359, allocations: 2.347 MB / 1.337 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/1.363, allocations: 1.332 MB / 1.339 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02675/1.39, allocations: 19.62 MB / 1.358 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/1.403, allocations: 6.449 MB / 1.364 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0215/1.424, allocations: 6.599 MB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01598/1.44, allocations: 6.036 MB / 1.376 GB, free: 3.379 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004465/1.445, allocations: 0.8436 MB / 1.377 GB, free: 3.379 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/1.457, allocations: 1.622 MB / 1.379 GB, free: 2.941 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.006905/1.464, allocations: 2.213 MB / 1.381 GB, free: 1.223 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01759/1.481, allocations: 4.287 MB / 1.385 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02864/1.51, allocations: 12.1 MB / 1.397 GB, free: 4.406 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/1.51, allocations: 0 / 1.397 GB, free: 4.406 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.604e-06/1.51, allocations: 0 / 1.397 GB, free: 4.406 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0006496/1.511, allocations: 0 / 1.397 GB, free: 4.406 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.02598/1.537, allocations: 7.925 MB / 1.405 GB, free: 12.39 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/1.537, allocations: 8.031 kB / 1.405 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003059/1.54, allocations: 0.7681 MB / 1.405 GB, free: 11.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/1.544, allocations: 0.8204 MB / 1.406 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/1.559, allocations: 6.349 MB / 1.412 GB, free: 4.379 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/1.559, allocations: 419.2 kB / 1.413 GB, free: 3.969 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/1.562, allocations: 0.539 MB / 1.413 GB, free: 3.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/1.585, allocations: 8.076 MB / 1.421 GB, free: 11.11 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/1.586, allocations: 15.88 kB / 1.421 GB, free: 11.1 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/1.587, allocations: 236 kB / 1.421 GB, free: 10.87 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002246/1.587, allocations: 164 kB / 1.422 GB, free: 10.71 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/1.605, allocations: 6.528 MB / 1.428 GB, free: 4.168 MB / 1.108 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.05513/1.66, allocations: 31.27 MB / 1.459 GB, free: 3.07 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/1.666, allocations: 3.44 MB / 1.462 GB, free: 15.63 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004353/1.671, allocations: 2.585 MB / 1.464 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.672, allocations: 0.8241 MB / 1.465 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.513e-05/1.672, allocations: 76.61 kB / 1.465 GB, free: 11.96 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 6.372e-06/1.672, allocations: 3.984 kB / 1.465 GB, free: 11.96 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01282/1.685, allocations: 5.769 MB / 1.471 GB, free: 6.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/1.685, allocations: 81.45 kB / 1.471 GB, free: 5.996 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.695, allocations: 5.239 MB / 1.476 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008602/1.696, allocations: 81.7 kB / 1.476 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.699, allocations: 2.93 MB / 1.479 GB, free: 13.72 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.701, allocations: 0.9839 MB / 1.48 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/1.702, allocations: 0.7195 MB / 1.481 GB, free: 12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.702, allocations: 305.1 kB / 1.481 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/1.705, allocations: 1.67 MB / 1.483 GB, free: 10.03 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/1.709, allocations: 2.936 MB / 1.486 GB, free: 6.543 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/1.717, allocations: 4.97 MB / 1.49 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.183e-05/1.717, allocations: 12 kB / 1.49 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01189/1.729, allocations: 5.448 MB / 1.496 GB, free: 11.46 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.729, allocations: 21.88 kB / 1.496 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-05/1.729, allocations: 40 kB / 1.496 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.73, allocations: 428 kB / 1.496 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/1.733, allocations: 0.8541 MB / 1.497 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/1.741, allocations: 5.717 MB / 1.503 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.746, allocations: 0.5236 MB / 1.503 GB, free: 3.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008341/1.747, allocations: 180 kB / 1.503 GB, free: 3.438 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.005178/1.752, allocations: 2.292 MB / 1.506 GB, free: 1.133 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/1.754, allocations: 0.5007 MB / 1.506 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009537/1.764, allocations: 4.154 MB / 1.51 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.764, allocations: 28 kB / 1.51 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/1.764, allocations: 4 kB / 1.51 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006478/1.77, allocations: 3.628 MB / 1.514 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.797, allocations: 10.26 MB / 1.524 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/1.797, allocations: 4 kB / 1.524 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.8, allocations: 0.4996 MB / 1.524 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/1.801, allocations: 376.4 kB / 1.525 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006357/1.802, allocations: 79.95 kB / 1.525 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/1.809, allocations: 5.632 MB / 1.53 GB, free: 7.34 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.809, allocations: 11.88 kB / 1.53 GB, free: 7.328 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.823, allocations: 6.257 MB / 1.536 GB, free: 0.9023 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003911/1.827, allocations: 1.126 MB / 1.537 GB, free: 15.75 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/1.829, allocations: 59.98 kB / 1.537 GB, free: 15.69 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004551/1.833, allocations: 179.8 kB / 1.538 GB, free: 15.52 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/1.834, allocations: 177.6 kB / 1.538 GB, free: 15.34 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006977/1.835, allocations: 131.9 kB / 1.538 GB, free: 15.21 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.009071/1.844, allocations: 3.839 MB / 1.542 GB, free: 11.39 MB / 1.233 GB Notification: Performance of sort global known variables: time 2.01e-07/1.844, allocations: 0 / 1.542 GB, free: 11.39 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.008851/1.853, allocations: 1.809 MB / 1.543 GB, free: 9.574 MB / 1.233 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.01612/1.869, allocations: 7.202 MB / 1.55 GB, free: 2.211 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.008924/1.878, allocations: 4.132 MB / 1.554 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/1.878, allocations: 4 kB / 1.554 GB, free: 14.03 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/1.882, allocations: 1.931 MB / 1.556 GB, free: 12.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02022/1.902, allocations: 3.448 MB / 1.56 GB, free: 8.723 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1199/2.022, allocations: 47.18 MB / 1.606 GB, free: 7.855 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009557/2.031, allocations: 4.307 MB / 1.61 GB, free: 3.516 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.008906/2.04, allocations: 1.85 MB / 1.612 GB, free: 1.676 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007094/2.047, allocations: 2.448 MB / 1.614 GB, free: 15.23 MB / 1.311 GB Notification: Performance of SimCode: time 1.653e-06/2.047, allocations: 0 / 1.614 GB, free: 15.23 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/2.369, allocations: 155.2 MB / 1.766 GB, free: 4.992 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/24.08, allocations: 15.02 kB / 1.766 GB, free: 4.98 MB / 1.451 GB " [Timeout remaining time 276] (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 --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.008173560985597]