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.001342/0.001342, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001473/0.001473, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.419/1.419, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.791/2.791, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002052/0.002052, allocations: 71.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7866, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06135/0.848, allocations: 56.95 MB / 1.33 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02774/0.8757, allocations: 18.16 MB / 1.347 GB, free: 9.191 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.8789, allocations: 83.5 kB / 1.347 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.8816, allocations: 0.9196 MB / 1.348 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.8891, allocations: 2.62 MB / 1.351 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.8931, allocations: 1.548 MB / 1.352 GB, free: 4.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0233/0.9164, allocations: 21.28 MB / 1.373 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.9274, allocations: 7.081 MB / 1.38 GB, free: 7.477 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01649/0.9439, allocations: 7.262 MB / 1.387 GB, free: 240 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/0.9574, allocations: 6.662 MB / 1.394 GB, free: 9.547 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003524/0.9609, allocations: 0.9375 MB / 1.395 GB, free: 8.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007502/0.9684, allocations: 1.721 MB / 1.396 GB, free: 6.887 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004794/0.9732, allocations: 2.437 MB / 1.399 GB, free: 4.441 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01012/0.9833, allocations: 4.707 MB / 1.403 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/1.002, allocations: 13.22 MB / 1.416 GB, free: 2.449 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.002, allocations: 4 kB / 1.416 GB, free: 2.445 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.983e-06/1.002, allocations: 0 / 1.416 GB, free: 2.445 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000435/1.003, allocations: 0 / 1.416 GB, free: 2.445 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.02365/1.026, allocations: 8.709 MB / 1.425 GB, free: 9.633 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.026, allocations: 8.031 kB / 1.425 GB, free: 9.625 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/1.031, allocations: 0.8981 MB / 1.426 GB, free: 8.719 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/1.048, allocations: 6.737 MB / 1.432 GB, free: 1.926 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/1.048, allocations: 462.5 kB / 1.433 GB, free: 1.473 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/1.05, allocations: 0.5937 MB / 1.433 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/1.07, allocations: 9.04 MB / 1.442 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/1.07, allocations: 27.81 kB / 1.442 GB, free: 7.488 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/1.072, allocations: 263.9 kB / 1.442 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/1.072, allocations: 179.9 kB / 1.442 GB, free: 7.055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/1.088, allocations: 7.461 MB / 1.45 GB, free: 15.59 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.06099/1.149, allocations: 36.08 MB / 1.485 GB, free: 9.453 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/1.157, allocations: 3.995 MB / 1.489 GB, free: 5.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005436/1.162, allocations: 3.036 MB / 1.492 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.164, allocations: 0.9622 MB / 1.493 GB, free: 1.266 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0048/1.169, allocations: 2.39 MB / 1.495 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003159/1.172, allocations: 389.1 kB / 1.496 GB, free: 14.45 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 2.009e-05/1.172, allocations: 4 kB / 1.496 GB, free: 14.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01609/1.188, allocations: 7.158 MB / 1.503 GB, free: 7.207 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.188, allocations: 93.84 kB / 1.503 GB, free: 7.102 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/1.2, allocations: 5.667 MB / 1.508 GB, free: 1.457 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0008/1.2, allocations: 89.7 kB / 1.508 GB, free: 1.363 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00411/1.205, allocations: 3.267 MB / 1.511 GB, free: 14.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/1.206, allocations: 1.174 MB / 1.513 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/1.209, allocations: 0.8624 MB / 1.513 GB, free: 12.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.209, allocations: 301.1 kB / 1.514 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/1.213, allocations: 2.167 MB / 1.516 GB, free: 9.539 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/1.219, allocations: 3.693 MB / 1.519 GB, free: 5.148 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009998/1.229, allocations: 6.323 MB / 1.526 GB, free: 14.11 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.374e-05/1.229, allocations: 12 kB / 1.526 GB, free: 14.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01421/1.243, allocations: 6.786 MB / 1.532 GB, free: 7.258 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 9.711e-05/1.243, allocations: 57.69 kB / 1.532 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.582e-05/1.243, allocations: 48 kB / 1.532 GB, free: 7.148 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/1.244, allocations: 435.5 kB / 1.533 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.249, allocations: 1.006 MB / 1.534 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/1.256, allocations: 5.703 MB / 1.539 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/1.261, allocations: 287.6 kB / 1.54 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000824/1.262, allocations: 220 kB / 1.54 GB, free: 15.24 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.005227/1.267, allocations: 2.487 MB / 1.542 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/1.269, allocations: 0.5512 MB / 1.543 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.28, allocations: 5.251 MB / 1.548 GB, free: 6.875 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/1.28, allocations: 36.17 kB / 1.548 GB, free: 6.84 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.28, allocations: 4.047 kB / 1.548 GB, free: 6.836 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007344/1.287, allocations: 4.528 MB / 1.552 GB, free: 2.203 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.313, allocations: 11.96 MB / 1.564 GB, free: 6.094 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.313, allocations: 8.031 kB / 1.564 GB, free: 6.086 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002979/1.316, allocations: 0.6397 MB / 1.565 GB, free: 5.445 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009442/1.317, allocations: 377.3 kB / 1.565 GB, free: 5.07 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003264/1.317, allocations: 83.95 kB / 1.565 GB, free: 4.988 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006312/1.323, allocations: 5.614 MB / 1.571 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.323, allocations: 3.938 kB / 1.571 GB, free: 15.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.337, allocations: 7.787 MB / 1.578 GB, free: 7.219 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/1.341, allocations: 1.181 MB / 1.579 GB, free: 6.016 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/1.343, allocations: 67.98 kB / 1.579 GB, free: 5.949 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003953/1.346, allocations: 203.9 kB / 1.58 GB, free: 5.75 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/1.347, allocations: 194.2 kB / 1.58 GB, free: 5.559 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004264/1.347, allocations: 147.8 kB / 1.58 GB, free: 5.414 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007817/1.355, allocations: 3.959 MB / 1.584 GB, free: 1.477 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/1.355, allocations: 0 / 1.584 GB, free: 1.477 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007204/1.362, allocations: 2.024 MB / 1.586 GB, free: 15.44 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.001588/1.364, allocations: 496.6 kB / 1.586 GB, free: 14.96 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009607/1.374, allocations: 5.245 MB / 1.591 GB, free: 9.66 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.374, allocations: 4 kB / 1.591 GB, free: 9.656 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/1.378, allocations: 2.373 MB / 1.594 GB, free: 7.254 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01786/1.396, allocations: 3.387 MB / 1.597 GB, free: 3.961 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6385/2.034, allocations: 14.16 MB / 1.611 GB, free: 301.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005587/2.04, allocations: 4.631 MB / 1.615 GB, free: 299.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006473/2.046, allocations: 2.082 MB / 1.617 GB, free: 299.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/2.048, allocations: 466.5 kB / 1.618 GB, free: 299.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.002e-06/2.048, allocations: 0 / 1.618 GB, free: 299.8 MB / 1.295 GB Notification: Performance of Templates: time 0.151/2.199, allocations: 119 MB / 1.734 GB, free: 196.9 MB / 1.295 GB " [Timeout remaining time 298] 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 gbode -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: 13.17793879006058]