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.001318/0.001318, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001419/0.001419, allocations: 191.2 kB / 22.17 MB, free: 5.656 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.42/1.42, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.631/2.631, allocations: 443.5 MB / 0.732 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 177] 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.002/0.002, allocations: 67.89 kB / 1.061 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8347, allocations: 160.7 MB / 1.218 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0585/0.8932, allocations: 50.14 MB / 1.267 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.9152, allocations: 13.95 MB / 1.281 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.9185, allocations: 71.62 kB / 1.281 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.9215, allocations: 0.8304 MB / 1.282 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.9295, allocations: 2.348 MB / 1.284 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.9337, allocations: 1.337 MB / 1.285 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02285/0.9565, allocations: 19.62 MB / 1.304 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.967, allocations: 6.454 MB / 1.311 GB, free: 8.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01467/0.9817, allocations: 6.6 MB / 1.317 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.993, allocations: 6.039 MB / 1.323 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002932/0.996, allocations: 0.8438 MB / 1.324 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/1.003, allocations: 1.631 MB / 1.325 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004213/1.007, allocations: 2.196 MB / 1.328 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01014/1.017, allocations: 4.291 MB / 1.332 GB, free: 2.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/1.037, allocations: 12.1 MB / 1.344 GB, free: 6.688 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.037, allocations: 3.938 kB / 1.344 GB, free: 6.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.193e-06/1.037, allocations: 0 / 1.344 GB, free: 6.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004875/1.037, allocations: 0 / 1.344 GB, free: 6.684 MB / 1.045 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.02496/1.062, allocations: 7.913 MB / 1.351 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.062, allocations: 8.625 kB / 1.351 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/1.069, allocations: 0.8282 MB / 1.352 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.087, allocations: 6.34 MB / 1.358 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005235/1.087, allocations: 415.4 kB / 1.359 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/1.089, allocations: 0.5428 MB / 1.359 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/1.112, allocations: 8.068 MB / 1.367 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/1.113, allocations: 23.83 kB / 1.367 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/1.115, allocations: 243.9 kB / 1.367 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/1.115, allocations: 164 kB / 1.368 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/1.132, allocations: 6.528 MB / 1.374 GB, free: 7.227 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.06104/1.193, allocations: 31.26 MB / 1.404 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/1.201, allocations: 3.435 MB / 1.408 GB, free: 2.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/1.206, allocations: 2.585 MB / 1.41 GB, free: 100 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.207, allocations: 0.828 MB / 1.411 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.208, allocations: 72.45 kB / 1.411 GB, free: 15.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=267): time 7.233e-06/1.208, allocations: 0 / 1.411 GB, free: 15.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=267): time 0.01426/1.222, allocations: 5.769 MB / 1.417 GB, free: 9.152 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/1.222, allocations: 81.52 kB / 1.417 GB, free: 9.059 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/1.234, allocations: 5.239 MB / 1.422 GB, free: 3.82 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0007823/1.235, allocations: 81.64 kB / 1.422 GB, free: 3.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003911/1.239, allocations: 2.934 MB / 1.425 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001919/1.241, allocations: 0.988 MB / 1.426 GB, free: 15.78 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002412/1.243, allocations: 0.7157 MB / 1.427 GB, free: 15.05 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.243, allocations: 305.1 kB / 1.427 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/1.247, allocations: 1.67 MB / 1.429 GB, free: 13.08 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/1.251, allocations: 2.936 MB / 1.431 GB, free: 9.594 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/1.26, allocations: 4.97 MB / 1.436 GB, free: 4.031 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.055e-05/1.26, allocations: 16 kB / 1.436 GB, free: 4.016 MB / 1.139 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01265/1.273, allocations: 5.448 MB / 1.442 GB, free: 14.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/1.273, allocations: 22.19 kB / 1.442 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.983e-05/1.273, allocations: 48.14 kB / 1.442 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.274, allocations: 417.3 kB / 1.442 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/1.278, allocations: 0.8618 MB / 1.443 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007368/1.285, allocations: 5.697 MB / 1.449 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.29, allocations: 0.5277 MB / 1.449 GB, free: 6.672 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008715/1.291, allocations: 180 kB / 1.449 GB, free: 6.496 MB / 1.154 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.005484/1.296, allocations: 2.294 MB / 1.451 GB, free: 4.191 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/1.298, allocations: 0.4969 MB / 1.452 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009649/1.308, allocations: 4.17 MB / 1.456 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/1.308, allocations: 24 kB / 1.456 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.308, allocations: 4 kB / 1.456 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006579/1.315, allocations: 3.62 MB / 1.46 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.341, allocations: 10.26 MB / 1.47 GB, free: 1.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.341, allocations: 4 kB / 1.47 GB, free: 1.266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.343, allocations: 0.5075 MB / 1.47 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/1.344, allocations: 365.4 kB / 1.47 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.344, allocations: 75.95 kB / 1.471 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/1.351, allocations: 5.648 MB / 1.476 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.351, allocations: 11.98 kB / 1.476 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.364, allocations: 6.268 MB / 1.482 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003827/1.367, allocations: 1.118 MB / 1.483 GB, free: 2.809 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/1.369, allocations: 63.92 kB / 1.483 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.373, allocations: 179.8 kB / 1.483 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/1.373, allocations: 173.6 kB / 1.484 GB, free: 2.398 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004415/1.373, allocations: 131.9 kB / 1.484 GB, free: 2.27 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.007718/1.381, allocations: 3.839 MB / 1.488 GB, free: 14.45 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.7e-07/1.381, allocations: 0 / 1.488 GB, free: 14.45 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006781/1.388, allocations: 1.817 MB / 1.489 GB, free: 12.62 MB / 1.201 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.001624/1.39, allocations: 487.5 kB / 1.49 GB, free: 12.15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008018/1.398, allocations: 4.124 MB / 1.494 GB, free: 7.984 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.398, allocations: 5.812 kB / 1.494 GB, free: 7.98 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003525/1.401, allocations: 1.926 MB / 1.496 GB, free: 6.023 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01706/1.418, allocations: 3.464 MB / 1.499 GB, free: 2.656 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/1.441, allocations: 12.74 MB / 1.512 GB, free: 5.812 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.447, allocations: 4.303 MB / 1.516 GB, free: 1.48 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.005887/1.453, allocations: 1.853 MB / 1.518 GB, free: 15.63 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.454, allocations: 415.3 kB / 1.518 GB, free: 15.23 MB / 1.232 GB Notification: Performance of SimCode: time 1.423e-06/1.454, allocations: 0 / 1.518 GB, free: 15.23 MB / 1.232 GB Notification: Performance of Templates: time 0.7972/2.251, allocations: 115.2 MB / 1.63 GB, free: 358.8 MB / 1.311 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 -s gbode -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: 12.730916757602245]