Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00146/0.00146, allocations: 79.67 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.001679/0.001679, allocations: 165.5 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.499/1.499, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.691/2.691, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.75e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05443/0.05446, allocations: 45.07 MB / 0.995 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.07785, allocations: 12.92 MB / 1.008 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.08096, allocations: 91.25 kB / 1.008 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.08371, allocations: 0.8145 MB / 1.008 GB, free: 496 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008008/0.09172, allocations: 2.47 MB / 1.011 GB, free: 14 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.09581, allocations: 1.402 MB / 1.012 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02533/0.1211, allocations: 20.47 MB / 1.032 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.1334, allocations: 6.481 MB / 1.039 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0253/0.1587, allocations: 9.187 MB / 1.048 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.1719, allocations: 5.817 MB / 1.053 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003535/0.1754, allocations: 0.8438 MB / 1.054 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007379/0.1828, allocations: 1.498 MB / 1.056 GB, free: 136 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.005026/0.1878, allocations: 2.254 MB / 1.058 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.198, allocations: 3.037 MB / 1.061 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02281/0.2208, allocations: 12.29 MB / 1.073 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.2208, allocations: 0 / 1.073 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2208, allocations: 0 / 1.073 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0005565/0.2214, allocations: 7.938 kB / 1.073 GB, free: 14.5 MB / 0.9825 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.02352/0.2449, allocations: 7.783 MB / 1.08 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.245, allocations: 12.03 kB / 1.08 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.2503, allocations: 0.875 MB / 1.081 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/0.267, allocations: 6.374 MB / 1.087 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/0.2675, allocations: 419.4 kB / 1.088 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/0.2697, allocations: 0.5472 MB / 1.088 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.2916, allocations: 9.135 MB / 1.097 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/0.2917, allocations: 15.89 kB / 1.097 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000894/0.2926, allocations: 240 kB / 1.097 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.2928, allocations: 167.9 kB / 1.098 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.71/1.003, allocations: 6.505 MB / 1.104 GB, free: 144.8 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.05743/1.06, allocations: 22.43 MB / 1.126 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/1.068, allocations: 3.43 MB / 1.129 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005135/1.073, allocations: 2.573 MB / 1.132 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/1.074, allocations: 149 kB / 1.132 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/1.074, allocations: 68.47 kB / 1.132 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 5.01e-06/1.074, allocations: 0 / 1.132 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01281/1.086, allocations: 5.57 MB / 1.137 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/1.087, allocations: 79.3 kB / 1.137 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00939/1.096, allocations: 4.553 MB / 1.142 GB, free: 127 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008908/1.097, allocations: 77.08 kB / 1.142 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.099, allocations: 2.922 MB / 1.145 GB, free: 125 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.101, allocations: 0.9776 MB / 1.146 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/1.102, allocations: 0.7073 MB / 1.146 GB, free: 124 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/1.102, allocations: 302.4 kB / 1.147 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/1.104, allocations: 1.673 MB / 1.148 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/1.108, allocations: 3.035 MB / 1.151 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006243/1.114, allocations: 4.965 MB / 1.156 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.375e-05/1.114, allocations: 11.56 kB / 1.156 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009673/1.124, allocations: 5.387 MB / 1.161 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/1.124, allocations: 27.2 kB / 1.162 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.564e-05/1.124, allocations: 39.53 kB / 1.162 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/1.125, allocations: 419.1 kB / 1.162 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/1.129, allocations: 0.859 MB / 1.163 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/1.135, allocations: 5.36 MB / 1.168 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006001/1.141, allocations: 479.8 kB / 1.168 GB, free: 109.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/1.141, allocations: 173.6 kB / 1.169 GB, free: 109.5 MB / 0.9981 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.005899/1.147, allocations: 2.282 MB / 1.171 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002702/1.15, allocations: 450.4 kB / 1.171 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009195/1.159, allocations: 4.117 MB / 1.175 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.159, allocations: 24 kB / 1.175 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/1.159, allocations: 7.984 kB / 1.175 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00516/1.164, allocations: 3.628 MB / 1.179 GB, free: 100.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/1.186, allocations: 8.885 MB / 1.188 GB, free: 91.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.186, allocations: 8.656 kB / 1.188 GB, free: 91.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/1.188, allocations: 0.4958 MB / 1.188 GB, free: 91.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008578/1.189, allocations: 375.6 kB / 1.188 GB, free: 90.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/1.19, allocations: 79.95 kB / 1.189 GB, free: 90.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/1.194, allocations: 5.297 MB / 1.194 GB, free: 85.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.194, allocations: 4 kB / 1.194 GB, free: 85.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/1.204, allocations: 6.195 MB / 1.2 GB, free: 78.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003559/1.208, allocations: 0.975 MB / 1.201 GB, free: 78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/1.209, allocations: 75.86 kB / 1.201 GB, free: 77.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/1.213, allocations: 172 kB / 1.201 GB, free: 77.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.214, allocations: 189.5 kB / 1.201 GB, free: 77.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004545/1.214, allocations: 123.9 kB / 1.201 GB, free: 77.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006537/1.221, allocations: 3.116 MB / 1.204 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.221, allocations: 0 / 1.204 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008426/1.229, allocations: 1.89 MB / 1.206 GB, free: 72.44 MB / 0.9981 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.00177/1.231, allocations: 469.8 kB / 1.207 GB, free: 72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007716/1.239, allocations: 4.141 MB / 1.211 GB, free: 67.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.239, allocations: 4 kB / 1.211 GB, free: 67.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.242, allocations: 1.925 MB / 1.212 GB, free: 65.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/1.258, allocations: 2.622 MB / 1.215 GB, free: 63.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.284, allocations: 12.21 MB / 1.227 GB, free: 51.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006689/1.29, allocations: 3.808 MB / 1.231 GB, free: 47.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006426/1.297, allocations: 1.658 MB / 1.232 GB, free: 45.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.299, allocations: 384.3 kB / 1.233 GB, free: 45.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.766e-06/1.299, allocations: 0 / 1.233 GB, free: 45.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.1549/1.454, allocations: 93.96 MB / 1.324 GB, free: 0.8477 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.138404842466116]