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.001885/0.001885, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002074/0.002074, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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 3.472/3.472, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.9844 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.928e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07549/0.07551, allocations: 57.94 MB / 0.934 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03093/0.1064, allocations: 18.65 MB / 0.9522 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.1096, allocations: 99.19 kB / 0.9523 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.1128, allocations: 0.9077 MB / 0.9532 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008445/0.1212, allocations: 2.738 MB / 0.9559 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.1259, allocations: 1.641 MB / 0.9575 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03113/0.157, allocations: 22.29 MB / 0.9793 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.1707, allocations: 7.038 MB / 0.9861 GB, free: 6.973 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02669/0.1974, allocations: 10.5 MB / 0.9964 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.2113, allocations: 6.519 MB / 1.003 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.2145, allocations: 0.9375 MB / 1.004 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007177/0.2217, allocations: 1.608 MB / 1.005 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.2267, allocations: 2.515 MB / 1.008 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01203/0.2387, allocations: 3.392 MB / 1.011 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.02379/0.2625, allocations: 13.64 MB / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2625, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2625, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005126/0.263, allocations: 4 kB / 1.024 GB, free: 15.87 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.0244/0.2874, allocations: 9.627 MB / 1.034 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2875, allocations: 8.031 kB / 1.034 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.2929, allocations: 1.514 MB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/0.3098, allocations: 6.298 MB / 1.041 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/0.3103, allocations: 456.6 kB / 1.042 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/0.3126, allocations: 0.6135 MB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.3356, allocations: 10.16 MB / 1.052 GB, free: 2.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/0.3358, allocations: 15.86 kB / 1.052 GB, free: 2.324 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008559/0.3366, allocations: 264 kB / 1.053 GB, free: 2.066 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.3368, allocations: 179.9 kB / 1.053 GB, free: 1.891 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4526/0.7894, allocations: 6.177 MB / 1.059 GB, free: 201.1 MB / 1.01 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.06037/0.8498, allocations: 49.68 MB / 1.107 GB, free: 171.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005906/0.8557, allocations: 3.509 MB / 1.111 GB, free: 170.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004357/0.8601, allocations: 2.634 MB / 1.113 GB, free: 169.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/0.861, allocations: 206.8 kB / 1.114 GB, free: 169.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003736/0.8648, allocations: 3.15 MB / 1.117 GB, free: 167.6 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002381/0.8672, allocations: 322.6 kB / 1.117 GB, free: 167.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=317): time 9.447e-06/0.8672, allocations: 4.469 kB / 1.117 GB, free: 167.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.01289/0.8801, allocations: 5.826 MB / 1.123 GB, free: 165.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.8801, allocations: 90.42 kB / 1.123 GB, free: 165.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/0.8913, allocations: 6.063 MB / 1.129 GB, free: 163 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.8923, allocations: 93.17 kB / 1.129 GB, free: 163 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00395/0.8962, allocations: 3.714 MB / 1.132 GB, free: 160.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/0.8984, allocations: 1.291 MB / 1.134 GB, free: 159.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.9, allocations: 1.085 MB / 1.135 GB, free: 159.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.9001, allocations: 481.3 kB / 1.135 GB, free: 158.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.9028, allocations: 1.711 MB / 1.137 GB, free: 158.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.9068, allocations: 4.192 MB / 1.141 GB, free: 154.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007042/0.9139, allocations: 6.339 MB / 1.147 GB, free: 149.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.9139, allocations: 12.56 kB / 1.147 GB, free: 149.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01058/0.9245, allocations: 6.052 MB / 1.153 GB, free: 143.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.9245, allocations: 51.06 kB / 1.153 GB, free: 143.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-05/0.9246, allocations: 52 kB / 1.153 GB, free: 143.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.9269, allocations: 0.5357 MB / 1.154 GB, free: 143.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/0.9305, allocations: 0.9999 MB / 1.155 GB, free: 142.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.9358, allocations: 6.603 MB / 1.161 GB, free: 136.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/0.9407, allocations: 299.3 kB / 1.161 GB, free: 135.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000489/0.9412, allocations: 213.6 kB / 1.162 GB, free: 135.6 MB / 1.01 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.004041/0.9453, allocations: 2.184 MB / 1.164 GB, free: 133.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/0.9468, allocations: 0.5953 MB / 1.164 GB, free: 133.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/0.9544, allocations: 4.287 MB / 1.168 GB, free: 129.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.9544, allocations: 34.42 kB / 1.168 GB, free: 129.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.9545, allocations: 8 kB / 1.168 GB, free: 129.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005235/0.9597, allocations: 3.709 MB / 1.172 GB, free: 126.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.9811, allocations: 11.56 MB / 1.183 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.9811, allocations: 0 / 1.183 GB, free: 115.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.9837, allocations: 0.6321 MB / 1.184 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.9857, allocations: 478.8 kB / 1.184 GB, free: 114.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/0.9859, allocations: 79.95 kB / 1.185 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.9905, allocations: 6.519 MB / 1.191 GB, free: 107.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9905, allocations: 3.938 kB / 1.191 GB, free: 107.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009512/1, allocations: 6.565 MB / 1.197 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/1.003, allocations: 0.9828 MB / 1.198 GB, free: 99.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008607/1.004, allocations: 67.92 kB / 1.198 GB, free: 99.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.007, allocations: 198.6 kB / 1.199 GB, free: 99.37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.007, allocations: 214.1 kB / 1.199 GB, free: 99.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.008, allocations: 135.9 kB / 1.199 GB, free: 99.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004516/1.012, allocations: 3.485 MB / 1.202 GB, free: 95.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/1.012, allocations: 0 / 1.202 GB, free: 95.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006174/1.018, allocations: 2.128 MB / 1.204 GB, free: 93.41 MB / 1.01 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.0009894/1.019, allocations: 488.8 kB / 1.205 GB, free: 92.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006936/1.026, allocations: 4.987 MB / 1.21 GB, free: 87.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.026, allocations: 7.781 kB / 1.21 GB, free: 87.87 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/1.029, allocations: 2.371 MB / 1.212 GB, free: 85.45 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01219/1.041, allocations: 2.892 MB / 1.215 GB, free: 82.66 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.06, allocations: 12.67 MB / 1.227 GB, free: 69.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/1.063, allocations: 3.728 MB / 1.231 GB, free: 66.11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005471/1.068, allocations: 1.504 MB / 1.232 GB, free: 64.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.07, allocations: 444.3 kB / 1.233 GB, free: 64.17 MB / 1.01 GB Notification: Performance of SimCode: time 2.124e-06/1.07, allocations: 0 / 1.233 GB, free: 64.17 MB / 1.01 GB Notification: Performance of Templates: time 0.1656/1.236, allocations: 103.2 MB / 1.334 GB, free: 10.73 MB / 1.057 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/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.08688063302543]