Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001346/0.001346, allocations: 79.58 kB / 19.18 MB, free: 2.527 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.001525/0.001525, allocations: 163.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.541/1.541, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.936/2.936, allocations: 377.8 MB / 0.6221 GB, free: 12.58 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.148e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.08682/0.08687, allocations: 45.13 MB / 1.025 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03396/0.1208, allocations: 12.94 MB / 1.038 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004602/0.1254, allocations: 91.25 kB / 1.038 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004845/0.1303, allocations: 0.8184 MB / 1.039 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.1437, allocations: 2.455 MB / 1.041 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007095/0.1508, allocations: 1.405 MB / 1.043 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04232/0.1931, allocations: 20.52 MB / 1.063 GB, free: 8.348 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02286/0.2159, allocations: 6.481 MB / 1.069 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03411/0.2501, allocations: 9.446 MB / 1.078 GB, free: 8.324 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.2655, allocations: 5.751 MB / 1.084 GB, free: 2.559 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.004142/0.2696, allocations: 0.8438 MB / 1.085 GB, free: 1.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009514/0.2791, allocations: 1.494 MB / 1.086 GB, free: 224 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.006128/0.2853, allocations: 2.262 MB / 1.088 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01194/0.2972, allocations: 3.048 MB / 1.091 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0282/0.3254, allocations: 12.34 MB / 1.104 GB, free: 14.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.066e-05/0.3254, allocations: 4 kB / 1.104 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.008e-06/0.3254, allocations: 0 / 1.104 GB, free: 14.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000922/0.3264, allocations: 0 / 1.104 GB, free: 14.52 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02843/0.3548, allocations: 7.775 MB / 1.111 GB, free: 6.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3548, allocations: 8.031 kB / 1.111 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/0.3608, allocations: 0.8829 MB / 1.112 GB, free: 5.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/0.3783, allocations: 6.391 MB / 1.118 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/0.3788, allocations: 411.4 kB / 1.119 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/0.3815, allocations: 0.5432 MB / 1.119 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/0.4075, allocations: 9.147 MB / 1.128 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/0.4079, allocations: 15.89 kB / 1.128 GB, free: 4.703 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/0.4101, allocations: 232 kB / 1.128 GB, free: 4.477 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/0.4104, allocations: 171.9 kB / 1.128 GB, free: 4.309 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7536/1.164, allocations: 6.51 MB / 1.135 GB, free: 178 MB / 1.076 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.03639/1.2, allocations: 22.44 MB / 1.157 GB, free: 165.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/1.205, allocations: 3.429 MB / 1.16 GB, free: 164.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/1.208, allocations: 2.576 MB / 1.163 GB, free: 163.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/1.209, allocations: 147 kB / 1.163 GB, free: 163.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/1.209, allocations: 69.27 kB / 1.163 GB, free: 163.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=267): time 5.491e-06/1.209, allocations: 3.531 kB / 1.163 GB, free: 163.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=267): time 0.01091/1.22, allocations: 5.573 MB / 1.168 GB, free: 161.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.22, allocations: 79.64 kB / 1.168 GB, free: 161.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007448/1.227, allocations: 4.547 MB / 1.173 GB, free: 160.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007296/1.228, allocations: 80.83 kB / 1.173 GB, free: 160.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/1.23, allocations: 2.917 MB / 1.176 GB, free: 158.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.232, allocations: 0.9678 MB / 1.177 GB, free: 157.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/1.233, allocations: 0.7091 MB / 1.177 GB, free: 157.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/1.233, allocations: 308.5 kB / 1.178 GB, free: 157 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002937/1.236, allocations: 1.674 MB / 1.179 GB, free: 156.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/1.24, allocations: 3.029 MB / 1.182 GB, free: 154.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/1.247, allocations: 4.969 MB / 1.187 GB, free: 151.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.278e-05/1.247, allocations: 11.81 kB / 1.187 GB, free: 151.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01068/1.257, allocations: 5.39 MB / 1.192 GB, free: 149 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/1.257, allocations: 22.94 kB / 1.192 GB, free: 149 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.357e-05/1.257, allocations: 39.25 kB / 1.192 GB, free: 149 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.259, allocations: 423.4 kB / 1.193 GB, free: 148.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/1.262, allocations: 0.857 MB / 1.194 GB, free: 148.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/1.268, allocations: 5.359 MB / 1.199 GB, free: 145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/1.273, allocations: 482.5 kB / 1.199 GB, free: 144.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009618/1.274, allocations: 181.8 kB / 1.2 GB, free: 144.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.006181/1.28, allocations: 2.28 MB / 1.202 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/1.282, allocations: 450.8 kB / 1.202 GB, free: 143.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008068/1.29, allocations: 4.111 MB / 1.206 GB, free: 142 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/1.29, allocations: 26.22 kB / 1.206 GB, free: 142 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.29, allocations: 4.906 kB / 1.206 GB, free: 142 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006019/1.296, allocations: 3.625 MB / 1.21 GB, free: 140.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.317, allocations: 8.882 MB / 1.218 GB, free: 137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.317, allocations: 8.703 kB / 1.218 GB, free: 137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.319, allocations: 0.4944 MB / 1.219 GB, free: 136.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/1.32, allocations: 383 kB / 1.219 GB, free: 136.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/1.32, allocations: 75.34 kB / 1.219 GB, free: 136.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/1.325, allocations: 5.313 MB / 1.225 GB, free: 132.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.325, allocations: 7.844 kB / 1.225 GB, free: 132.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009172/1.334, allocations: 6.189 MB / 1.231 GB, free: 129.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/1.337, allocations: 0.9771 MB / 1.232 GB, free: 128.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.338, allocations: 71.92 kB / 1.232 GB, free: 128.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/1.342, allocations: 163.7 kB / 1.232 GB, free: 128.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/1.342, allocations: 185.5 kB / 1.232 GB, free: 128.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/1.342, allocations: 127.9 kB / 1.232 GB, free: 128 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004395/1.347, allocations: 3.12 MB / 1.235 GB, free: 124.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.347, allocations: 0 / 1.235 GB, free: 124.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.007131/1.354, allocations: 1.894 MB / 1.237 GB, free: 123 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001372/1.355, allocations: 481.3 kB / 1.237 GB, free: 122.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006203/1.362, allocations: 4.133 MB / 1.241 GB, free: 118.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.362, allocations: 4 kB / 1.241 GB, free: 118.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.364, allocations: 1.933 MB / 1.243 GB, free: 116.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/1.377, allocations: 2.614 MB / 1.246 GB, free: 113.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.395, allocations: 12.2 MB / 1.258 GB, free: 101.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.399, allocations: 3.808 MB / 1.262 GB, free: 97.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004933/1.404, allocations: 1.665 MB / 1.263 GB, free: 96.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.405, allocations: 372.4 kB / 1.264 GB, free: 95.77 MB / 1.076 GB Notification: Performance of SimCode: time 2.084e-06/1.405, allocations: 0 / 1.264 GB, free: 95.77 MB / 1.076 GB Notification: Performance of Templates: time 0.1267/1.532, allocations: 93.96 MB / 1.355 GB, free: 3.531 MB / 1.076 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 12.570225320756435]