Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001611/0.001611, allocations: 101.3 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.001956/0.001956, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.026/3.026, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001963/0.001963, allocations: 61.86 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3705, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05861/0.4291, allocations: 51.61 MB / 1.377 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.4538, allocations: 16.82 MB / 1.393 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.4575, allocations: 103.1 kB / 1.394 GB, free: 12.76 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.4603, allocations: 0.8885 MB / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.4684, allocations: 2.671 MB / 1.397 GB, free: 9.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.4725, allocations: 1.582 MB / 1.399 GB, free: 7.605 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02419/0.4967, allocations: 21.83 MB / 1.42 GB, free: 1.719 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.5071, allocations: 7.093 MB / 1.427 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.522, allocations: 7.581 MB / 1.434 GB, free: 2.941 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.5339, allocations: 6.576 MB / 1.441 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003031/0.5369, allocations: 0.9413 MB / 1.442 GB, free: 11.4 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007101/0.544, allocations: 1.589 MB / 1.443 GB, free: 9.809 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.5493, allocations: 2.426 MB / 1.445 GB, free: 7.375 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.5608, allocations: 3.876 MB / 1.449 GB, free: 3.484 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.5809, allocations: 13.37 MB / 1.462 GB, free: 6.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5809, allocations: 0 / 1.462 GB, free: 6.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5809, allocations: 0 / 1.462 GB, free: 6.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004534/0.5814, allocations: 0 / 1.462 GB, free: 6.07 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02344/0.6048, allocations: 8.643 MB / 1.471 GB, free: 13.35 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6049, allocations: 8.031 kB / 1.471 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000215/0.6051, allocations: 160.4 kB / 1.471 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003185/0.6083, allocations: 0.8383 MB / 1.472 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/0.6131, allocations: 0.9528 MB / 1.473 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/0.6303, allocations: 6.792 MB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005294/0.6309, allocations: 460.2 kB / 1.48 GB, free: 4.047 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/0.6334, allocations: 0.5976 MB / 1.48 GB, free: 3.449 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.658, allocations: 10.1 MB / 1.49 GB, free: 8.766 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.6582, allocations: 19.83 kB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.6593, allocations: 264 kB / 1.49 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.6596, allocations: 183.9 kB / 1.491 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.6784, allocations: 7.465 MB / 1.498 GB, free: 0.8359 MB / 1.186 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.06611/0.7445, allocations: 27.26 MB / 1.525 GB, free: 5.117 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008163/0.7527, allocations: 3.975 MB / 1.528 GB, free: 1.141 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006264/0.759, allocations: 3.025 MB / 1.531 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.7601, allocations: 206.3 kB / 1.532 GB, free: 13.9 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006124/0.7662, allocations: 3.46 MB / 1.535 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003053/0.7693, allocations: 397.1 kB / 1.535 GB, free: 9.758 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.279e-05/0.7693, allocations: 0 / 1.535 GB, free: 9.758 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01709/0.7864, allocations: 7.008 MB / 1.542 GB, free: 2.699 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.7865, allocations: 81.91 kB / 1.542 GB, free: 2.605 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/0.8016, allocations: 5.678 MB / 1.548 GB, free: 12.95 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0009878/0.8026, allocations: 89.7 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.005028/0.8076, allocations: 3.275 MB / 1.551 GB, free: 9.555 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00247/0.8101, allocations: 1.17 MB / 1.552 GB, free: 8.375 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/0.8131, allocations: 0.8586 MB / 1.553 GB, free: 7.504 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8133, allocations: 305.1 kB / 1.553 GB, free: 7.203 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/0.8177, allocations: 2.189 MB / 1.555 GB, free: 5 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005835/0.8236, allocations: 3.834 MB / 1.559 GB, free: 448 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.8344, allocations: 6.319 MB / 1.565 GB, free: 9.402 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.326e-05/0.8344, allocations: 12 kB / 1.565 GB, free: 9.391 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01662/0.8511, allocations: 6.827 MB / 1.572 GB, free: 2.508 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.8512, allocations: 55.52 kB / 1.572 GB, free: 2.449 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.8513, allocations: 48 kB / 1.572 GB, free: 2.402 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.8525, allocations: 441.6 kB / 1.573 GB, free: 1.965 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/0.857, allocations: 1.002 MB / 1.574 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007248/0.8642, allocations: 5.417 MB / 1.579 GB, free: 11.32 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/0.8698, allocations: 291.7 kB / 1.579 GB, free: 11.04 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.8709, allocations: 220 kB / 1.579 GB, free: 10.82 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.00647/0.8774, allocations: 2.475 MB / 1.582 GB, free: 8.336 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/0.88, allocations: 0.559 MB / 1.582 GB, free: 7.773 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.8927, allocations: 5.259 MB / 1.587 GB, free: 2.457 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.8927, allocations: 32 kB / 1.587 GB, free: 2.426 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/0.8928, allocations: 4 kB / 1.587 GB, free: 2.422 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008581/0.9013, allocations: 4.524 MB / 1.592 GB, free: 13.79 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/0.9318, allocations: 11.08 MB / 1.603 GB, free: 2.59 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.9318, allocations: 128 / 1.603 GB, free: 2.59 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/0.9352, allocations: 0.6476 MB / 1.603 GB, free: 1.941 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.9362, allocations: 376.6 kB / 1.604 GB, free: 1.57 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005522/0.9368, allocations: 83.95 kB / 1.604 GB, free: 1.488 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7432/1.68, allocations: 5.329 MB / 1.609 GB, free: 256.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.68, allocations: 0.9375 kB / 1.609 GB, free: 256.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.695, allocations: 7.75 MB / 1.617 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/1.7, allocations: 1.14 MB / 1.618 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/1.702, allocations: 68.69 kB / 1.618 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004927/1.707, allocations: 198.5 kB / 1.618 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009654/1.708, allocations: 208 kB / 1.618 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006908/1.708, allocations: 141.5 kB / 1.618 GB, free: 254.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0112/1.719, allocations: 3.965 MB / 1.622 GB, free: 252.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/1.719, allocations: 1.156 kB / 1.622 GB, free: 252.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009025/1.728, allocations: 2.029 MB / 1.624 GB, free: 252.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.016/1.744, allocations: 8.679 MB / 1.633 GB, free: 249 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009835/1.754, allocations: 5.267 MB / 1.638 GB, free: 247 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.754, allocations: 3.938 kB / 1.638 GB, free: 247 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003995/1.758, allocations: 2.369 MB / 1.64 GB, free: 246 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01742/1.776, allocations: 3.392 MB / 1.643 GB, free: 245.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07884/1.855, allocations: 52.75 MB / 1.695 GB, free: 197.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/1.858, allocations: 4.145 MB / 1.699 GB, free: 192.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005932/1.864, allocations: 2.072 MB / 1.701 GB, free: 190.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004373/1.868, allocations: 2.674 MB / 1.704 GB, free: 188.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.573e-06/1.868, allocations: 0 / 1.704 GB, free: 188.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2203/2.089, allocations: 171.5 MB / 1.871 GB, free: 18.71 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.6/25.69, allocations: 12 kB / 1.871 GB, free: 18.7 MB / 1.295 GB " [Timeout remaining time 274] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: 33.04914754501078]