Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 249.9 MB, free: 13.65 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=501,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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 61.73 kB / 1.127 GB, free: 36.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3768, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05631/0.4331, allocations: 49.74 MB / 1.343 GB, free: 9.828 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.4553, allocations: 13.88 MB / 1.357 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.4586, allocations: 67.62 kB / 1.357 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.4616, allocations: 0.8343 MB / 1.358 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007992/0.4696, allocations: 2.356 MB / 1.36 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.4738, allocations: 1.332 MB / 1.361 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02373/0.4975, allocations: 19.71 MB / 1.381 GB, free: 3.562 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.5105, allocations: 8.185 MB / 1.389 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01978/0.5302, allocations: 6.797 MB / 1.395 GB, free: 4.473 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.5433, allocations: 5.969 MB / 1.401 GB, free: 14.48 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.003476/0.5468, allocations: 0.8438 MB / 1.402 GB, free: 13.64 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00776/0.5545, allocations: 1.624 MB / 1.404 GB, free: 12.02 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.004744/0.5593, allocations: 2.2 MB / 1.406 GB, free: 9.809 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.5703, allocations: 4.31 MB / 1.41 GB, free: 5.48 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.5896, allocations: 12.14 MB / 1.422 GB, free: 9.305 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5896, allocations: 0 / 1.422 GB, free: 9.305 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5896, allocations: 0 / 1.422 GB, free: 9.305 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004314/0.59, allocations: 7.875 kB / 1.422 GB, free: 9.297 MB / 1.123 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.02176/0.6118, allocations: 7.913 MB / 1.43 GB, free: 1.297 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6119, allocations: 8.031 kB / 1.43 GB, free: 1.289 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003967/0.6158, allocations: 0.8321 MB / 1.43 GB, free: 464 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.632, allocations: 6.353 MB / 1.437 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.6324, allocations: 411.4 kB / 1.437 GB, free: 9.637 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.6346, allocations: 0.5506 MB / 1.437 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.6546, allocations: 8.068 MB / 1.445 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.6548, allocations: 23.81 kB / 1.445 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/0.6559, allocations: 240 kB / 1.446 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/0.6561, allocations: 160 kB / 1.446 GB, free: 376 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.6714, allocations: 6.528 MB / 1.452 GB, free: 9.828 MB / 1.154 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.05439/0.7258, allocations: 31.31 MB / 1.483 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/0.7319, allocations: 3.437 MB / 1.486 GB, free: 5.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/0.7361, allocations: 2.577 MB / 1.489 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.7372, allocations: 0.8358 MB / 1.489 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.826e-05/0.7373, allocations: 72.61 kB / 1.489 GB, free: 1.578 MB / 1.186 GB Notification: Performance of pre-optimization done (n=267): time 4.749e-06/0.7373, allocations: 4 kB / 1.489 GB, free: 1.574 MB / 1.186 GB Notification: Performance of matching and sorting (n=267): time 0.01184/0.7491, allocations: 5.765 MB / 1.495 GB, free: 11.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.7492, allocations: 85.45 kB / 1.495 GB, free: 11.61 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.7601, allocations: 5.239 MB / 1.5 GB, free: 6.375 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0008025/0.7609, allocations: 81.7 kB / 1.5 GB, free: 6.289 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.003073/0.764, allocations: 2.934 MB / 1.503 GB, free: 3.332 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/0.7657, allocations: 0.9839 MB / 1.504 GB, free: 2.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.7669, allocations: 0.7195 MB / 1.505 GB, free: 1.613 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7671, allocations: 305.1 kB / 1.505 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.7698, allocations: 1.674 MB / 1.507 GB, free: 15.63 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003857/0.7737, allocations: 2.936 MB / 1.51 GB, free: 12.14 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006937/0.7806, allocations: 4.962 MB / 1.515 GB, free: 6.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.981e-05/0.7807, allocations: 12 kB / 1.515 GB, free: 6.578 MB / 1.217 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01025/0.7909, allocations: 5.444 MB / 1.52 GB, free: 1.082 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.791, allocations: 24.25 kB / 1.52 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/0.791, allocations: 43.98 kB / 1.52 GB, free: 1.016 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.7921, allocations: 419.7 kB / 1.52 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.7953, allocations: 0.8658 MB / 1.521 GB, free: 15.73 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/0.8019, allocations: 5.683 MB / 1.527 GB, free: 9.777 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005063/0.807, allocations: 0.5275 MB / 1.527 GB, free: 9.246 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000714/0.8077, allocations: 179.9 kB / 1.527 GB, free: 9.07 MB / 1.233 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.004828/0.8125, allocations: 2.288 MB / 1.53 GB, free: 6.77 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001769/0.8143, allocations: 0.5007 MB / 1.53 GB, free: 6.266 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007568/0.8218, allocations: 4.164 MB / 1.534 GB, free: 2.043 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/0.8219, allocations: 24 kB / 1.534 GB, free: 2.02 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.8219, allocations: 8.188 kB / 1.534 GB, free: 2.012 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005609/0.8275, allocations: 3.616 MB / 1.538 GB, free: 14.28 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.851, allocations: 10.27 MB / 1.548 GB, free: 3.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.851, allocations: 4 kB / 1.548 GB, free: 3.836 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/0.8534, allocations: 0.4998 MB / 1.548 GB, free: 3.336 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009616/0.8544, allocations: 373.3 kB / 1.549 GB, free: 2.965 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/0.8547, allocations: 79.95 kB / 1.549 GB, free: 2.887 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006611/0.8613, allocations: 5.648 MB / 1.554 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.8613, allocations: 7.938 kB / 1.554 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.8734, allocations: 6.267 MB / 1.56 GB, free: 6.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/0.877, allocations: 1.122 MB / 1.561 GB, free: 5.375 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/0.8786, allocations: 71.86 kB / 1.562 GB, free: 5.305 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/0.8823, allocations: 175.8 kB / 1.562 GB, free: 5.133 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/0.8827, allocations: 177.6 kB / 1.562 GB, free: 4.957 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/0.8832, allocations: 127.9 kB / 1.562 GB, free: 4.832 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.008593/0.8918, allocations: 3.839 MB / 1.566 GB, free: 1.008 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8918, allocations: 4 kB / 1.566 GB, free: 1.004 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.008101/0.8999, allocations: 1.817 MB / 1.568 GB, free: 15.18 MB / 1.279 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.001861/0.9018, allocations: 480 kB / 1.568 GB, free: 14.71 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008791/0.9105, allocations: 4.133 MB / 1.572 GB, free: 10.54 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.9106, allocations: 4 kB / 1.572 GB, free: 10.54 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003846/0.9144, allocations: 1.926 MB / 1.574 GB, free: 8.582 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01813/0.9325, allocations: 3.459 MB / 1.577 GB, free: 5.223 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/0.9614, allocations: 12.79 MB / 1.59 GB, free: 8.316 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005272/0.9667, allocations: 4.235 MB / 1.594 GB, free: 4.055 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/0.9686, allocations: 447.3 kB / 1.594 GB, free: 3.621 MB / 1.295 GB Notification: Performance of SimCode: time 1.603e-06/0.9686, allocations: 0 / 1.594 GB, free: 3.621 MB / 1.295 GB Notification: Performance of Templates: time 0.893/1.862, allocations: 174.8 MB / 1.765 GB, free: 163.6 MB / 1.311 GB [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches