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.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.001242/0.001242, allocations: 110 kB / 18.93 MB, free: 2.945 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.001343/0.001343, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.95/2.95, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: 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: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 68.83 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.355, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06006/0.415, allocations: 57.04 MB / 1.363 GB, free: 8.523 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.4415, allocations: 18.16 MB / 1.381 GB, free: 6.312 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.4454, allocations: 107.1 kB / 1.381 GB, free: 6.207 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.449, allocations: 0.9236 MB / 1.382 GB, free: 5.277 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009506/0.4585, allocations: 2.659 MB / 1.384 GB, free: 2.605 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.4637, allocations: 1.599 MB / 1.386 GB, free: 1.016 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0282/0.4919, allocations: 21.83 MB / 1.407 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.504, allocations: 7.101 MB / 1.414 GB, free: 3.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.5205, allocations: 7.521 MB / 1.421 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/0.5342, allocations: 6.584 MB / 1.428 GB, free: 5.801 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003837/0.538, allocations: 0.9414 MB / 1.429 GB, free: 4.859 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00769/0.5457, allocations: 1.737 MB / 1.431 GB, free: 3.121 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00493/0.5506, allocations: 2.434 MB / 1.433 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.5621, allocations: 4.723 MB / 1.438 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.5837, allocations: 13.27 MB / 1.45 GB, free: 14.63 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5837, allocations: 4 kB / 1.45 GB, free: 14.62 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5837, allocations: 0 / 1.45 GB, free: 14.62 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0005386/0.5843, allocations: 0 / 1.45 GB, free: 14.62 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.02824/0.6125, allocations: 8.63 MB / 1.459 GB, free: 5.91 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.6126, allocations: 8.922 kB / 1.459 GB, free: 5.902 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005399/0.618, allocations: 0.8981 MB / 1.46 GB, free: 5 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.6345, allocations: 6.777 MB / 1.466 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/0.6351, allocations: 464.3 kB / 1.467 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.6376, allocations: 0.6053 MB / 1.467 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.6618, allocations: 9.032 MB / 1.476 GB, free: 3.715 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/0.6621, allocations: 19.88 kB / 1.476 GB, free: 3.695 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/0.664, allocations: 260 kB / 1.477 GB, free: 3.441 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002222/0.6643, allocations: 183.9 kB / 1.477 GB, free: 3.262 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.6815, allocations: 7.465 MB / 1.484 GB, free: 11.79 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.06327/0.7448, allocations: 36.01 MB / 1.519 GB, free: 5.711 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/0.7522, allocations: 3.999 MB / 1.523 GB, free: 1.715 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/0.7575, allocations: 3.043 MB / 1.526 GB, free: 14.67 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.7586, allocations: 218.2 kB / 1.526 GB, free: 14.45 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004682/0.7633, allocations: 2.39 MB / 1.529 GB, free: 12.03 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002617/0.7659, allocations: 401.1 kB / 1.529 GB, free: 11.63 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.082e-05/0.7659, allocations: 0 / 1.529 GB, free: 11.63 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01495/0.7808, allocations: 6.992 MB / 1.536 GB, free: 4.59 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.7809, allocations: 89.91 kB / 1.536 GB, free: 4.488 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/0.7929, allocations: 5.682 MB / 1.541 GB, free: 14.83 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0009232/0.7938, allocations: 89.64 kB / 1.542 GB, free: 14.73 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.004225/0.798, allocations: 3.275 MB / 1.545 GB, free: 11.43 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/0.8001, allocations: 1.162 MB / 1.546 GB, free: 10.26 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002725/0.8029, allocations: 0.8624 MB / 1.547 GB, free: 9.387 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.803, allocations: 309.1 kB / 1.547 GB, free: 9.082 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/0.8071, allocations: 2.16 MB / 1.549 GB, free: 6.914 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/0.8124, allocations: 3.697 MB / 1.553 GB, free: 2.52 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/0.822, allocations: 6.327 MB / 1.559 GB, free: 11.47 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.222e-05/0.822, allocations: 16 kB / 1.559 GB, free: 11.46 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01355/0.8356, allocations: 6.786 MB / 1.566 GB, free: 4.621 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/0.8357, allocations: 57.69 kB / 1.566 GB, free: 4.559 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-05/0.8358, allocations: 48.91 kB / 1.566 GB, free: 4.512 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.8368, allocations: 433.3 kB / 1.566 GB, free: 4.082 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.8406, allocations: 1.006 MB / 1.567 GB, free: 3.074 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006318/0.847, allocations: 5.496 MB / 1.572 GB, free: 13.35 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/0.8517, allocations: 283.7 kB / 1.573 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008345/0.8526, allocations: 220 kB / 1.573 GB, free: 12.86 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.005179/0.8578, allocations: 2.489 MB / 1.575 GB, free: 10.36 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/0.8601, allocations: 0.5513 MB / 1.576 GB, free: 9.801 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.8716, allocations: 5.255 MB / 1.581 GB, free: 4.488 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/0.8717, allocations: 32 kB / 1.581 GB, free: 4.457 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/0.8717, allocations: 8 kB / 1.581 GB, free: 4.449 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007631/0.8793, allocations: 4.512 MB / 1.585 GB, free: 15.83 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/0.906, allocations: 12.03 MB / 1.597 GB, free: 3.664 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.906, allocations: 4 kB / 1.597 GB, free: 3.66 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/0.9089, allocations: 0.6438 MB / 1.598 GB, free: 3.016 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009214/0.9098, allocations: 369.3 kB / 1.598 GB, free: 2.648 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000428/0.9103, allocations: 87.95 kB / 1.598 GB, free: 2.562 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.9163, allocations: 5.415 MB / 1.603 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.9163, allocations: 4 kB / 1.604 GB, free: 12.92 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.9302, allocations: 7.784 MB / 1.611 GB, free: 5.043 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003694/0.9339, allocations: 1.143 MB / 1.612 GB, free: 3.898 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/0.9355, allocations: 71.92 kB / 1.612 GB, free: 3.828 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/0.9393, allocations: 195.8 kB / 1.612 GB, free: 3.637 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/0.9399, allocations: 210.1 kB / 1.613 GB, free: 3.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004657/0.9403, allocations: 139.9 kB / 1.613 GB, free: 3.293 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6887/1.629, allocations: 3.961 MB / 1.617 GB, free: 286.4 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.4e-07/1.629, allocations: 0 / 1.617 GB, free: 286.4 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00701/1.636, allocations: 2.03 MB / 1.619 GB, free: 286.4 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.001133/1.637, allocations: 496.6 kB / 1.619 GB, free: 286.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.008176/1.645, allocations: 5.239 MB / 1.624 GB, free: 285.5 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.645, allocations: 4.562 kB / 1.624 GB, free: 285.5 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.004232/1.65, allocations: 2.381 MB / 1.627 GB, free: 284.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01273/1.662, allocations: 3.395 MB / 1.63 GB, free: 283.7 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.683, allocations: 14.15 MB / 1.644 GB, free: 277.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/1.687, allocations: 4.64 MB / 1.648 GB, free: 276.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005447/1.692, allocations: 2.069 MB / 1.65 GB, free: 275.8 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.693, allocations: 467.2 kB / 1.651 GB, free: 275.8 MB / 1.311 GB Notification: Performance of SimCode: time 9.42e-07/1.693, allocations: 0 / 1.651 GB, free: 275.8 MB / 1.311 GB Notification: Performance of Templates: time 0.1416/1.835, allocations: 120.8 MB / 1.769 GB, free: 165 MB / 1.311 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/jenkins/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: 12.7759973667562]