Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001864/0.001864, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00226/0.00226, allocations: 201.3 kB / 22.17 MB, free: 5.207 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.614/1.614, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.9734, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06497/1.038, allocations: 56.95 MB / 1.33 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02765/1.066, allocations: 18.15 MB / 1.347 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/1.07, allocations: 79.56 kB / 1.347 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/1.073, allocations: 0.9196 MB / 1.348 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009225/1.082, allocations: 2.624 MB / 1.351 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005352/1.088, allocations: 1.55 MB / 1.352 GB, free: 4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02703/1.115, allocations: 21.29 MB / 1.373 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/1.128, allocations: 7.081 MB / 1.38 GB, free: 7.457 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01708/1.145, allocations: 7.253 MB / 1.387 GB, free: 232 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/1.158, allocations: 6.662 MB / 1.394 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003461/1.162, allocations: 0.9375 MB / 1.395 GB, free: 8.602 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008215/1.17, allocations: 1.721 MB / 1.396 GB, free: 6.879 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005647/1.176, allocations: 2.43 MB / 1.399 GB, free: 4.441 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01296/1.189, allocations: 4.719 MB / 1.403 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/1.21, allocations: 13.22 MB / 1.416 GB, free: 2.441 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.21, allocations: 0 / 1.416 GB, free: 2.441 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.694e-06/1.21, allocations: 3.938 kB / 1.416 GB, free: 2.438 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005112/1.211, allocations: 0 / 1.416 GB, free: 2.438 MB / 1.107 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.02501/1.236, allocations: 8.709 MB / 1.425 GB, free: 9.625 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.236, allocations: 8.031 kB / 1.425 GB, free: 9.617 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/1.243, allocations: 0.8942 MB / 1.426 GB, free: 8.719 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/1.262, allocations: 6.743 MB / 1.432 GB, free: 1.918 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/1.263, allocations: 460.4 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/1.266, allocations: 0.6054 MB / 1.433 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0246/1.29, allocations: 9.04 MB / 1.442 GB, free: 7.496 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/1.29, allocations: 15.88 kB / 1.442 GB, free: 7.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/1.292, allocations: 260 kB / 1.442 GB, free: 7.227 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/1.293, allocations: 179.9 kB / 1.442 GB, free: 7.051 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/1.311, allocations: 7.465 MB / 1.45 GB, free: 15.58 MB / 1.154 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.06939/1.38, allocations: 36.08 MB / 1.485 GB, free: 9.438 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00823/1.388, allocations: 3.995 MB / 1.489 GB, free: 5.438 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006631/1.395, allocations: 3.04 MB / 1.492 GB, free: 2.395 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.397, allocations: 0.9505 MB / 1.493 GB, free: 1.258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006158/1.403, allocations: 2.402 MB / 1.495 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003904/1.407, allocations: 393.1 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.381e-05/1.407, allocations: 0 / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01719/1.424, allocations: 7.147 MB / 1.503 GB, free: 7.199 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/1.424, allocations: 85.91 kB / 1.503 GB, free: 7.102 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.436, allocations: 5.67 MB / 1.508 GB, free: 1.453 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0009254/1.437, allocations: 89.7 kB / 1.508 GB, free: 1.359 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.004063/1.441, allocations: 3.267 MB / 1.511 GB, free: 14.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002216/1.443, allocations: 1.17 MB / 1.513 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/1.445, allocations: 0.8624 MB / 1.513 GB, free: 12.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.445, allocations: 305.1 kB / 1.514 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/1.449, allocations: 2.167 MB / 1.516 GB, free: 9.535 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00508/1.454, allocations: 3.693 MB / 1.519 GB, free: 5.145 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.464, allocations: 6.319 MB / 1.526 GB, free: 14.11 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.044e-05/1.464, allocations: 12 kB / 1.526 GB, free: 14.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01339/1.477, allocations: 6.79 MB / 1.532 GB, free: 7.258 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/1.478, allocations: 53.7 kB / 1.532 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-05/1.478, allocations: 48 kB / 1.532 GB, free: 7.152 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.479, allocations: 439.4 kB / 1.533 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.483, allocations: 1.006 MB / 1.534 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006692/1.489, allocations: 5.721 MB / 1.539 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.495, allocations: 287.7 kB / 1.54 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008998/1.496, allocations: 220 kB / 1.54 GB, free: 15.21 MB / 1.248 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.005768/1.502, allocations: 2.479 MB / 1.542 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/1.504, allocations: 0.5589 MB / 1.543 GB, free: 12.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009683/1.513, allocations: 5.247 MB / 1.548 GB, free: 6.855 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/1.513, allocations: 32 kB / 1.548 GB, free: 6.824 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.513, allocations: 4.047 kB / 1.548 GB, free: 6.82 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007253/1.521, allocations: 4.52 MB / 1.552 GB, free: 2.195 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.547, allocations: 11.97 MB / 1.564 GB, free: 6.078 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.547, allocations: 4 kB / 1.564 GB, free: 6.074 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/1.55, allocations: 0.6438 MB / 1.565 GB, free: 5.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009749/1.551, allocations: 367.3 kB / 1.565 GB, free: 5.066 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/1.551, allocations: 87.95 kB / 1.565 GB, free: 4.98 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006718/1.558, allocations: 5.622 MB / 1.571 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.558, allocations: 0 / 1.571 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.572, allocations: 7.791 MB / 1.578 GB, free: 7.203 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005972/1.578, allocations: 1.181 MB / 1.579 GB, free: 6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001977/1.58, allocations: 67.92 kB / 1.579 GB, free: 5.934 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.584, allocations: 191.8 kB / 1.58 GB, free: 5.746 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/1.584, allocations: 198.2 kB / 1.58 GB, free: 5.551 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004146/1.585, allocations: 147.8 kB / 1.58 GB, free: 5.406 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008057/1.593, allocations: 3.959 MB / 1.584 GB, free: 1.465 MB / 1.279 GB Notification: Performance of sort global known variables: time 3e-07/1.593, allocations: 96 / 1.584 GB, free: 1.465 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008764/1.602, allocations: 2.027 MB / 1.586 GB, free: 15.43 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.001956/1.604, allocations: 494.7 kB / 1.586 GB, free: 14.95 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.614, allocations: 5.241 MB / 1.591 GB, free: 9.66 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.614, allocations: 0 / 1.591 GB, free: 9.66 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00466/1.619, allocations: 2.385 MB / 1.594 GB, free: 7.246 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02291/1.642, allocations: 3.395 MB / 1.597 GB, free: 3.945 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.63/3.272, allocations: 14.16 MB / 1.611 GB, free: 299.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009296/3.281, allocations: 4.628 MB / 1.615 GB, free: 298.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.009257/3.29, allocations: 2.079 MB / 1.617 GB, free: 298.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/3.293, allocations: 462.4 kB / 1.618 GB, free: 298.4 MB / 1.295 GB Notification: Performance of SimCode: time 2.425e-06/3.293, allocations: 3.938 kB / 1.618 GB, free: 298.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1791/3.472, allocations: 119 MB / 1.734 GB, free: 195.1 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.105009033810347]