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.001793/0.001793, allocations: 114.2 kB / 17.08 MB, free: 6.012 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.001622/0.001622, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.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 2.932/2.932, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 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: 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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06119/1.108, allocations: 56.09 MB / 1.317 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02753/1.136, allocations: 17.95 MB / 1.335 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/1.14, allocations: 73.56 kB / 1.335 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003271/1.143, allocations: 0.8986 MB / 1.336 GB, free: 2.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009179/1.152, allocations: 2.491 MB / 1.338 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/1.157, allocations: 1.529 MB / 1.34 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02585/1.183, allocations: 21.28 MB / 1.361 GB, free: 5.801 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/1.199, allocations: 10.68 MB / 1.371 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01776/1.217, allocations: 7.348 MB / 1.378 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/1.231, allocations: 6.283 MB / 1.384 GB, free: 8.641 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003751/1.234, allocations: 0.9374 MB / 1.385 GB, free: 8.641 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009309/1.244, allocations: 1.697 MB / 1.387 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00496/1.249, allocations: 2.346 MB / 1.389 GB, free: 6.422 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01285/1.262, allocations: 4.725 MB / 1.394 GB, free: 2.027 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02291/1.285, allocations: 13.25 MB / 1.407 GB, free: 4.734 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.285, allocations: 0 / 1.407 GB, free: 4.734 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/1.285, allocations: 0 / 1.407 GB, free: 4.734 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004616/1.285, allocations: 0 / 1.407 GB, free: 4.734 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02478/1.31, allocations: 8.713 MB / 1.415 GB, free: 11.92 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.31, allocations: 11.97 kB / 1.415 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/1.315, allocations: 0.8942 MB / 1.416 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.329, allocations: 6.759 MB / 1.423 GB, free: 4.191 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/1.329, allocations: 460.4 kB / 1.423 GB, free: 3.738 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/1.331, allocations: 0.6093 MB / 1.424 GB, free: 3.129 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/1.349, allocations: 9.021 MB / 1.433 GB, free: 9.785 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.349, allocations: 23.81 kB / 1.433 GB, free: 9.762 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008358/1.35, allocations: 260 kB / 1.433 GB, free: 9.508 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/1.35, allocations: 179.9 kB / 1.433 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/1.365, allocations: 7.449 MB / 1.44 GB, free: 1.875 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.05384/1.419, allocations: 36.11 MB / 1.476 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006878/1.426, allocations: 4.284 MB / 1.48 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004995/1.431, allocations: 3.297 MB / 1.483 GB, free: 4.117 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.432, allocations: 0.9583 MB / 1.484 GB, free: 2.973 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/1.437, allocations: 2.39 MB / 1.486 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002302/1.439, allocations: 385.1 kB / 1.487 GB, free: 172 kB / 1.17 GB Notification: Performance of pre-optimization done (n=317): time 9.728e-06/1.439, allocations: 0 / 1.487 GB, free: 172 kB / 1.17 GB Notification: Performance of matching and sorting (n=317): time 0.01427/1.453, allocations: 7.155 MB / 1.494 GB, free: 8.922 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/1.453, allocations: 89.89 kB / 1.494 GB, free: 8.82 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008813/1.462, allocations: 5.667 MB / 1.499 GB, free: 3.176 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005879/1.463, allocations: 89.7 kB / 1.499 GB, free: 3.082 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003323/1.466, allocations: 3.267 MB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/1.468, allocations: 1.17 MB / 1.504 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/1.469, allocations: 0.8624 MB / 1.504 GB, free: 13.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.469, allocations: 309.1 kB / 1.505 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/1.473, allocations: 2.163 MB / 1.507 GB, free: 11.26 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/1.478, allocations: 3.697 MB / 1.51 GB, free: 6.867 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009453/1.487, allocations: 6.319 MB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/1.487, allocations: 12 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01428/1.501, allocations: 6.806 MB / 1.523 GB, free: 8.965 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 9.815e-05/1.502, allocations: 49.7 kB / 1.523 GB, free: 8.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.219e-05/1.502, allocations: 52 kB / 1.523 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.503, allocations: 436.6 kB / 1.524 GB, free: 8.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/1.507, allocations: 1.006 MB / 1.525 GB, free: 7.422 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/1.513, allocations: 5.701 MB / 1.53 GB, free: 1.441 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.518, allocations: 291.7 kB / 1.531 GB, free: 1.156 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/1.519, allocations: 220 kB / 1.531 GB, free: 0.9414 MB / 1.217 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.004697/1.524, allocations: 2.474 MB / 1.533 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.525, allocations: 0.559 MB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/1.535, allocations: 5.27 MB / 1.539 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/1.535, allocations: 28 kB / 1.539 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.535, allocations: 8 kB / 1.539 GB, free: 8.527 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007012/1.542, allocations: 4.528 MB / 1.543 GB, free: 3.895 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/1.565, allocations: 11.99 MB / 1.555 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.565, allocations: 0 / 1.555 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.568, allocations: 0.6438 MB / 1.556 GB, free: 7.117 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/1.569, allocations: 373.3 kB / 1.556 GB, free: 6.746 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/1.569, allocations: 79.95 kB / 1.556 GB, free: 6.668 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/1.576, allocations: 5.626 MB / 1.562 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/1.576, allocations: 0 / 1.562 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.59, allocations: 7.795 MB / 1.569 GB, free: 8.883 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003781/1.594, allocations: 1.181 MB / 1.57 GB, free: 7.68 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.595, allocations: 71.92 kB / 1.57 GB, free: 7.609 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/1.598, allocations: 199.7 kB / 1.571 GB, free: 7.414 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.599, allocations: 202.2 kB / 1.571 GB, free: 7.215 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003575/1.599, allocations: 143.8 kB / 1.571 GB, free: 7.074 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.007179/1.607, allocations: 3.963 MB / 1.575 GB, free: 3.133 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.8e-07/1.607, allocations: 0 / 1.575 GB, free: 3.133 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006946/1.613, allocations: 2.027 MB / 1.577 GB, free: 1.102 MB / 1.264 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.001534/1.615, allocations: 493.7 kB / 1.577 GB, free: 0.6172 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009829/1.625, allocations: 5.448 MB / 1.583 GB, free: 11.12 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.625, allocations: 4 kB / 1.583 GB, free: 11.11 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004197/1.629, allocations: 2.545 MB / 1.585 GB, free: 8.539 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/1.645, allocations: 3.398 MB / 1.588 GB, free: 5.23 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.669, allocations: 14.13 MB / 1.602 GB, free: 7.02 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/1.674, allocations: 4.549 MB / 1.607 GB, free: 2.441 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.676, allocations: 487.3 kB / 1.607 GB, free: 1.965 MB / 1.295 GB Notification: Performance of SimCode: time 7.31e-07/1.676, allocations: 4 kB / 1.607 GB, free: 1.961 MB / 1.295 GB Notification: Performance of Templates: time 0.2551/1.932, allocations: 188 MB / 1.791 GB, free: 6.309 MB / 1.482 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] 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: 29.531016872031614]