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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001465/0.001465, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.781 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.518/3.518, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] 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.002209/0.002209, allocations: 74.66 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3886, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06809/0.4567, allocations: 51.66 MB / 1.376 GB, free: 14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.4854, allocations: 16.85 MB / 1.392 GB, free: 13.1 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.489, allocations: 99.19 kB / 1.393 GB, free: 13 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.4927, allocations: 0.8963 MB / 1.393 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009342/0.502, allocations: 2.662 MB / 1.396 GB, free: 9.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.5068, allocations: 1.565 MB / 1.398 GB, free: 7.871 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02774/0.5345, allocations: 22.03 MB / 1.419 GB, free: 1.781 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.5488, allocations: 7.105 MB / 1.426 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01999/0.5688, allocations: 7.578 MB / 1.433 GB, free: 2.996 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01709/0.5859, allocations: 6.893 MB / 1.44 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.004398/0.5903, allocations: 0.9414 MB / 1.441 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008562/0.5989, allocations: 1.573 MB / 1.443 GB, free: 9.562 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005412/0.6043, allocations: 2.434 MB / 1.445 GB, free: 7.121 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01095/0.6152, allocations: 3.879 MB / 1.449 GB, free: 3.227 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02027/0.6355, allocations: 13.35 MB / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6355, allocations: 0 / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6355, allocations: 4 kB / 1.462 GB, free: 5.828 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.000479/0.636, allocations: 0 / 1.462 GB, free: 5.828 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.02826/0.6642, allocations: 8.646 MB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.6643, allocations: 12.03 kB / 1.47 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.671, allocations: 0.9528 MB / 1.471 GB, free: 12.13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.6901, allocations: 6.781 MB / 1.478 GB, free: 5.266 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005901/0.6907, allocations: 464.3 kB / 1.478 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002656/0.6934, allocations: 0.6015 MB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.7181, allocations: 10.1 MB / 1.489 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/0.7184, allocations: 19.83 kB / 1.489 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/0.7202, allocations: 256 kB / 1.489 GB, free: 9.254 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.7205, allocations: 183.9 kB / 1.489 GB, free: 9.074 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/0.7455, allocations: 7.449 MB / 1.496 GB, free: 1.617 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.06238/0.8079, allocations: 26.36 MB / 1.522 GB, free: 6.809 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007684/0.8155, allocations: 3.964 MB / 1.526 GB, free: 2.84 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005784/0.8213, allocations: 3.018 MB / 1.529 GB, free: 15.81 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.8224, allocations: 214.2 kB / 1.529 GB, free: 15.6 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005699/0.8281, allocations: 3.456 MB / 1.533 GB, free: 11.85 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002787/0.8309, allocations: 325.8 kB / 1.533 GB, free: 11.53 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.693e-05/0.8309, allocations: 0 / 1.533 GB, free: 11.53 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01803/0.849, allocations: 6.946 MB / 1.54 GB, free: 4.535 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.8491, allocations: 85.91 kB / 1.54 GB, free: 4.438 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/0.8624, allocations: 4.981 MB / 1.545 GB, free: 15.45 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008751/0.8633, allocations: 89.7 kB / 1.545 GB, free: 15.36 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.004369/0.8677, allocations: 3.275 MB / 1.548 GB, free: 12.06 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/0.8697, allocations: 1.178 MB / 1.549 GB, free: 10.88 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/0.8724, allocations: 0.8585 MB / 1.55 GB, free: 10 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8725, allocations: 305.1 kB / 1.55 GB, free: 9.703 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.8769, allocations: 2.189 MB / 1.552 GB, free: 7.5 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/0.8825, allocations: 3.83 MB / 1.556 GB, free: 2.938 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.8931, allocations: 6.331 MB / 1.562 GB, free: 11.89 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.233e-05/0.8931, allocations: 12 kB / 1.562 GB, free: 11.88 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01439/0.9075, allocations: 6.749 MB / 1.569 GB, free: 5.07 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.9076, allocations: 57.69 kB / 1.569 GB, free: 5.008 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.9077, allocations: 48 kB / 1.569 GB, free: 4.961 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.9089, allocations: 440.8 kB / 1.569 GB, free: 4.527 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/0.9131, allocations: 1.01 MB / 1.57 GB, free: 3.516 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007214/0.9203, allocations: 5.354 MB / 1.576 GB, free: 13.97 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005303/0.9256, allocations: 283.5 kB / 1.576 GB, free: 13.69 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009118/0.9265, allocations: 219.9 kB / 1.576 GB, free: 13.48 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.006044/0.9326, allocations: 2.476 MB / 1.578 GB, free: 10.99 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002474/0.935, allocations: 0.493 MB / 1.579 GB, free: 10.49 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.9473, allocations: 5.21 MB / 1.584 GB, free: 5.223 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/0.9473, allocations: 28.05 kB / 1.584 GB, free: 5.195 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/0.9473, allocations: 11.98 kB / 1.584 GB, free: 5.184 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008114/0.9555, allocations: 4.524 MB / 1.588 GB, free: 0.5547 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/0.9817, allocations: 10.44 MB / 1.599 GB, free: 5.996 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.9817, allocations: 7.938 kB / 1.599 GB, free: 5.988 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00298/0.9847, allocations: 0.6477 MB / 1.599 GB, free: 5.34 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000966/0.9857, allocations: 367.1 kB / 1.6 GB, free: 4.977 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/0.986, allocations: 83.95 kB / 1.6 GB, free: 4.895 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787/2.773, allocations: 5.274 MB / 1.605 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/2.773, allocations: 1.844 kB / 1.605 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/2.788, allocations: 7.682 MB / 1.612 GB, free: 256.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004116/2.792, allocations: 1.07 MB / 1.613 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/2.793, allocations: 68.62 kB / 1.613 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003332/2.796, allocations: 196.9 kB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005868/2.797, allocations: 210.2 kB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003588/2.797, allocations: 140.5 kB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008261/2.806, allocations: 3.385 MB / 1.617 GB, free: 255 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.806, allocations: 1.344 kB / 1.617 GB, free: 255 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01002/2.816, allocations: 2.091 MB / 1.619 GB, free: 254.9 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.001552/2.817, allocations: 480.2 kB / 1.62 GB, free: 254.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01019/2.827, allocations: 5.258 MB / 1.625 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/2.827, allocations: 5.938 kB / 1.625 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004265/2.832, allocations: 2.367 MB / 1.627 GB, free: 251.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/2.846, allocations: 2.767 MB / 1.63 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/2.869, allocations: 13.98 MB / 1.644 GB, free: 245.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/2.873, allocations: 4.15 MB / 1.648 GB, free: 244.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006458/2.88, allocations: 1.864 MB / 1.65 GB, free: 243.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/2.881, allocations: 432.3 kB / 1.65 GB, free: 243.8 MB / 1.295 GB Notification: Performance of SimCode: time 2.345e-06/2.881, allocations: 0 / 1.65 GB, free: 243.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1453/3.026, allocations: 113.1 MB / 1.76 GB, free: 133.5 MB / 1.295 GB " [Timeout remaining time 297] 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: 15.199912818148732]