Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 63.89 kB / 1.057 GB, free: 1.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3873, allocations: 160.7 MB / 1.214 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.9037/1.291, allocations: 49.65 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02297/1.314, allocations: 13.87 MB / 1.276 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/1.319, allocations: 70.88 kB / 1.276 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/1.322, allocations: 0.8311 MB / 1.277 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008984/1.331, allocations: 2.36 MB / 1.279 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004708/1.336, allocations: 1.322 MB / 1.281 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03302/1.369, allocations: 19.56 MB / 1.3 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/1.384, allocations: 8.198 MB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02043/1.405, allocations: 6.576 MB / 1.314 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/1.422, allocations: 6.045 MB / 1.32 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004918/1.427, allocations: 0.8447 MB / 1.321 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/1.439, allocations: 1.624 MB / 1.322 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007155/1.446, allocations: 2.2 MB / 1.325 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01826/1.464, allocations: 4.29 MB / 1.329 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03153/1.496, allocations: 12.1 MB / 1.341 GB, free: 1.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.496, allocations: 0 / 1.341 GB, free: 1.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/1.496, allocations: 1.219 kB / 1.341 GB, free: 1.043 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006382/1.496, allocations: 0 / 1.341 GB, free: 1.043 MB / 1.014 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.03402/1.53, allocations: 7.926 MB / 1.348 GB, free: 11.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.53, allocations: 7.812 kB / 1.348 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/1.537, allocations: 0.8216 MB / 1.349 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/1.556, allocations: 6.344 MB / 1.355 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/1.556, allocations: 418.2 kB / 1.356 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.56, allocations: 0.5428 MB / 1.356 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/1.587, allocations: 8.072 MB / 1.364 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/1.587, allocations: 23.81 kB / 1.364 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/1.589, allocations: 236 kB / 1.364 GB, free: 408 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/1.589, allocations: 159.9 kB / 1.365 GB, free: 248 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/1.607, allocations: 6.524 MB / 1.371 GB, free: 9.707 MB / 1.045 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.06261/1.669, allocations: 31.28 MB / 1.401 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/1.677, allocations: 3.433 MB / 1.405 GB, free: 5.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004553/1.681, allocations: 2.581 MB / 1.407 GB, free: 2.859 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.682, allocations: 0.8298 MB / 1.408 GB, free: 1.875 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.748e-05/1.682, allocations: 88.38 kB / 1.408 GB, free: 1.777 MB / 1.076 GB Notification: Performance of pre-optimization done (n=267): time 3.997e-06/1.682, allocations: 0 / 1.408 GB, free: 1.777 MB / 1.076 GB Notification: Performance of matching and sorting (n=267): time 0.01261/1.695, allocations: 5.775 MB / 1.414 GB, free: 11.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.695, allocations: 81.52 kB / 1.414 GB, free: 11.81 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.706, allocations: 5.232 MB / 1.419 GB, free: 6.582 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.707, allocations: 77.7 kB / 1.419 GB, free: 6.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/1.711, allocations: 2.939 MB / 1.422 GB, free: 3.551 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.713, allocations: 0.9781 MB / 1.423 GB, free: 2.586 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/1.714, allocations: 0.7195 MB / 1.424 GB, free: 1.859 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.714, allocations: 305.1 kB / 1.424 GB, free: 1.559 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.717, allocations: 1.674 MB / 1.426 GB, free: 15.88 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.721, allocations: 2.932 MB / 1.428 GB, free: 12.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/1.729, allocations: 4.966 MB / 1.433 GB, free: 6.84 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-05/1.729, allocations: 12 kB / 1.433 GB, free: 6.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01187/1.741, allocations: 5.447 MB / 1.439 GB, free: 1.328 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/1.741, allocations: 24 kB / 1.439 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.007e-05/1.741, allocations: 40.88 kB / 1.439 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.742, allocations: 417.3 kB / 1.439 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.746, allocations: 0.858 MB / 1.44 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/1.753, allocations: 5.713 MB / 1.445 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.76, allocations: 0.5275 MB / 1.446 GB, free: 9.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009894/1.761, allocations: 184 kB / 1.446 GB, free: 9.305 MB / 1.123 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.007923/1.768, allocations: 2.288 MB / 1.448 GB, free: 7.004 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00291/1.771, allocations: 0.5007 MB / 1.449 GB, free: 6.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008814/1.78, allocations: 4.172 MB / 1.453 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.78, allocations: 24 kB / 1.453 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.78, allocations: 4 kB / 1.453 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006067/1.786, allocations: 3.619 MB / 1.457 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/1.817, allocations: 10.26 MB / 1.467 GB, free: 4.141 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.817, allocations: 4 kB / 1.467 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.819, allocations: 0.4954 MB / 1.467 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/1.82, allocations: 373.5 kB / 1.467 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/1.821, allocations: 75.95 kB / 1.467 GB, free: 3.195 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/1.828, allocations: 5.647 MB / 1.473 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.828, allocations: 8 kB / 1.473 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.843, allocations: 6.263 MB / 1.479 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005011/1.848, allocations: 1.122 MB / 1.48 GB, free: 5.699 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002838/1.851, allocations: 67.92 kB / 1.48 GB, free: 5.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005512/1.857, allocations: 167.7 kB / 1.48 GB, free: 5.469 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007648/1.858, allocations: 181.6 kB / 1.481 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007798/1.858, allocations: 123.9 kB / 1.481 GB, free: 5.168 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01042/1.869, allocations: 3.839 MB / 1.484 GB, free: 1.344 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.41e-07/1.869, allocations: 0 / 1.484 GB, free: 1.344 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.01113/1.88, allocations: 1.813 MB / 1.486 GB, free: 15.52 MB / 1.17 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.002444/1.882, allocations: 494.3 kB / 1.487 GB, free: 15.06 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.892, allocations: 4.134 MB / 1.491 GB, free: 10.9 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.893, allocations: 4 kB / 1.491 GB, free: 10.89 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004502/1.897, allocations: 1.927 MB / 1.493 GB, free: 8.938 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02265/1.92, allocations: 3.451 MB / 1.496 GB, free: 5.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/1.952, allocations: 12.72 MB / 1.508 GB, free: 8.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008229/1.961, allocations: 4.228 MB / 1.513 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/1.963, allocations: 447.2 kB / 1.513 GB, free: 4.082 MB / 1.186 GB Notification: Performance of SimCode: time 1.643e-06/1.963, allocations: 0 / 1.513 GB, free: 4.082 MB / 1.186 GB Notification: Performance of Templates: time 0.2894/2.252, allocations: 174.8 MB / 1.684 GB, free: 5.582 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 30.33815203094855]