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.00148/0.00148, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00163/0.00163, allocations: 208.7 kB / 23 MB, free: 4.574 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.915/2.915, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [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.001868/0.001868, allocations: 69.28 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.314, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06032/0.3743, allocations: 57.28 MB / 1.383 GB, free: 7.934 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.3992, allocations: 18.22 MB / 1.401 GB, free: 5.66 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.4018, allocations: 99.19 kB / 1.401 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.4042, allocations: 0.9157 MB / 1.402 GB, free: 4.641 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006595/0.4108, allocations: 2.674 MB / 1.404 GB, free: 1.953 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.4144, allocations: 1.602 MB / 1.406 GB, free: 368 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02285/0.4372, allocations: 21.83 MB / 1.427 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.4493, allocations: 7.097 MB / 1.434 GB, free: 3.25 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01854/0.4678, allocations: 7.529 MB / 1.442 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.4794, allocations: 6.584 MB / 1.448 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.00309/0.4825, allocations: 0.9375 MB / 1.449 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006617/0.4891, allocations: 1.776 MB / 1.451 GB, free: 2.414 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004509/0.4936, allocations: 2.434 MB / 1.453 GB, free: 15.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.5039, allocations: 4.731 MB / 1.458 GB, free: 11.22 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.5234, allocations: 13.32 MB / 1.471 GB, free: 13.86 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.5234, allocations: 0 / 1.471 GB, free: 13.86 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5234, allocations: 0 / 1.471 GB, free: 13.86 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004653/0.5239, allocations: 0 / 1.471 GB, free: 13.86 MB / 1.17 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.02227/0.5461, allocations: 8.645 MB / 1.479 GB, free: 5.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5462, allocations: 8.031 kB / 1.479 GB, free: 5.125 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.5502, allocations: 0.9527 MB / 1.48 GB, free: 4.168 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.5664, allocations: 6.788 MB / 1.487 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000545/0.5669, allocations: 464.3 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.5695, allocations: 0.5898 MB / 1.488 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.5888, allocations: 9.04 MB / 1.497 GB, free: 2.891 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.589, allocations: 27.81 kB / 1.497 GB, free: 2.863 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007674/0.5897, allocations: 264 kB / 1.497 GB, free: 2.605 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.5899, allocations: 179.9 kB / 1.497 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.6053, allocations: 7.461 MB / 1.504 GB, free: 10.96 MB / 1.201 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.05639/0.6617, allocations: 36.01 MB / 1.539 GB, free: 4.875 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/0.6684, allocations: 3.987 MB / 1.543 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004734/0.6731, allocations: 3.042 MB / 1.546 GB, free: 13.84 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.674, allocations: 214.2 kB / 1.547 GB, free: 13.62 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003876/0.6779, allocations: 2.398 MB / 1.549 GB, free: 11.19 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002267/0.6802, allocations: 393.1 kB / 1.549 GB, free: 10.8 MB / 1.248 GB Notification: Performance of pre-optimization done (n=317): time 5.56e-06/0.6802, allocations: 0 / 1.549 GB, free: 10.8 MB / 1.248 GB Notification: Performance of matching and sorting (n=317): time 0.01306/0.6933, allocations: 7.012 MB / 1.556 GB, free: 3.742 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.6933, allocations: 85.91 kB / 1.556 GB, free: 3.645 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009318/0.7026, allocations: 5.678 MB / 1.562 GB, free: 13.99 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0008117/0.7035, allocations: 93.69 kB / 1.562 GB, free: 13.89 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003548/0.707, allocations: 3.271 MB / 1.565 GB, free: 10.59 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/0.7088, allocations: 1.166 MB / 1.566 GB, free: 9.418 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.7102, allocations: 0.8586 MB / 1.567 GB, free: 8.547 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7103, allocations: 305.1 kB / 1.567 GB, free: 8.246 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.7139, allocations: 2.163 MB / 1.569 GB, free: 6.074 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.7187, allocations: 3.693 MB / 1.573 GB, free: 1.68 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009043/0.7278, allocations: 6.327 MB / 1.579 GB, free: 10.63 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-05/0.7278, allocations: 12 kB / 1.579 GB, free: 10.62 MB / 1.279 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01254/0.7404, allocations: 6.798 MB / 1.586 GB, free: 3.773 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/0.7405, allocations: 53.7 kB / 1.586 GB, free: 3.715 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.586e-05/0.7405, allocations: 48 kB / 1.586 GB, free: 3.668 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.7415, allocations: 432 kB / 1.586 GB, free: 3.242 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/0.7453, allocations: 1.006 MB / 1.587 GB, free: 2.234 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00647/0.7517, allocations: 5.486 MB / 1.593 GB, free: 12.52 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.7564, allocations: 291.6 kB / 1.593 GB, free: 12.23 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/0.757, allocations: 220 kB / 1.593 GB, free: 12.02 MB / 1.295 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.00472/0.7618, allocations: 2.484 MB / 1.596 GB, free: 9.523 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/0.7633, allocations: 0.5512 MB / 1.596 GB, free: 8.969 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009308/0.7726, allocations: 5.255 MB / 1.601 GB, free: 3.656 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.7727, allocations: 35.98 kB / 1.601 GB, free: 3.621 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7727, allocations: 4 kB / 1.601 GB, free: 3.617 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184/1.957, allocations: 4.519 MB / 1.606 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.979, allocations: 12.01 MB / 1.617 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.979, allocations: 4.922 kB / 1.617 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.982, allocations: 0.6407 MB / 1.618 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009917/1.983, allocations: 379.2 kB / 1.618 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.983, allocations: 83.42 kB / 1.619 GB, free: 254.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/1.989, allocations: 5.405 MB / 1.624 GB, free: 250.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.989, allocations: 1.5 kB / 1.624 GB, free: 250.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/2, allocations: 7.785 MB / 1.631 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/2.003, allocations: 1.147 MB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/2.004, allocations: 68.66 kB / 1.633 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/2.007, allocations: 201.9 kB / 1.633 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/2.008, allocations: 208.6 kB / 1.633 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/2.008, allocations: 140.7 kB / 1.633 GB, free: 247.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005717/2.014, allocations: 3.972 MB / 1.637 GB, free: 245.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.014, allocations: 0 / 1.637 GB, free: 245.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005917/2.02, allocations: 2.034 MB / 1.639 GB, free: 245.5 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.001029/2.021, allocations: 471.6 kB / 1.639 GB, free: 245.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006525/2.027, allocations: 5.238 MB / 1.645 GB, free: 243.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.027, allocations: 5.094 kB / 1.645 GB, free: 243.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/2.03, allocations: 2.38 MB / 1.647 GB, free: 242.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01304/2.043, allocations: 3.39 MB / 1.65 GB, free: 241.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/2.061, allocations: 14.23 MB / 1.664 GB, free: 231.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/2.064, allocations: 4.549 MB / 1.669 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/2.065, allocations: 491.3 kB / 1.669 GB, free: 226.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.733e-06/2.065, allocations: 0 / 1.669 GB, free: 226.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1574/2.223, allocations: 188.5 MB / 1.853 GB, free: 38.54 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] 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: 26.156297989015002]