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.0007897/0.0007897, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007974/0.0007974, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9152/0.9152, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.769/1.769, allocations: 377.9 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 3.984 kB / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.525e-05, allocations: 9.312 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0358/0.03584, allocations: 51.25 MB / 1.032 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.6497/0.6855, allocations: 16.77 MB / 1.049 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.6884, allocations: 98.91 kB / 1.049 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.6903, allocations: 0.9116 MB / 1.05 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.6957, allocations: 2.732 MB / 1.052 GB, free: 44.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.6987, allocations: 1.668 MB / 1.054 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01342/0.7121, allocations: 22.13 MB / 1.076 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008351/0.7204, allocations: 7.1 MB / 1.082 GB, free: 36.72 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02475/0.7452, allocations: 10.35 MB / 1.093 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01316/0.7583, allocations: 6.314 MB / 1.099 GB, free: 30.8 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003677/0.762, allocations: 0.9387 MB / 1.1 GB, free: 30.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006916/0.7689, allocations: 1.6 MB / 1.101 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.772, allocations: 2.493 MB / 1.104 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.009227/0.7812, allocations: 3.354 MB / 1.107 GB, free: 27.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01955/0.8008, allocations: 13.51 MB / 1.12 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8008, allocations: 0 / 1.12 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8008, allocations: 0 / 1.12 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005384/0.8013, allocations: 0 / 1.12 GB, free: 23.62 MB / 0.9948 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.02172/0.8231, allocations: 8.558 MB / 1.128 GB, free: 19.17 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.8231, allocations: 10.31 kB / 1.128 GB, free: 19.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.8266, allocations: 0.9553 MB / 1.129 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.8387, allocations: 6.786 MB / 1.136 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.8391, allocations: 460 kB / 1.136 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.8404, allocations: 0.5958 MB / 1.137 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.8557, allocations: 10.1 MB / 1.147 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.8558, allocations: 28.67 kB / 1.147 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005999/0.8564, allocations: 261 kB / 1.147 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.8566, allocations: 187.9 kB / 1.147 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.8668, allocations: 7.448 MB / 1.155 GB, free: 7.582 MB / 0.9948 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.03161/0.8984, allocations: 26.32 MB / 1.18 GB, free: 4.242 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.9026, allocations: 3.977 MB / 1.184 GB, free: 324 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.9057, allocations: 3.039 MB / 1.187 GB, free: 13.28 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.9063, allocations: 206.3 kB / 1.187 GB, free: 13.08 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/0.9095, allocations: 3.452 MB / 1.191 GB, free: 9.336 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002425/0.9119, allocations: 324 kB / 1.191 GB, free: 9.02 MB / 1.026 GB Notification: Performance of pre-optimization done (n=317): time 1.203e-05/0.9119, allocations: 0 / 1.191 GB, free: 9.02 MB / 1.026 GB Notification: Performance of matching and sorting (n=317): time 0.008626/0.9205, allocations: 6.938 MB / 1.198 GB, free: 2.051 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.9206, allocations: 89.91 kB / 1.198 GB, free: 1.949 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/0.9268, allocations: 4.983 MB / 1.203 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.9272, allocations: 89.7 kB / 1.203 GB, free: 12.87 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002665/0.9298, allocations: 3.265 MB / 1.206 GB, free: 9.605 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.9309, allocations: 1.162 MB / 1.207 GB, free: 8.457 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009483/0.9318, allocations: 0.8507 MB / 1.208 GB, free: 7.594 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.9319, allocations: 305.1 kB / 1.208 GB, free: 7.293 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.9343, allocations: 2.189 MB / 1.21 GB, free: 5.09 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.9372, allocations: 3.822 MB / 1.214 GB, free: 0.5586 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005686/0.9429, allocations: 6.333 MB / 1.22 GB, free: 9.715 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/0.9429, allocations: 16 kB / 1.22 GB, free: 9.699 MB / 1.057 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008028/0.9509, allocations: 6.754 MB / 1.227 GB, free: 3.191 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.951, allocations: 53.7 kB / 1.227 GB, free: 3.133 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.9511, allocations: 48 kB / 1.227 GB, free: 3.086 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000672/0.9517, allocations: 437.4 kB / 1.227 GB, free: 2.656 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.9537, allocations: 1.007 MB / 1.228 GB, free: 1.719 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.9578, allocations: 5.371 MB / 1.234 GB, free: 12.21 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/0.9612, allocations: 287.7 kB / 1.234 GB, free: 11.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/0.9615, allocations: 220 kB / 1.234 GB, free: 11.71 MB / 1.073 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.004497/0.966, allocations: 2.485 MB / 1.237 GB, free: 9.285 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/0.9671, allocations: 0.4891 MB / 1.237 GB, free: 8.793 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/0.9729, allocations: 5.193 MB / 1.242 GB, free: 3.555 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.9729, allocations: 35.98 kB / 1.242 GB, free: 3.52 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9729, allocations: 4 kB / 1.242 GB, free: 3.516 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004488/0.9774, allocations: 4.525 MB / 1.247 GB, free: 14.9 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.9912, allocations: 10.44 MB / 1.257 GB, free: 4.469 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9912, allocations: 0 / 1.257 GB, free: 4.469 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.9927, allocations: 0.6429 MB / 1.257 GB, free: 3.852 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/0.9932, allocations: 374.3 kB / 1.258 GB, free: 3.484 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.9934, allocations: 83.95 kB / 1.258 GB, free: 3.402 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/0.9971, allocations: 5.28 MB / 1.263 GB, free: 13.96 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9972, allocations: 3.938 kB / 1.263 GB, free: 13.96 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/1.006, allocations: 7.676 MB / 1.271 GB, free: 6.203 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.008, allocations: 1.081 MB / 1.272 GB, free: 5.121 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/1.009, allocations: 67.98 kB / 1.272 GB, free: 5.055 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.01, allocations: 193.9 kB / 1.272 GB, free: 4.867 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/1.011, allocations: 206.1 kB / 1.272 GB, free: 4.664 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002507/1.011, allocations: 143.9 kB / 1.272 GB, free: 4.523 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.004606/1.016, allocations: 3.384 MB / 1.276 GB, free: 1.145 MB / 1.104 GB Notification: Performance of sort global known variables: time 8e-08/1.016, allocations: 0 / 1.276 GB, free: 1.145 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.005526/1.021, allocations: 2.089 MB / 1.278 GB, free: 15.05 MB / 1.12 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.0009202/1.022, allocations: 0.4902 MB / 1.278 GB, free: 14.6 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.005925/1.028, allocations: 5.256 MB / 1.283 GB, free: 9.461 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.028, allocations: 3.938 kB / 1.283 GB, free: 9.457 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/1.03, allocations: 2.37 MB / 1.285 GB, free: 7.117 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007944/1.038, allocations: 2.765 MB / 1.288 GB, free: 4.441 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.057, allocations: 13.71 MB / 1.302 GB, free: 6.68 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/1.06, allocations: 4.06 MB / 1.306 GB, free: 2.582 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/1.062, allocations: 467.2 kB / 1.306 GB, free: 2.125 MB / 1.135 GB Notification: Performance of SimCode: time 1.874e-06/1.062, allocations: 0 / 1.306 GB, free: 2.125 MB / 1.135 GB Notification: Performance of Templates: time 0.152/1.214, allocations: 182.8 MB / 1.485 GB, free: 11.84 MB / 1.323 GB " [Timeout remaining time 299] 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: 22.337156890891492]