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.001689/0.001689, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002066/0.002066, allocations: 213.8 kB / 22.99 MB, free: 4.984 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002075/0.002075, allocations: 77.3 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3942, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06164/0.4558, allocations: 51.68 MB / 1.378 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02738/0.4832, allocations: 16.84 MB / 1.394 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.487, allocations: 103.1 kB / 1.394 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.4905, allocations: 0.9003 MB / 1.395 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009375/0.4998, allocations: 2.674 MB / 1.398 GB, free: 8.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.5047, allocations: 1.572 MB / 1.399 GB, free: 7.004 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02534/0.5301, allocations: 21.83 MB / 1.42 GB, free: 1.121 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.5424, allocations: 7.117 MB / 1.427 GB, free: 9.883 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.5598, allocations: 7.579 MB / 1.435 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.5732, allocations: 6.584 MB / 1.441 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003681/0.5768, allocations: 0.9375 MB / 1.442 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007677/0.5845, allocations: 1.585 MB / 1.444 GB, free: 9.188 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004857/0.5894, allocations: 2.43 MB / 1.446 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.5994, allocations: 3.876 MB / 1.45 GB, free: 2.859 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02127/0.6207, allocations: 13.36 MB / 1.463 GB, free: 5.453 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6207, allocations: 0 / 1.463 GB, free: 5.453 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6207, allocations: 0 / 1.463 GB, free: 5.453 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004912/0.6212, allocations: 4 kB / 1.463 GB, free: 5.449 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.02592/0.6471, allocations: 8.638 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6472, allocations: 8.031 kB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.6522, allocations: 0.9566 MB / 1.472 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/0.669, allocations: 6.785 MB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005406/0.6695, allocations: 468.3 kB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.672, allocations: 0.5937 MB / 1.48 GB, free: 3.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.6958, allocations: 10.1 MB / 1.49 GB, free: 9.16 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/0.696, allocations: 23.83 kB / 1.49 GB, free: 9.137 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/0.6973, allocations: 264 kB / 1.49 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.6975, allocations: 179.9 kB / 1.49 GB, free: 8.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.7168, allocations: 7.449 MB / 1.497 GB, free: 1.246 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.05622/0.773, allocations: 26.36 MB / 1.523 GB, free: 6.438 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007169/0.7802, allocations: 3.965 MB / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005589/0.7858, allocations: 3.029 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.7869, allocations: 202.3 kB / 1.53 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005721/0.7926, allocations: 3.456 MB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003067/0.7957, allocations: 325.8 kB / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 9.428e-06/0.7957, allocations: 0 / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01439/0.8101, allocations: 6.946 MB / 1.541 GB, free: 4.164 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.8102, allocations: 85.91 kB / 1.541 GB, free: 4.066 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00838/0.8185, allocations: 4.977 MB / 1.546 GB, free: 15.09 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/0.8199, allocations: 89.7 kB / 1.546 GB, free: 14.99 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00482/0.8247, allocations: 3.275 MB / 1.549 GB, free: 11.7 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002422/0.8271, allocations: 1.178 MB / 1.55 GB, free: 10.51 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/0.8287, allocations: 0.8624 MB / 1.551 GB, free: 9.633 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8288, allocations: 305.1 kB / 1.551 GB, free: 9.332 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/0.8325, allocations: 2.189 MB / 1.553 GB, free: 7.129 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005034/0.8375, allocations: 3.834 MB / 1.557 GB, free: 2.562 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009568/0.8471, allocations: 6.323 MB / 1.563 GB, free: 11.52 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.452e-05/0.8471, allocations: 16 kB / 1.563 GB, free: 11.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01264/0.8598, allocations: 6.753 MB / 1.57 GB, free: 4.695 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.8599, allocations: 56.05 kB / 1.57 GB, free: 4.637 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.81e-05/0.86, allocations: 48 kB / 1.57 GB, free: 4.59 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.861, allocations: 434.9 kB / 1.57 GB, free: 4.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.865, allocations: 1.006 MB / 1.571 GB, free: 3.152 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.8714, allocations: 5.368 MB / 1.577 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.8763, allocations: 279.5 kB / 1.577 GB, free: 13.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000608/0.8769, allocations: 224.1 kB / 1.577 GB, free: 13.1 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.004798/0.8817, allocations: 2.489 MB / 1.58 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/0.8832, allocations: 0.4929 MB / 1.58 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009089/0.8923, allocations: 5.199 MB / 1.585 GB, free: 4.848 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/0.8923, allocations: 39.98 kB / 1.585 GB, free: 4.809 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.8923, allocations: 4 kB / 1.585 GB, free: 4.805 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006946/0.8993, allocations: 4.512 MB / 1.59 GB, free: 188 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.923, allocations: 10.44 MB / 1.6 GB, free: 5.625 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.923, allocations: 7.938 kB / 1.6 GB, free: 5.617 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/0.926, allocations: 0.6438 MB / 1.6 GB, free: 4.973 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/0.927, allocations: 365.4 kB / 1.601 GB, free: 4.609 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/0.9273, allocations: 83.95 kB / 1.601 GB, free: 4.527 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811/2.739, allocations: 5.269 MB / 1.606 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.739, allocations: 0.9375 kB / 1.606 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/2.754, allocations: 7.685 MB / 1.613 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004669/2.759, allocations: 1.075 MB / 1.615 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/2.761, allocations: 65.08 kB / 1.615 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004578/2.765, allocations: 198.2 kB / 1.615 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006886/2.766, allocations: 210.7 kB / 1.615 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005276/2.767, allocations: 138.9 kB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.009366/2.776, allocations: 3.387 MB / 1.618 GB, free: 254 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.4e-07/2.776, allocations: 0.625 kB / 1.618 GB, free: 254 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01122/2.787, allocations: 2.093 MB / 1.62 GB, free: 253.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.002076/2.789, allocations: 475.8 kB / 1.621 GB, free: 253.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01665/2.806, allocations: 5.259 MB / 1.626 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.513e-05/2.806, allocations: 7.469 kB / 1.626 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006437/2.812, allocations: 2.37 MB / 1.628 GB, free: 250.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01975/2.832, allocations: 2.769 MB / 1.631 GB, free: 250.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03871/2.871, allocations: 13.98 MB / 1.645 GB, free: 244.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.877, allocations: 4.151 MB / 1.649 GB, free: 243.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006908/2.884, allocations: 1.865 MB / 1.651 GB, free: 242.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/2.886, allocations: 434.8 kB / 1.651 GB, free: 242.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.663e-06/2.886, allocations: 0 / 1.651 GB, free: 242.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1572/3.043, allocations: 114.9 MB / 1.763 GB, free: 130.6 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 -s cvode -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/jenkins1/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.013014999989537]