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.0008389/0.0008389, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000778/0.000778, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8554/0.8554, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.815/1.815, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.414e-06/2.414e-06, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.356e-05, allocations: 2.281 kB / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5501/0.5501, allocations: 51.23 MB / 1.051 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.5668, allocations: 16.75 MB / 1.067 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.5701, allocations: 101.8 kB / 1.067 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.573, allocations: 0.9032 MB / 1.068 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.007684/0.5807, allocations: 2.727 MB / 1.071 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.5848, allocations: 1.655 MB / 1.073 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.01909/0.6039, allocations: 22.1 MB / 1.094 GB, free: 1.801 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009772/0.6136, allocations: 6.752 MB / 1.101 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02409/0.6377, allocations: 10.33 MB / 1.111 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.6503, allocations: 6.311 MB / 1.117 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.6534, allocations: 0.9386 MB / 1.118 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008439/0.6619, allocations: 1.598 MB / 1.119 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.00504/0.6669, allocations: 2.499 MB / 1.122 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.6793, allocations: 3.353 MB / 1.125 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.6974, allocations: 13.5 MB / 1.138 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.6975, allocations: 0 / 1.138 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6975, allocations: 0 / 1.138 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004569/0.6979, allocations: 0 / 1.138 GB, free: 6.008 MB / 0.9792 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.01878/0.7167, allocations: 8.554 MB / 1.147 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.7168, allocations: 8.75 kB / 1.147 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.7208, allocations: 0.9527 MB / 1.148 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.7328, allocations: 6.78 MB / 1.154 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.7331, allocations: 456.6 kB / 1.155 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/0.7355, allocations: 0.598 MB / 1.155 GB, free: 4.492 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.7574, allocations: 10.09 MB / 1.165 GB, free: 9.824 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.7576, allocations: 31.81 kB / 1.165 GB, free: 9.793 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.7595, allocations: 264 kB / 1.165 GB, free: 9.535 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.7597, allocations: 175.9 kB / 1.166 GB, free: 9.363 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.7763, allocations: 7.453 MB / 1.173 GB, free: 1.902 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.03844/0.8148, allocations: 26.32 MB / 1.199 GB, free: 7.141 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/0.8194, allocations: 3.989 MB / 1.202 GB, free: 3.152 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.8226, allocations: 3.041 MB / 1.205 GB, free: 108 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.8232, allocations: 202.4 kB / 1.206 GB, free: 15.9 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00298/0.8262, allocations: 3.456 MB / 1.209 GB, free: 12.15 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001915/0.8281, allocations: 317.9 kB / 1.209 GB, free: 11.84 MB / 1.057 GB Notification: Performance of pre-optimization done (n=317): time 9.007e-06/0.8281, allocations: 0 / 1.209 GB, free: 11.84 MB / 1.057 GB Notification: Performance of matching and sorting (n=317): time 0.008923/0.837, allocations: 6.938 MB / 1.216 GB, free: 4.855 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.8371, allocations: 89.91 kB / 1.216 GB, free: 4.754 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/0.8429, allocations: 4.973 MB / 1.221 GB, free: 15.77 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006966/0.8436, allocations: 89.7 kB / 1.221 GB, free: 15.68 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002373/0.846, allocations: 3.263 MB / 1.224 GB, free: 12.39 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.8474, allocations: 1.162 MB / 1.225 GB, free: 11.22 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009209/0.8483, allocations: 0.8468 MB / 1.226 GB, free: 10.36 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.8484, allocations: 309.1 kB / 1.227 GB, free: 10.06 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.8508, allocations: 2.189 MB / 1.229 GB, free: 7.855 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.854, allocations: 3.822 MB / 1.232 GB, free: 3.297 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/0.86, allocations: 6.327 MB / 1.239 GB, free: 12.25 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.8601, allocations: 16 kB / 1.239 GB, free: 12.23 MB / 1.089 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008759/0.8688, allocations: 6.753 MB / 1.245 GB, free: 5.43 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.8689, allocations: 53.69 kB / 1.245 GB, free: 5.371 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-05/0.8689, allocations: 55.94 kB / 1.245 GB, free: 5.316 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007124/0.8697, allocations: 433.3 kB / 1.246 GB, free: 4.887 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.8717, allocations: 1.006 MB / 1.247 GB, free: 3.879 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.8761, allocations: 5.369 MB / 1.252 GB, free: 14.32 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.8797, allocations: 291.7 kB / 1.252 GB, free: 14.04 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005976/0.8803, allocations: 216 kB / 1.252 GB, free: 13.82 MB / 1.104 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.003882/0.8842, allocations: 2.482 MB / 1.255 GB, free: 11.33 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/0.8855, allocations: 0.493 MB / 1.255 GB, free: 10.84 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/0.8915, allocations: 5.195 MB / 1.26 GB, free: 5.586 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8915, allocations: 32 kB / 1.26 GB, free: 5.555 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.8915, allocations: 4 kB / 1.26 GB, free: 5.551 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00447/0.896, allocations: 4.535 MB / 1.265 GB, free: 0.9102 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.9117, allocations: 10.43 MB / 1.275 GB, free: 6.371 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9117, allocations: 4 kB / 1.275 GB, free: 6.367 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.9132, allocations: 0.6477 MB / 1.276 GB, free: 5.719 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/0.9138, allocations: 365.3 kB / 1.276 GB, free: 5.355 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.914, allocations: 87.94 kB / 1.276 GB, free: 5.27 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.918, allocations: 5.272 MB / 1.281 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.918, allocations: 0 / 1.281 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009274/0.9272, allocations: 7.687 MB / 1.289 GB, free: 8.004 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003442/0.9307, allocations: 1.065 MB / 1.29 GB, free: 6.938 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/0.9322, allocations: 71.98 kB / 1.29 GB, free: 6.867 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/0.9353, allocations: 203.9 kB / 1.29 GB, free: 6.668 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004604/0.9358, allocations: 210 kB / 1.29 GB, free: 6.461 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/0.9361, allocations: 139.9 kB / 1.29 GB, free: 6.324 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.006292/0.9424, allocations: 3.388 MB / 1.294 GB, free: 2.941 MB / 1.135 GB Notification: Performance of sort global known variables: time 2e-07/0.9424, allocations: 0 / 1.294 GB, free: 2.941 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.009076/0.9515, allocations: 2.085 MB / 1.296 GB, free: 0.8516 MB / 1.135 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.001885/0.9534, allocations: 497.1 kB / 1.296 GB, free: 368 kB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.008287/0.9617, allocations: 5.254 MB / 1.301 GB, free: 11.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.9617, allocations: 4 kB / 1.301 GB, free: 11.04 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.9649, allocations: 2.362 MB / 1.304 GB, free: 8.652 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009849/0.9748, allocations: 2.745 MB / 1.306 GB, free: 5.992 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.9963, allocations: 13.7 MB / 1.32 GB, free: 8.223 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1, allocations: 4.055 MB / 1.324 GB, free: 4.129 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/1.002, allocations: 468.3 kB / 1.324 GB, free: 3.672 MB / 1.167 GB Notification: Performance of SimCode: time 2.805e-06/1.002, allocations: 0 / 1.324 GB, free: 3.672 MB / 1.167 GB Notification: Performance of Templates: time 0.2157/1.218, allocations: 182.6 MB / 1.502 GB, free: 13.32 MB / 1.354 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=800 -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/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: 20.10966969653964]