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.001592/0.001592, allocations: 113 kB / 17.6 MB, free: 4.684 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.001495/0.001495, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.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.805/2.805, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] 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.001997/0.001997, allocations: 63.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339/1.341, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07146/1.413, allocations: 56.95 MB / 1.328 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03478/1.448, allocations: 18.15 MB / 1.345 GB, free: 2.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006036/1.454, allocations: 76.44 kB / 1.345 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/1.458, allocations: 0.9262 MB / 1.346 GB, free: 1.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01262/1.471, allocations: 2.623 MB / 1.349 GB, free: 328 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006536/1.478, allocations: 1.55 MB / 1.35 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03345/1.511, allocations: 21.29 MB / 1.371 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/1.526, allocations: 7.088 MB / 1.378 GB, free: 120 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02292/1.549, allocations: 7.252 MB / 1.385 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01864/1.568, allocations: 6.672 MB / 1.392 GB, free: 8.078 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.005481/1.573, allocations: 0.9387 MB / 1.393 GB, free: 8.078 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/1.586, allocations: 1.723 MB / 1.394 GB, free: 7.641 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.007386/1.593, allocations: 2.437 MB / 1.397 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01621/1.609, allocations: 4.707 MB / 1.401 GB, free: 500 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02755/1.637, allocations: 13.22 MB / 1.414 GB, free: 3.223 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.637, allocations: 0 / 1.414 GB, free: 3.223 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/1.637, allocations: 0 / 1.414 GB, free: 3.223 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005844/1.637, allocations: 0 / 1.414 GB, free: 3.223 MB / 1.092 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.03071/1.668, allocations: 8.694 MB / 1.423 GB, free: 10.43 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/1.668, allocations: 12.03 kB / 1.423 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/1.674, allocations: 0.8981 MB / 1.424 GB, free: 9.512 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/1.691, allocations: 6.739 MB / 1.43 GB, free: 2.719 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/1.692, allocations: 460.4 kB / 1.431 GB, free: 2.266 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/1.694, allocations: 0.6053 MB / 1.431 GB, free: 1.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/1.719, allocations: 9.044 MB / 1.44 GB, free: 8.293 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001845/1.719, allocations: 19.88 kB / 1.44 GB, free: 8.273 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/1.721, allocations: 256 kB / 1.44 GB, free: 8.023 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/1.721, allocations: 187.9 kB / 1.44 GB, free: 7.84 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/1.741, allocations: 7.465 MB / 1.448 GB, free: 376 kB / 1.123 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.06475/1.806, allocations: 36.08 MB / 1.483 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007231/1.813, allocations: 3.995 MB / 1.487 GB, free: 6.227 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/1.818, allocations: 3.036 MB / 1.49 GB, free: 3.184 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.819, allocations: 0.9544 MB / 1.491 GB, free: 2.043 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004368/1.823, allocations: 2.398 MB / 1.493 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002896/1.826, allocations: 397.1 kB / 1.493 GB, free: 15.22 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 9.578e-06/1.826, allocations: 0 / 1.493 GB, free: 15.22 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01415/1.841, allocations: 7.147 MB / 1.5 GB, free: 7.984 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/1.841, allocations: 89.84 kB / 1.501 GB, free: 7.883 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.851, allocations: 5.667 MB / 1.506 GB, free: 2.238 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009238/1.852, allocations: 89.69 kB / 1.506 GB, free: 2.145 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003683/1.856, allocations: 3.271 MB / 1.509 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.858, allocations: 1.174 MB / 1.51 GB, free: 13.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/1.859, allocations: 0.8624 MB / 1.511 GB, free: 12.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.859, allocations: 304.9 kB / 1.512 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/1.863, allocations: 2.16 MB / 1.514 GB, free: 10.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005071/1.868, allocations: 3.701 MB / 1.517 GB, free: 5.918 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009823/1.878, allocations: 6.319 MB / 1.524 GB, free: 14.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.045e-05/1.878, allocations: 16 kB / 1.524 GB, free: 14.87 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01494/1.893, allocations: 6.779 MB / 1.53 GB, free: 8.039 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/1.893, allocations: 59.56 kB / 1.53 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/1.893, allocations: 52.16 kB / 1.53 GB, free: 7.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.894, allocations: 447.9 kB / 1.531 GB, free: 7.484 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/1.898, allocations: 0.9983 MB / 1.532 GB, free: 6.484 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/1.904, allocations: 5.705 MB / 1.537 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.91, allocations: 291.7 kB / 1.537 GB, free: 228 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.911, allocations: 216 kB / 1.538 GB, free: 12 kB / 1.217 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.006672/1.918, allocations: 2.491 MB / 1.54 GB, free: 13.51 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002344/1.92, allocations: 0.5513 MB / 1.541 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.931, allocations: 5.251 MB / 1.546 GB, free: 7.645 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/1.931, allocations: 31.98 kB / 1.546 GB, free: 7.613 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.931, allocations: 8 kB / 1.546 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00741/1.938, allocations: 4.516 MB / 1.55 GB, free: 2.984 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/1.963, allocations: 11.96 MB / 1.562 GB, free: 6.871 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.963, allocations: 0 / 1.562 GB, free: 6.871 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.966, allocations: 0.644 MB / 1.563 GB, free: 6.227 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008976/1.967, allocations: 372.1 kB / 1.563 GB, free: 5.859 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/1.967, allocations: 95.88 kB / 1.563 GB, free: 5.766 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/1.974, allocations: 5.612 MB / 1.568 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.974, allocations: 15.94 kB / 1.569 GB, free: 15.87 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/1.99, allocations: 7.772 MB / 1.576 GB, free: 8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00419/1.994, allocations: 1.185 MB / 1.577 GB, free: 6.793 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.995, allocations: 67.98 kB / 1.577 GB, free: 6.727 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.998, allocations: 207.9 kB / 1.578 GB, free: 6.523 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/1.999, allocations: 198.2 kB / 1.578 GB, free: 6.328 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003225/1.999, allocations: 139.9 kB / 1.578 GB, free: 6.191 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00763/2.007, allocations: 3.959 MB / 1.582 GB, free: 2.254 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/2.007, allocations: 0 / 1.582 GB, free: 2.254 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007952/2.015, allocations: 2.027 MB / 1.584 GB, free: 228 kB / 1.264 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.001617/2.016, allocations: 488.6 kB / 1.584 GB, free: 15.74 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01062/2.027, allocations: 5.245 MB / 1.589 GB, free: 10.44 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.027, allocations: 4 kB / 1.589 GB, free: 10.44 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004523/2.032, allocations: 2.374 MB / 1.592 GB, free: 8.035 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01682/2.048, allocations: 3.387 MB / 1.595 GB, free: 4.742 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/2.078, allocations: 14.18 MB / 1.609 GB, free: 6.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005948/2.084, allocations: 4.624 MB / 1.613 GB, free: 1.844 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007244/2.091, allocations: 2.081 MB / 1.615 GB, free: 15.77 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/2.093, allocations: 467.3 kB / 1.616 GB, free: 15.31 MB / 1.311 GB Notification: Performance of SimCode: time 1.352e-06/2.093, allocations: 3.938 kB / 1.616 GB, free: 15.3 MB / 1.311 GB Notification: Performance of Templates: time 0.2215/2.314, allocations: 119 MB / 1.732 GB, free: 9.262 MB / 1.42 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.64405726455152]