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.001589/0.001589, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001928/0.001928, allocations: 211.2 kB / 23 MB, free: 4.934 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 35.63 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.002081/0.002081, allocations: 63.06 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06156/0.4068, allocations: 51.66 MB / 1.378 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.4323, allocations: 16.84 MB / 1.394 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.4352, allocations: 103.2 kB / 1.394 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.4381, allocations: 0.8924 MB / 1.395 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008169/0.4463, allocations: 2.668 MB / 1.398 GB, free: 8.582 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.4506, allocations: 1.587 MB / 1.399 GB, free: 7.004 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02375/0.4743, allocations: 21.82 MB / 1.42 GB, free: 1.121 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.4863, allocations: 7.109 MB / 1.427 GB, free: 9.887 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.5032, allocations: 7.586 MB / 1.435 GB, free: 2.324 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.5155, allocations: 6.576 MB / 1.441 GB, free: 11.72 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003422/0.5189, allocations: 0.9375 MB / 1.442 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00696/0.5259, allocations: 1.589 MB / 1.444 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00463/0.5305, allocations: 2.437 MB / 1.446 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.009439/0.5399, allocations: 3.872 MB / 1.45 GB, free: 2.863 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.5601, allocations: 13.35 MB / 1.463 GB, free: 5.469 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5601, allocations: 4 kB / 1.463 GB, free: 5.465 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5601, allocations: 0 / 1.463 GB, free: 5.465 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004383/0.5605, allocations: 0 / 1.463 GB, free: 5.465 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.02427/0.5848, allocations: 8.646 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.5849, allocations: 8.031 kB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.5901, allocations: 0.9528 MB / 1.472 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/0.6071, allocations: 6.786 MB / 1.479 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.6076, allocations: 460.4 kB / 1.479 GB, free: 4.449 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/0.6099, allocations: 0.6053 MB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.6311, allocations: 10.1 MB / 1.49 GB, free: 9.16 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.6313, allocations: 27.83 kB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008432/0.6321, allocations: 256 kB / 1.49 GB, free: 8.883 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.6323, allocations: 179.9 kB / 1.49 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.648, allocations: 7.449 MB / 1.497 GB, free: 1.25 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.05229/0.7003, allocations: 26.36 MB / 1.523 GB, free: 6.441 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.7078, allocations: 3.968 MB / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005445/0.7132, allocations: 3.025 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.7143, allocations: 202.3 kB / 1.53 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005479/0.7198, allocations: 3.46 MB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002486/0.7223, allocations: 317.8 kB / 1.534 GB, free: 11.17 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 9.989e-06/0.7223, allocations: 0 / 1.534 GB, free: 11.17 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.0178/0.7401, allocations: 6.95 MB / 1.541 GB, free: 4.168 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.7402, allocations: 85.91 kB / 1.541 GB, free: 4.07 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/0.7505, allocations: 4.977 MB / 1.546 GB, free: 15.09 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008255/0.7513, allocations: 89.7 kB / 1.546 GB, free: 15 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00387/0.7552, allocations: 3.283 MB / 1.549 GB, free: 11.69 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/0.7571, allocations: 1.17 MB / 1.55 GB, free: 10.51 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/0.7587, allocations: 0.8663 MB / 1.551 GB, free: 9.633 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7588, allocations: 301.1 kB / 1.551 GB, free: 9.336 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.7626, allocations: 2.189 MB / 1.553 GB, free: 7.133 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/0.7682, allocations: 3.822 MB / 1.557 GB, free: 2.578 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.7788, allocations: 6.331 MB / 1.563 GB, free: 11.53 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-05/0.7788, allocations: 19.94 kB / 1.563 GB, free: 11.51 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01435/0.7932, allocations: 6.745 MB / 1.57 GB, free: 4.711 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/0.7933, allocations: 62.66 kB / 1.57 GB, free: 4.645 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.7933, allocations: 48 kB / 1.57 GB, free: 4.598 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.7945, allocations: 435.1 kB / 1.57 GB, free: 4.168 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/0.7989, allocations: 1.006 MB / 1.571 GB, free: 3.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.8059, allocations: 5.375 MB / 1.577 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/0.8108, allocations: 279.6 kB / 1.577 GB, free: 13.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00089/0.8117, allocations: 220 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.005671/0.8173, allocations: 2.479 MB / 1.58 GB, free: 10.61 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/0.8191, allocations: 0.4891 MB / 1.58 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/0.8291, allocations: 5.203 MB / 1.585 GB, free: 4.855 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007918/0.837, allocations: 4.52 MB / 1.59 GB, free: 232 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.837, allocations: 11.98 kB / 1.59 GB, free: 220 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0042/0.8412, allocations: 1.096 MB / 1.591 GB, free: 15.11 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/0.8427, allocations: 67.98 kB / 1.591 GB, free: 15.04 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00369/0.8464, allocations: 187.8 kB / 1.591 GB, free: 14.86 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.8469, allocations: 222.1 kB / 1.591 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01157/0.8585, allocations: 5.254 MB / 1.596 GB, free: 9.344 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01386/0.8724, allocations: 7.884 MB / 1.604 GB, free: 1.391 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.347/2.219, allocations: 2.078 MB / 1.606 GB, free: 258.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006675/2.226, allocations: 3.384 MB / 1.609 GB, free: 258.7 MB / 1.295 GB Notification: Performance of Backend: time 5.21e-07/2.226, allocations: 0 / 1.609 GB, free: 258.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01112/2.237, allocations: 3.92 MB / 1.613 GB, free: 257.3 MB / 1.295 GB Notification: Performance of SimCode: time 0.03428/2.271, allocations: 14.9 MB / 1.628 GB, free: 251 MB / 1.295 GB Notification: Performance of Templates: time 0.1473/2.418, allocations: 117.7 MB / 1.743 GB, free: 152.1 MB / 1.295 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 -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.327215578006872]