Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001575/0.001575, allocations: 104.6 kB / 16.45 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.001625/0.001625, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.263/3.263, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 66.3 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06226/0.4399, allocations: 56.5 MB / 1.359 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.4675, allocations: 18.03 MB / 1.377 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.471, allocations: 79.56 kB / 1.377 GB, free: 6.656 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.4745, allocations: 0.9313 MB / 1.378 GB, free: 5.719 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.4835, allocations: 2.608 MB / 1.38 GB, free: 3.098 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.4882, allocations: 1.543 MB / 1.382 GB, free: 1.562 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02439/0.5126, allocations: 21.27 MB / 1.403 GB, free: 12.24 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.5268, allocations: 8.878 MB / 1.411 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01843/0.5453, allocations: 7.418 MB / 1.418 GB, free: 11.85 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01276/0.558, allocations: 6.576 MB / 1.425 GB, free: 5.246 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003317/0.5613, allocations: 0.9375 MB / 1.426 GB, free: 4.309 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007343/0.5687, allocations: 1.729 MB / 1.427 GB, free: 2.578 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004715/0.5734, allocations: 2.426 MB / 1.43 GB, free: 148 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.5845, allocations: 4.727 MB / 1.434 GB, free: 11.4 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02099/0.6055, allocations: 13.27 MB / 1.447 GB, free: 14.08 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6055, allocations: 0 / 1.447 GB, free: 14.08 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6055, allocations: 4 kB / 1.447 GB, free: 14.08 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004677/0.6059, allocations: 0 / 1.447 GB, free: 14.08 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.02293/0.6289, allocations: 8.701 MB / 1.456 GB, free: 5.273 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6289, allocations: 12.92 kB / 1.456 GB, free: 5.262 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002272/0.6312, allocations: 0.8383 MB / 1.457 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.6345, allocations: 0.8942 MB / 1.458 GB, free: 3.516 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.6507, allocations: 6.755 MB / 1.464 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/0.6512, allocations: 460.2 kB / 1.465 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/0.6533, allocations: 0.5976 MB / 1.465 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.6731, allocations: 9.04 MB / 1.474 GB, free: 2.289 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.6733, allocations: 19.83 kB / 1.474 GB, free: 2.27 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/0.6744, allocations: 264 kB / 1.474 GB, free: 2.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.6746, allocations: 183.9 kB / 1.475 GB, free: 1.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.6902, allocations: 7.457 MB / 1.482 GB, free: 10.37 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.05744/0.7476, allocations: 36.11 MB / 1.517 GB, free: 4.199 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007038/0.7547, allocations: 4.007 MB / 1.521 GB, free: 188 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/0.7599, allocations: 3.031 MB / 1.524 GB, free: 13.14 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.7613, allocations: 0.9544 MB / 1.525 GB, free: 12 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004655/0.766, allocations: 2.398 MB / 1.527 GB, free: 9.57 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00239/0.7684, allocations: 400.9 kB / 1.528 GB, free: 9.176 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 7.343e-06/0.7684, allocations: 4 kB / 1.528 GB, free: 9.172 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01505/0.7834, allocations: 7.143 MB / 1.535 GB, free: 1.941 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.7835, allocations: 85.91 kB / 1.535 GB, free: 1.844 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/0.7946, allocations: 5.67 MB / 1.54 GB, free: 12.2 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0009085/0.7955, allocations: 89.69 kB / 1.54 GB, free: 12.1 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.004223/0.7997, allocations: 3.271 MB / 1.543 GB, free: 8.805 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/0.802, allocations: 1.166 MB / 1.545 GB, free: 7.629 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.8036, allocations: 0.8624 MB / 1.545 GB, free: 6.754 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.8039, allocations: 305.1 kB / 1.546 GB, free: 6.453 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/0.808, allocations: 2.167 MB / 1.548 GB, free: 4.277 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/0.8135, allocations: 3.701 MB / 1.551 GB, free: 15.88 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.8235, allocations: 6.315 MB / 1.558 GB, free: 8.844 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.8236, allocations: 12 kB / 1.558 GB, free: 8.832 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0131/0.8367, allocations: 6.79 MB / 1.564 GB, free: 1.992 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.8368, allocations: 59.41 kB / 1.564 GB, free: 1.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.272e-05/0.8368, allocations: 48 kB / 1.564 GB, free: 1.883 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.8379, allocations: 433.6 kB / 1.565 GB, free: 1.453 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.842, allocations: 1.006 MB / 1.566 GB, free: 456 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007803/0.8498, allocations: 5.715 MB / 1.571 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/0.8555, allocations: 283.5 kB / 1.572 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/0.8562, allocations: 220 kB / 1.572 GB, free: 9.969 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.005171/0.8613, allocations: 2.481 MB / 1.574 GB, free: 7.477 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/0.8632, allocations: 0.5551 MB / 1.575 GB, free: 6.918 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.8735, allocations: 5.251 MB / 1.58 GB, free: 1.609 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.8735, allocations: 35.98 kB / 1.58 GB, free: 1.574 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.8735, allocations: 4 kB / 1.58 GB, free: 1.57 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007663/0.8812, allocations: 4.512 MB / 1.584 GB, free: 12.95 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/0.9068, allocations: 11.97 MB / 1.596 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9068, allocations: 4.125 kB / 1.596 GB, free: 0.8242 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/0.9098, allocations: 0.6397 MB / 1.597 GB, free: 188 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009609/0.9107, allocations: 365.3 kB / 1.597 GB, free: 15.82 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003692/0.9111, allocations: 91.95 kB / 1.597 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007026/0.9181, allocations: 5.627 MB / 1.603 GB, free: 9.832 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9181, allocations: 0 / 1.603 GB, free: 9.832 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.9332, allocations: 7.787 MB / 1.61 GB, free: 1.949 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004319/0.9376, allocations: 1.181 MB / 1.611 GB, free: 0.7461 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/0.9392, allocations: 67.92 kB / 1.611 GB, free: 0.6797 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/0.943, allocations: 191.9 kB / 1.612 GB, free: 0.4922 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/0.9436, allocations: 198.2 kB / 1.612 GB, free: 304 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004169/0.944, allocations: 147.9 kB / 1.612 GB, free: 156 kB / 1.311 GB Notification: Performance of sorting global known variables: time 0.8524/1.796, allocations: 3.954 MB / 1.616 GB, free: 287.1 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.5e-07/1.796, allocations: 0 / 1.616 GB, free: 287.1 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.009656/1.806, allocations: 2.027 MB / 1.618 GB, free: 287.1 MB / 1.311 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.01995/1.826, allocations: 8.723 MB / 1.626 GB, free: 283.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.837, allocations: 5.241 MB / 1.631 GB, free: 282 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.837, allocations: 2.344 kB / 1.631 GB, free: 282 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.004946/1.842, allocations: 2.378 MB / 1.634 GB, free: 281.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01764/1.86, allocations: 3.401 MB / 1.637 GB, free: 280.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09289/1.953, allocations: 52.52 MB / 1.688 GB, free: 239.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007226/1.96, allocations: 4.636 MB / 1.693 GB, free: 235 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.009155/1.969, allocations: 2.084 MB / 1.695 GB, free: 232.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006399/1.976, allocations: 2.671 MB / 1.698 GB, free: 230.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.994e-06/1.976, allocations: 0 / 1.698 GB, free: 230.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/2.235, allocations: 160.6 MB / 1.854 GB, free: 71.05 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.01/24.24, allocations: 15.92 kB / 1.854 GB, free: 71.04 MB / 1.311 GB " [Timeout remaining time 276] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 31.59111623186618]