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.002144/0.002144, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002272/0.002272, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.00236/0.00236, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9705/0.9728, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04653/1.019, allocations: 51.66 MB / 1.204 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.028/1.047, allocations: 16.85 MB / 1.221 GB, free: 3.086 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/1.051, allocations: 105 kB / 1.221 GB, free: 3.031 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003404/1.055, allocations: 0.8951 MB / 1.222 GB, free: 2.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009032/1.064, allocations: 2.662 MB / 1.224 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/1.069, allocations: 1.565 MB / 1.226 GB, free: 68 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02895/1.098, allocations: 22.04 MB / 1.247 GB, free: 5.387 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01373/1.111, allocations: 7.093 MB / 1.254 GB, free: 1.973 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02164/1.133, allocations: 7.582 MB / 1.262 GB, free: 14.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01911/1.152, allocations: 6.903 MB / 1.269 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.005199/1.157, allocations: 0.9427 MB / 1.269 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/1.168, allocations: 1.575 MB / 1.271 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.007455/1.176, allocations: 2.428 MB / 1.273 GB, free: 9.922 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01541/1.191, allocations: 3.876 MB / 1.277 GB, free: 7.656 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02502/1.216, allocations: 13.36 MB / 1.29 GB, free: 13.29 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.216, allocations: 3.938 kB / 1.29 GB, free: 13.29 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.697e-06/1.216, allocations: 4 kB / 1.29 GB, free: 13.29 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004457/1.217, allocations: 0 / 1.29 GB, free: 13.29 MB / 1.139 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.02365/1.24, allocations: 8.63 MB / 1.299 GB, free: 4.57 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.24, allocations: 12.03 kB / 1.299 GB, free: 4.559 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/1.244, allocations: 0.9566 MB / 1.3 GB, free: 3.598 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/1.26, allocations: 6.79 MB / 1.306 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/1.261, allocations: 468.3 kB / 1.307 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/1.263, allocations: 0.5898 MB / 1.307 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/1.288, allocations: 10.1 MB / 1.317 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003748/1.289, allocations: 23.81 kB / 1.317 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/1.291, allocations: 264 kB / 1.317 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/1.291, allocations: 183.9 kB / 1.318 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/1.311, allocations: 7.445 MB / 1.325 GB, free: 9.074 MB / 1.17 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.0562/1.367, allocations: 26.35 MB / 1.351 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007727/1.375, allocations: 3.965 MB / 1.354 GB, free: 10.31 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005591/1.381, allocations: 3.045 MB / 1.357 GB, free: 7.258 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.382, allocations: 198.3 kB / 1.358 GB, free: 7.062 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005274/1.387, allocations: 3.46 MB / 1.361 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002542/1.39, allocations: 329.8 kB / 1.361 GB, free: 2.984 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.216e-05/1.39, allocations: 0 / 1.361 GB, free: 2.984 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.0152/1.405, allocations: 6.938 MB / 1.368 GB, free: 12 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/1.405, allocations: 93.89 kB / 1.368 GB, free: 11.89 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009996/1.415, allocations: 4.981 MB / 1.373 GB, free: 6.906 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.415, allocations: 85.7 kB / 1.373 GB, free: 6.816 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003728/1.419, allocations: 3.275 MB / 1.376 GB, free: 3.52 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.421, allocations: 1.17 MB / 1.377 GB, free: 2.34 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.423, allocations: 0.8624 MB / 1.378 GB, free: 1.465 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.423, allocations: 301.1 kB / 1.379 GB, free: 1.168 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/1.427, allocations: 2.192 MB / 1.381 GB, free: 14.96 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.432, allocations: 3.826 MB / 1.384 GB, free: 10.4 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009773/1.442, allocations: 6.327 MB / 1.391 GB, free: 3.359 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/1.442, allocations: 12 kB / 1.391 GB, free: 3.348 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01338/1.455, allocations: 6.761 MB / 1.397 GB, free: 12.53 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/1.456, allocations: 52.52 kB / 1.397 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.634e-05/1.456, allocations: 48 kB / 1.397 GB, free: 12.43 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.457, allocations: 448.5 kB / 1.398 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004152/1.461, allocations: 1.002 MB / 1.399 GB, free: 10.98 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006908/1.468, allocations: 5.357 MB / 1.404 GB, free: 5.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/1.473, allocations: 291.7 kB / 1.404 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/1.474, allocations: 223.8 kB / 1.404 GB, free: 4.926 MB / 1.248 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.005415/1.479, allocations: 2.483 MB / 1.407 GB, free: 2.43 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/1.481, allocations: 0.4968 MB / 1.407 GB, free: 1.93 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.492, allocations: 5.203 MB / 1.412 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/1.492, allocations: 32 kB / 1.412 GB, free: 12.63 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.492, allocations: 4 kB / 1.412 GB, free: 12.63 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007807/1.5, allocations: 4.52 MB / 1.417 GB, free: 8.004 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.525, allocations: 10.44 MB / 1.427 GB, free: 13.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.525, allocations: 3.938 kB / 1.427 GB, free: 13.45 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/1.528, allocations: 0.6437 MB / 1.428 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/1.529, allocations: 361.3 kB / 1.428 GB, free: 12.45 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/1.529, allocations: 91.94 kB / 1.428 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007609/1.537, allocations: 5.269 MB / 1.433 GB, free: 6.887 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.537, allocations: 4.125 kB / 1.433 GB, free: 6.883 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.552, allocations: 7.69 MB / 1.441 GB, free: 15.09 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004108/1.556, allocations: 1.077 MB / 1.442 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.558, allocations: 71.98 kB / 1.442 GB, free: 13.95 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004612/1.562, allocations: 195.9 kB / 1.442 GB, free: 13.75 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007104/1.563, allocations: 206.1 kB / 1.442 GB, free: 13.55 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006385/1.564, allocations: 139.8 kB / 1.442 GB, free: 13.41 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008402/1.572, allocations: 3.399 MB / 1.446 GB, free: 10.02 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.8e-07/1.572, allocations: 0 / 1.446 GB, free: 10.02 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009499/1.582, allocations: 2.093 MB / 1.448 GB, free: 7.922 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.00176/1.583, allocations: 468.5 kB / 1.448 GB, free: 7.453 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.594, allocations: 5.262 MB / 1.453 GB, free: 2.133 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.594, allocations: 4 kB / 1.453 GB, free: 2.129 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.599, allocations: 2.366 MB / 1.456 GB, free: 15.73 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01622/1.615, allocations: 2.76 MB / 1.458 GB, free: 13.06 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/1.648, allocations: 13.96 MB / 1.472 GB, free: 15.04 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009451/1.657, allocations: 4.142 MB / 1.476 GB, free: 10.86 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.007253/1.664, allocations: 1.877 MB / 1.478 GB, free: 8.98 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/1.667, allocations: 436.3 kB / 1.478 GB, free: 8.551 MB / 1.326 GB Notification: Performance of SimCode: time 1.042e-06/1.667, allocations: 0 / 1.478 GB, free: 8.551 MB / 1.326 GB Notification: Performance of Templates: time 0.2046/1.871, allocations: 103.1 MB / 1.579 GB, free: 3.02 MB / 1.42 GB " [Timeout remaining time 298] 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 ida -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: 13.24662532703951]