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.001329/0.001329, allocations: 81.22 kB / 19.76 MB, free: 2.02 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.001492/0.001492, allocations: 155.7 kB / 23 MB, free: 4.969 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.00248/0.00248, allocations: 75.88 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05756/1.088, allocations: 51.65 MB / 1.237 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02939/1.117, allocations: 16.86 MB / 1.254 GB, free: 1.973 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/1.121, allocations: 100.4 kB / 1.254 GB, free: 1.922 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/1.124, allocations: 0.899 MB / 1.254 GB, free: 1.387 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009174/1.133, allocations: 2.657 MB / 1.257 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/1.138, allocations: 1.574 MB / 1.259 GB, free: 14.57 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02689/1.165, allocations: 22.04 MB / 1.28 GB, free: 1.348 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/1.179, allocations: 7.093 MB / 1.287 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/1.198, allocations: 7.588 MB / 1.294 GB, free: 7.598 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/1.213, allocations: 6.896 MB / 1.301 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003277/1.216, allocations: 0.9415 MB / 1.302 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007846/1.224, allocations: 1.581 MB / 1.304 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004926/1.229, allocations: 2.422 MB / 1.306 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/1.24, allocations: 3.872 MB / 1.31 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02034/1.261, allocations: 13.36 MB / 1.323 GB, free: 10.43 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.261, allocations: 7.938 kB / 1.323 GB, free: 10.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.984e-06/1.261, allocations: 3.938 kB / 1.323 GB, free: 10.42 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004172/1.261, allocations: 0 / 1.323 GB, free: 10.42 MB / 1.17 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.02236/1.284, allocations: 8.63 MB / 1.331 GB, free: 1.707 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.284, allocations: 12.03 kB / 1.331 GB, free: 1.695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/1.288, allocations: 0.9527 MB / 1.332 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/1.304, allocations: 6.784 MB / 1.339 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005514/1.304, allocations: 468.3 kB / 1.339 GB, free: 9.414 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/1.307, allocations: 0.5975 MB / 1.34 GB, free: 8.816 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02445/1.332, allocations: 10.1 MB / 1.35 GB, free: 14.13 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/1.332, allocations: 15.88 kB / 1.35 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.333, allocations: 260 kB / 1.35 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/1.333, allocations: 183.9 kB / 1.35 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/1.351, allocations: 7.453 MB / 1.357 GB, free: 6.223 MB / 1.201 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.05906/1.41, allocations: 26.36 MB / 1.383 GB, free: 11.42 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008172/1.418, allocations: 3.966 MB / 1.387 GB, free: 7.449 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/1.423, allocations: 3.037 MB / 1.39 GB, free: 4.406 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.425, allocations: 210.2 kB / 1.39 GB, free: 4.199 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005866/1.43, allocations: 3.452 MB / 1.394 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002916/1.433, allocations: 321.8 kB / 1.394 GB, free: 140 kB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.945e-05/1.433, allocations: 0 / 1.394 GB, free: 140 kB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01606/1.449, allocations: 6.934 MB / 1.401 GB, free: 9.148 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.45, allocations: 89.89 kB / 1.401 GB, free: 9.047 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.46, allocations: 4.981 MB / 1.406 GB, free: 4.062 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0009002/1.461, allocations: 89.7 kB / 1.406 GB, free: 3.969 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.004135/1.465, allocations: 3.279 MB / 1.409 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/1.467, allocations: 1.166 MB / 1.41 GB, free: 15.49 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002927/1.47, allocations: 0.8624 MB / 1.411 GB, free: 14.62 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.47, allocations: 301.1 kB / 1.411 GB, free: 14.32 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/1.475, allocations: 2.196 MB / 1.413 GB, free: 12.11 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.481, allocations: 3.815 MB / 1.417 GB, free: 7.566 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.491, allocations: 6.342 MB / 1.423 GB, free: 0.5117 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.66e-05/1.491, allocations: 12 kB / 1.423 GB, free: 0.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01501/1.506, allocations: 6.753 MB / 1.43 GB, free: 9.691 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.506, allocations: 57.64 kB / 1.43 GB, free: 9.629 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.693e-05/1.506, allocations: 48.91 kB / 1.43 GB, free: 9.582 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/1.508, allocations: 433.3 kB / 1.43 GB, free: 9.152 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.512, allocations: 1.01 MB / 1.431 GB, free: 8.141 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/1.519, allocations: 5.362 MB / 1.437 GB, free: 2.582 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.524, allocations: 291.5 kB / 1.437 GB, free: 2.297 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.525, allocations: 224 kB / 1.437 GB, free: 2.078 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.006293/1.531, allocations: 2.475 MB / 1.44 GB, free: 15.59 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/1.534, allocations: 0.493 MB / 1.44 GB, free: 15.09 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.546, allocations: 5.207 MB / 1.445 GB, free: 9.828 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.043e-05/1.546, allocations: 32 kB / 1.445 GB, free: 9.797 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.571e-05/1.546, allocations: 7.938 kB / 1.445 GB, free: 9.789 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008353/1.554, allocations: 4.52 MB / 1.45 GB, free: 5.164 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02832/1.583, allocations: 10.44 MB / 1.46 GB, free: 10.61 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.583, allocations: 4 kB / 1.46 GB, free: 10.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/1.586, allocations: 0.6438 MB / 1.46 GB, free: 9.957 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/1.588, allocations: 369.3 kB / 1.461 GB, free: 9.59 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007268/1.588, allocations: 83.95 kB / 1.461 GB, free: 9.508 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00737/1.596, allocations: 5.282 MB / 1.466 GB, free: 4.027 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.596, allocations: 4 kB / 1.466 GB, free: 4.023 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/1.611, allocations: 7.677 MB / 1.473 GB, free: 12.25 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003801/1.615, allocations: 1.077 MB / 1.475 GB, free: 11.17 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/1.616, allocations: 63.98 kB / 1.475 GB, free: 11.11 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/1.62, allocations: 195.9 kB / 1.475 GB, free: 10.92 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000627/1.621, allocations: 214.1 kB / 1.475 GB, free: 10.71 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005346/1.621, allocations: 147.8 kB / 1.475 GB, free: 10.56 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.007408/1.629, allocations: 3.384 MB / 1.478 GB, free: 7.184 MB / 1.326 GB Notification: Performance of sort global known variables: time 2e-07/1.629, allocations: 0 / 1.478 GB, free: 7.184 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.008345/1.637, allocations: 2.093 MB / 1.48 GB, free: 5.086 MB / 1.326 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.001606/1.639, allocations: 477.8 kB / 1.481 GB, free: 4.605 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.649, allocations: 5.262 MB / 1.486 GB, free: 15.29 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.649, allocations: 8.25 kB / 1.486 GB, free: 15.28 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00463/1.654, allocations: 2.365 MB / 1.488 GB, free: 12.88 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01643/1.67, allocations: 2.762 MB / 1.491 GB, free: 10.21 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/1.703, allocations: 13.96 MB / 1.505 GB, free: 12.17 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/1.714, allocations: 4.146 MB / 1.509 GB, free: 7.984 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.01097/1.725, allocations: 1.868 MB / 1.511 GB, free: 6.117 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/1.728, allocations: 440.3 kB / 1.511 GB, free: 5.688 MB / 1.357 GB Notification: Performance of SimCode: time 1.282e-06/1.728, allocations: 0 / 1.511 GB, free: 5.688 MB / 1.357 GB Notification: Performance of Templates: time 0.1852/1.913, allocations: 103.1 MB / 1.612 GB, free: 15.99 MB / 1.467 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 -s ida -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/jenkins1/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.040275713079609]