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.001958/0.001958, allocations: 106 kB / 18.84 MB, free: 3.023 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.003012/0.003012, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.465/1.465, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.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.967/2.967, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.002064/0.002064, allocations: 71.88 kB / 1.137 GB, free: 12.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345/1.347, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05848/1.405, allocations: 56.49 MB / 1.362 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03344/1.439, allocations: 18.01 MB / 1.379 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/1.444, allocations: 102 kB / 1.38 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004622/1.448, allocations: 0.9237 MB / 1.38 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/1.461, allocations: 2.659 MB / 1.383 GB, free: 10.78 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006783/1.468, allocations: 1.597 MB / 1.385 GB, free: 9.879 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0404/1.508, allocations: 21.84 MB / 1.406 GB, free: 15.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01616/1.524, allocations: 7.083 MB / 1.413 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0248/1.549, allocations: 7.524 MB / 1.42 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02272/1.572, allocations: 6.585 MB / 1.427 GB, free: 5.715 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.006765/1.579, allocations: 0.9385 MB / 1.428 GB, free: 5.715 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/1.594, allocations: 1.576 MB / 1.429 GB, free: 5.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.01001/1.604, allocations: 2.43 MB / 1.431 GB, free: 3.883 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.02076/1.625, allocations: 4.724 MB / 1.436 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03253/1.657, allocations: 13.24 MB / 1.449 GB, free: 7.188 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/1.657, allocations: 0 / 1.449 GB, free: 7.188 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.935e-06/1.657, allocations: 0 / 1.449 GB, free: 7.188 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0007112/1.658, allocations: 0 / 1.449 GB, free: 7.188 MB / 1.123 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.03876/1.697, allocations: 8.642 MB / 1.457 GB, free: 14.46 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.697, allocations: 16.02 kB / 1.457 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/1.704, allocations: 0.8942 MB / 1.458 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.727, allocations: 6.777 MB / 1.465 GB, free: 6.684 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/1.728, allocations: 460.4 kB / 1.465 GB, free: 6.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005606/1.734, allocations: 0.6015 MB / 1.466 GB, free: 5.629 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/1.769, allocations: 9.036 MB / 1.475 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/1.769, allocations: 23.86 kB / 1.475 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003195/1.772, allocations: 264 kB / 1.475 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/1.773, allocations: 172 kB / 1.475 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/1.796, allocations: 7.465 MB / 1.483 GB, free: 4.348 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.07607/1.872, allocations: 35.89 MB / 1.518 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008539/1.88, allocations: 3.999 MB / 1.522 GB, free: 10.4 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006167/1.886, allocations: 3.03 MB / 1.524 GB, free: 7.359 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.888, allocations: 214.2 kB / 1.525 GB, free: 7.148 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005976/1.893, allocations: 2.394 MB / 1.527 GB, free: 4.719 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00433/1.898, allocations: 397 kB / 1.527 GB, free: 4.328 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.448e-05/1.898, allocations: 0 / 1.527 GB, free: 4.328 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01909/1.917, allocations: 7.004 MB / 1.534 GB, free: 13.27 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.917, allocations: 85.89 kB / 1.534 GB, free: 13.18 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01619/1.933, allocations: 5.682 MB / 1.54 GB, free: 7.516 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/1.935, allocations: 97.64 kB / 1.54 GB, free: 7.414 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.005863/1.94, allocations: 3.267 MB / 1.543 GB, free: 4.121 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002788/1.943, allocations: 1.178 MB / 1.544 GB, free: 2.934 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004095/1.947, allocations: 0.8585 MB / 1.545 GB, free: 2.062 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.947, allocations: 305.1 kB / 1.545 GB, free: 1.762 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004947/1.952, allocations: 2.163 MB / 1.548 GB, free: 15.59 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006358/1.959, allocations: 3.697 MB / 1.551 GB, free: 11.19 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.97, allocations: 6.323 MB / 1.557 GB, free: 4.152 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.399e-05/1.97, allocations: 19.94 kB / 1.557 GB, free: 4.133 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01745/1.988, allocations: 6.783 MB / 1.564 GB, free: 13.3 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.988, allocations: 57.73 kB / 1.564 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.988, allocations: 48 kB / 1.564 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/1.989, allocations: 437.3 kB / 1.564 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004843/1.994, allocations: 0.9984 MB / 1.565 GB, free: 11.76 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/2.002, allocations: 5.492 MB / 1.571 GB, free: 6.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007619/2.009, allocations: 291.5 kB / 1.571 GB, free: 5.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/2.011, allocations: 216 kB / 1.571 GB, free: 5.547 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.00862/2.019, allocations: 2.487 MB / 1.574 GB, free: 3.047 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003489/2.023, allocations: 0.5473 MB / 1.574 GB, free: 2.496 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/2.037, allocations: 5.263 MB / 1.579 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/2.038, allocations: 35.98 kB / 1.579 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/2.038, allocations: 4 kB / 1.579 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008994/2.047, allocations: 4.52 MB / 1.584 GB, free: 8.512 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/2.081, allocations: 12.02 MB / 1.596 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/2.081, allocations: 4 kB / 1.596 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/2.085, allocations: 0.6438 MB / 1.596 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/2.086, allocations: 367.8 kB / 1.597 GB, free: 11.33 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000588/2.086, allocations: 83.95 kB / 1.597 GB, free: 11.25 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/2.093, allocations: 5.408 MB / 1.602 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.093, allocations: 0 / 1.602 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/2.111, allocations: 7.787 MB / 1.61 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005443/2.116, allocations: 1.139 MB / 1.611 GB, free: 12.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002766/2.119, allocations: 71.92 kB / 1.611 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005567/2.124, allocations: 207.9 kB / 1.611 GB, free: 12.32 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008255/2.125, allocations: 210 kB / 1.611 GB, free: 12.12 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007818/2.126, allocations: 143.9 kB / 1.611 GB, free: 11.98 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.01097/2.137, allocations: 3.967 MB / 1.615 GB, free: 8.031 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.137, allocations: 4 kB / 1.615 GB, free: 8.027 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01217/2.149, allocations: 2.023 MB / 1.617 GB, free: 6 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.002534/2.152, allocations: 499.9 kB / 1.618 GB, free: 5.512 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01189/2.164, allocations: 5.24 MB / 1.623 GB, free: 224 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.164, allocations: 4 kB / 1.623 GB, free: 220 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005167/2.169, allocations: 2.378 MB / 1.625 GB, free: 13.81 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02371/2.192, allocations: 3.389 MB / 1.628 GB, free: 10.51 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03887/2.231, allocations: 14.18 MB / 1.642 GB, free: 12.26 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007126/2.238, allocations: 4.624 MB / 1.647 GB, free: 7.602 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.008344/2.247, allocations: 2.079 MB / 1.649 GB, free: 5.527 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/2.249, allocations: 459.3 kB / 1.649 GB, free: 5.078 MB / 1.326 GB Notification: Performance of SimCode: time 1.603e-06/2.249, allocations: 3.938 kB / 1.649 GB, free: 5.074 MB / 1.326 GB Notification: Performance of Templates: time 0.223/2.472, allocations: 120.7 MB / 1.767 GB, free: 13.18 MB / 1.451 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: 14.518325082026422]