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.001854/0.001854, allocations: 78.97 kB / 19.18 MB, free: 2.516 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.002033/0.002033, allocations: 162.2 kB / 22.46 MB, free: 5.375 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.907/2.907, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.387e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06401/0.06404, allocations: 51.25 MB / 1.031 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.09197, allocations: 16.77 MB / 1.048 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/0.09592, allocations: 103.2 kB / 1.048 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.09974, allocations: 0.9155 MB / 1.049 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.1097, allocations: 2.73 MB / 1.052 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.1157, allocations: 1.663 MB / 1.053 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02814/0.1438, allocations: 22.14 MB / 1.075 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.1579, allocations: 7.108 MB / 1.082 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03043/0.1884, allocations: 10.34 MB / 1.092 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/0.2042, allocations: 6.324 MB / 1.098 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004122/0.2083, allocations: 0.9414 MB / 1.099 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008405/0.2167, allocations: 1.588 MB / 1.1 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7099/0.9266, allocations: 2.487 MB / 1.103 GB, free: 38.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01655/0.9432, allocations: 3.356 MB / 1.106 GB, free: 38.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03127/0.9744, allocations: 13.52 MB / 1.119 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9744, allocations: 0 / 1.119 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9744, allocations: 1.062 kB / 1.119 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0007731/0.9752, allocations: 0 / 1.119 GB, free: 37.75 MB / 0.9981 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.04039/1.016, allocations: 8.56 MB / 1.128 GB, free: 34.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/1.016, allocations: 10 kB / 1.128 GB, free: 34.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008157/1.024, allocations: 0.9521 MB / 1.129 GB, free: 34.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/1.044, allocations: 6.776 MB / 1.135 GB, free: 33.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/1.045, allocations: 459.7 kB / 1.136 GB, free: 33.19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.049, allocations: 0.5958 MB / 1.136 GB, free: 33.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/1.08, allocations: 10.1 MB / 1.146 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/1.08, allocations: 23.14 kB / 1.146 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002541/1.083, allocations: 263.4 kB / 1.146 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/1.083, allocations: 182.1 kB / 1.147 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/1.104, allocations: 7.451 MB / 1.154 GB, free: 29.28 MB / 0.9981 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.07311/1.177, allocations: 26.32 MB / 1.18 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009409/1.187, allocations: 3.971 MB / 1.183 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006826/1.193, allocations: 3.042 MB / 1.186 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.195, allocations: 202 kB / 1.187 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006119/1.201, allocations: 3.449 MB / 1.19 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004555/1.205, allocations: 327.7 kB / 1.19 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 1.739e-05/1.205, allocations: 0 / 1.19 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.02048/1.226, allocations: 6.942 MB / 1.197 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/1.226, allocations: 85.22 kB / 1.197 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009318/1.235, allocations: 4.977 MB / 1.202 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/1.237, allocations: 89.2 kB / 1.202 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00347/1.24, allocations: 3.267 MB / 1.205 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003269/1.243, allocations: 1.161 MB / 1.206 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002658/1.246, allocations: 0.8539 MB / 1.207 GB, free: 13.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.246, allocations: 301.1 kB / 1.208 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005248/1.251, allocations: 2.19 MB / 1.21 GB, free: 12.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00692/1.258, allocations: 3.829 MB / 1.213 GB, free: 9.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.269, allocations: 6.325 MB / 1.22 GB, free: 4.848 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-05/1.269, allocations: 14.53 kB / 1.22 GB, free: 4.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01546/1.285, allocations: 6.76 MB / 1.226 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/1.285, allocations: 56.52 kB / 1.226 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-05/1.285, allocations: 48 kB / 1.226 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.286, allocations: 437.1 kB / 1.227 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.291, allocations: 1.006 MB / 1.228 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/1.297, allocations: 5.363 MB / 1.233 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006929/1.304, allocations: 287.5 kB / 1.233 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.306, allocations: 216 kB / 1.233 GB, free: 8.145 MB / 1.029 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.007113/1.313, allocations: 2.48 MB / 1.236 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/1.315, allocations: 0.4891 MB / 1.236 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.326, allocations: 5.21 MB / 1.241 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/1.326, allocations: 35.19 kB / 1.241 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.326, allocations: 4 kB / 1.241 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007746/1.334, allocations: 4.518 MB / 1.246 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03264/1.366, allocations: 10.45 MB / 1.256 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.366, allocations: 0 / 1.256 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.369, allocations: 0.6411 MB / 1.257 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.37, allocations: 372.7 kB / 1.257 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.371, allocations: 87.94 kB / 1.257 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006447/1.377, allocations: 5.263 MB / 1.262 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.377, allocations: 7.938 kB / 1.262 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.393, allocations: 7.684 MB / 1.27 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005438/1.399, allocations: 1.074 MB / 1.271 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/1.401, allocations: 67.98 kB / 1.271 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/1.406, allocations: 204 kB / 1.271 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/1.407, allocations: 206.1 kB / 1.271 GB, free: 1.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005841/1.407, allocations: 139.9 kB / 1.271 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.009283/1.417, allocations: 3.388 MB / 1.275 GB, free: 13.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.417, allocations: 0 / 1.275 GB, free: 13.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01239/1.429, allocations: 2.085 MB / 1.277 GB, free: 11.5 MB / 1.076 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.002209/1.431, allocations: 497.5 kB / 1.277 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.443, allocations: 5.268 MB / 1.282 GB, free: 5.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.443, allocations: 0 / 1.282 GB, free: 5.918 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/1.448, allocations: 2.372 MB / 1.285 GB, free: 3.574 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01877/1.467, allocations: 2.764 MB / 1.287 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04221/1.509, allocations: 13.66 MB / 1.301 GB, free: 3.203 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006595/1.516, allocations: 4.142 MB / 1.305 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00716/1.523, allocations: 1.871 MB / 1.307 GB, free: 13.15 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.525, allocations: 435.6 kB / 1.307 GB, free: 12.73 MB / 1.107 GB Notification: Performance of SimCode: time 1.543e-06/1.525, allocations: 0 / 1.307 GB, free: 12.73 MB / 1.107 GB Notification: Performance of Templates: time 0.2009/1.725, allocations: 102.2 MB / 1.407 GB, free: 8.699 MB / 1.201 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/jenkins/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.037219181656837]