Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002054/0.002054, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002579/0.002579, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.971/2.971, allocations: 389 MB / 0.633 GB, free: 0.9609 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.137e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06491/0.06494, allocations: 51.23 MB / 1.05 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02977/0.09471, allocations: 16.76 MB / 1.067 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.09815, allocations: 103.2 kB / 1.067 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.1012, allocations: 0.9039 MB / 1.067 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009618/0.1108, allocations: 2.723 MB / 1.07 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004975/0.1158, allocations: 1.656 MB / 1.072 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03032/0.1461, allocations: 22.1 MB / 1.093 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.16, allocations: 6.75 MB / 1.1 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02784/0.1878, allocations: 10.32 MB / 1.11 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.2029, allocations: 6.32 MB / 1.116 GB, free: 0 / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003969/0.2069, allocations: 0.9375 MB / 1.117 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00953/0.2164, allocations: 1.584 MB / 1.119 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.005992/0.2224, allocations: 2.492 MB / 1.121 GB, free: 10.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01285/0.2352, allocations: 3.36 MB / 1.124 GB, free: 7.609 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.7211/0.9563, allocations: 13.5 MB / 1.138 GB, free: 81.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9563, allocations: 0 / 1.138 GB, free: 81.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9563, allocations: 0 / 1.138 GB, free: 81.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005635/0.9569, allocations: 0 / 1.138 GB, free: 81.05 MB / 1.076 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.03274/0.9896, allocations: 8.546 MB / 1.146 GB, free: 78.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.9897, allocations: 15.31 kB / 1.146 GB, free: 78.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.9965, allocations: 0.9536 MB / 1.147 GB, free: 77.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.015, allocations: 6.774 MB / 1.153 GB, free: 76.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007342/1.016, allocations: 460 kB / 1.154 GB, free: 76.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003923/1.02, allocations: 0.5962 MB / 1.154 GB, free: 76.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03172/1.052, allocations: 10.09 MB / 1.164 GB, free: 74.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006749/1.052, allocations: 32.88 kB / 1.164 GB, free: 74.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003928/1.056, allocations: 261.8 kB / 1.165 GB, free: 74.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007375/1.057, allocations: 176.8 kB / 1.165 GB, free: 74.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/1.081, allocations: 7.453 MB / 1.172 GB, free: 74.24 MB / 1.076 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.06753/1.149, allocations: 26.32 MB / 1.198 GB, free: 60.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008898/1.158, allocations: 3.972 MB / 1.202 GB, free: 59.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006588/1.164, allocations: 3.038 MB / 1.205 GB, free: 58.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.166, allocations: 194.1 kB / 1.205 GB, free: 58.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00664/1.172, allocations: 3.463 MB / 1.208 GB, free: 56.43 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003939/1.176, allocations: 321.8 kB / 1.208 GB, free: 56.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=317): time 2.754e-05/1.176, allocations: 0 / 1.208 GB, free: 56.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=317): time 0.0195/1.196, allocations: 6.947 MB / 1.215 GB, free: 53.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/1.196, allocations: 84.91 kB / 1.215 GB, free: 53.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/1.209, allocations: 4.973 MB / 1.22 GB, free: 52.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/1.21, allocations: 91.33 kB / 1.22 GB, free: 51.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004193/1.215, allocations: 3.262 MB / 1.223 GB, free: 49.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/1.217, allocations: 1.162 MB / 1.225 GB, free: 48.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00321/1.22, allocations: 0.8518 MB / 1.225 GB, free: 48.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/1.22, allocations: 301.1 kB / 1.226 GB, free: 47.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/1.225, allocations: 2.19 MB / 1.228 GB, free: 47.08 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004998/1.23, allocations: 3.827 MB / 1.232 GB, free: 44.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009138/1.239, allocations: 6.332 MB / 1.238 GB, free: 40.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.09e-05/1.239, allocations: 11.12 kB / 1.238 GB, free: 40.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01378/1.253, allocations: 6.76 MB / 1.244 GB, free: 38.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/1.253, allocations: 55.33 kB / 1.244 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/1.253, allocations: 46.12 kB / 1.245 GB, free: 38.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.254, allocations: 435.3 kB / 1.245 GB, free: 38.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/1.258, allocations: 1.005 MB / 1.246 GB, free: 38.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/1.263, allocations: 5.372 MB / 1.251 GB, free: 34.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006468/1.27, allocations: 293.8 kB / 1.251 GB, free: 34.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.271, allocations: 219.4 kB / 1.252 GB, free: 34.11 MB / 1.076 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.006161/1.277, allocations: 2.483 MB / 1.254 GB, free: 33.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002703/1.28, allocations: 0.4902 MB / 1.255 GB, free: 32.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.291, allocations: 5.201 MB / 1.26 GB, free: 30.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/1.291, allocations: 34.64 kB / 1.26 GB, free: 30.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.291, allocations: 7.25 kB / 1.26 GB, free: 30.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007023/1.298, allocations: 4.526 MB / 1.264 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.323, allocations: 10.43 MB / 1.274 GB, free: 22.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.323, allocations: 0 / 1.274 GB, free: 22.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.326, allocations: 0.6426 MB / 1.275 GB, free: 21.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008839/1.327, allocations: 374.2 kB / 1.275 GB, free: 21.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004964/1.327, allocations: 79.95 kB / 1.275 GB, free: 21.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004584/1.332, allocations: 5.277 MB / 1.28 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.332, allocations: 3.938 kB / 1.28 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.345, allocations: 7.675 MB / 1.288 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003873/1.349, allocations: 1.078 MB / 1.289 GB, free: 6.805 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001916/1.351, allocations: 63.98 kB / 1.289 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004488/1.355, allocations: 201.7 kB / 1.289 GB, free: 6.551 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006255/1.356, allocations: 206.1 kB / 1.289 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005874/1.356, allocations: 139.9 kB / 1.29 GB, free: 6.211 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006724/1.363, allocations: 3.38 MB / 1.293 GB, free: 2.836 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.363, allocations: 0 / 1.293 GB, free: 2.836 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.009577/1.373, allocations: 2.1 MB / 1.295 GB, free: 0.7344 MB / 1.076 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.001792/1.375, allocations: 485.8 kB / 1.295 GB, free: 316 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.386, allocations: 5.271 MB / 1.301 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.386, allocations: 4 kB / 1.301 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/1.392, allocations: 2.367 MB / 1.303 GB, free: 8.824 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02167/1.413, allocations: 2.745 MB / 1.306 GB, free: 6.176 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/1.448, allocations: 13.66 MB / 1.319 GB, free: 8.477 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/1.456, allocations: 4.139 MB / 1.323 GB, free: 4.297 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008471/1.464, allocations: 1.911 MB / 1.325 GB, free: 2.391 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/1.467, allocations: 428.3 kB / 1.325 GB, free: 1.969 MB / 1.107 GB Notification: Performance of SimCode: time 2.334e-06/1.467, allocations: 0 / 1.325 GB, free: 1.969 MB / 1.107 GB Notification: Performance of Templates: time 0.1959/1.663, allocations: 101.9 MB / 1.425 GB, free: 13.94 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.110892932862043]