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.001356/0.001356, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001821/0.001821, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.986/2.986, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.142, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04779/1.189, allocations: 45.47 MB / 1.198 GB, free: 2.723 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02404/1.213, allocations: 12.96 MB / 1.211 GB, free: 9.836 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/1.218, allocations: 91.03 kB / 1.211 GB, free: 9.789 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/1.221, allocations: 0.8026 MB / 1.212 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/1.232, allocations: 2.4 MB / 1.214 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/1.237, allocations: 1.35 MB / 1.216 GB, free: 7.164 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03464/1.271, allocations: 20.36 MB / 1.235 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/1.286, allocations: 6.467 MB / 1.242 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02204/1.308, allocations: 6.929 MB / 1.248 GB, free: 7.129 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01826/1.326, allocations: 6.28 MB / 1.255 GB, free: 4.371 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00515/1.331, allocations: 0.8445 MB / 1.255 GB, free: 4.371 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/1.342, allocations: 1.486 MB / 1.257 GB, free: 4.137 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.007072/1.349, allocations: 2.205 MB / 1.259 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01629/1.365, allocations: 3.522 MB / 1.262 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02854/1.394, allocations: 12.22 MB / 1.274 GB, free: 10.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.394, allocations: 5.062 kB / 1.274 GB, free: 10.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.585e-06/1.394, allocations: 0 / 1.274 GB, free: 10.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0006179/1.395, allocations: 0 / 1.274 GB, free: 10.27 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.03463/1.429, allocations: 7.854 MB / 1.282 GB, free: 5.047 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.429, allocations: 10.44 kB / 1.282 GB, free: 5.047 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/1.436, allocations: 0.8779 MB / 1.283 GB, free: 4.617 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.453, allocations: 6.398 MB / 1.289 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.454, allocations: 423.4 kB / 1.29 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/1.456, allocations: 0.539 MB / 1.29 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/1.486, allocations: 9.135 MB / 1.299 GB, free: 3.598 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/1.486, allocations: 27.77 kB / 1.299 GB, free: 3.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/1.488, allocations: 236 kB / 1.299 GB, free: 3.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/1.488, allocations: 163.9 kB / 1.299 GB, free: 3.18 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/1.505, allocations: 6.512 MB / 1.306 GB, free: 12.66 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.05518/1.561, allocations: 22.47 MB / 1.328 GB, free: 5.801 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007175/1.568, allocations: 3.43 MB / 1.331 GB, free: 2.375 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/1.573, allocations: 2.576 MB / 1.334 GB, free: 15.78 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008761/1.574, allocations: 146 kB / 1.334 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.754e-05/1.574, allocations: 72.61 kB / 1.334 GB, free: 15.55 MB / 1.186 GB Notification: Performance of pre-optimization done (n=267): time 5.781e-06/1.574, allocations: 0 / 1.334 GB, free: 15.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=267): time 0.01393/1.588, allocations: 5.568 MB / 1.339 GB, free: 9.93 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/1.588, allocations: 81.52 kB / 1.339 GB, free: 9.836 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.598, allocations: 4.543 MB / 1.344 GB, free: 5.27 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009845/1.599, allocations: 77.7 kB / 1.344 GB, free: 5.188 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003798/1.603, allocations: 2.934 MB / 1.347 GB, free: 2.23 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002245/1.605, allocations: 0.9878 MB / 1.348 GB, free: 1.234 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.607, allocations: 0.7118 MB / 1.348 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.607, allocations: 305.1 kB / 1.349 GB, free: 220 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.61, allocations: 1.674 MB / 1.35 GB, free: 14.54 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.615, allocations: 3.044 MB / 1.353 GB, free: 10.92 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008466/1.623, allocations: 4.962 MB / 1.358 GB, free: 5.363 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.277e-05/1.623, allocations: 12 kB / 1.358 GB, free: 5.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01273/1.636, allocations: 5.382 MB / 1.363 GB, free: 15.92 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/1.636, allocations: 24 kB / 1.363 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.015e-05/1.636, allocations: 40 kB / 1.363 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.637, allocations: 425.8 kB / 1.364 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/1.641, allocations: 0.858 MB / 1.365 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/1.648, allocations: 5.364 MB / 1.37 GB, free: 9.012 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.654, allocations: 472.9 kB / 1.37 GB, free: 8.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009647/1.655, allocations: 180 kB / 1.371 GB, free: 8.371 MB / 1.217 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.00659/1.662, allocations: 2.288 MB / 1.373 GB, free: 6.07 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002501/1.664, allocations: 449.1 kB / 1.373 GB, free: 5.629 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008778/1.673, allocations: 4.118 MB / 1.377 GB, free: 1.453 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/1.673, allocations: 24 kB / 1.377 GB, free: 1.43 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.673, allocations: 4 kB / 1.377 GB, free: 1.426 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006451/1.679, allocations: 3.622 MB / 1.381 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0251/1.704, allocations: 8.893 MB / 1.389 GB, free: 4.648 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.704, allocations: 4 kB / 1.39 GB, free: 4.645 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.707, allocations: 0.4993 MB / 1.39 GB, free: 4.145 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009769/1.708, allocations: 377.3 kB / 1.39 GB, free: 3.77 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/1.708, allocations: 71.97 kB / 1.39 GB, free: 3.699 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006642/1.715, allocations: 5.314 MB / 1.396 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/1.715, allocations: 8.281 kB / 1.396 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.727, allocations: 6.187 MB / 1.402 GB, free: 7.82 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004184/1.731, allocations: 0.9788 MB / 1.403 GB, free: 6.84 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/1.733, allocations: 67.92 kB / 1.403 GB, free: 6.773 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/1.737, allocations: 167.7 kB / 1.403 GB, free: 6.609 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004458/1.737, allocations: 189.5 kB / 1.403 GB, free: 6.422 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004808/1.738, allocations: 123.9 kB / 1.403 GB, free: 6.301 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007332/1.745, allocations: 3.116 MB / 1.406 GB, free: 3.18 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.745, allocations: 0 / 1.406 GB, free: 3.18 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.01032/1.756, allocations: 1.894 MB / 1.408 GB, free: 1.281 MB / 1.248 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.002003/1.758, allocations: 470 kB / 1.408 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009109/1.767, allocations: 4.128 MB / 1.413 GB, free: 12.64 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/1.767, allocations: 6 kB / 1.413 GB, free: 12.63 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003862/1.77, allocations: 1.93 MB / 1.414 GB, free: 10.67 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01776/1.788, allocations: 2.62 MB / 1.417 GB, free: 8.133 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.819, allocations: 12.52 MB / 1.429 GB, free: 11.52 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006041/1.825, allocations: 3.805 MB / 1.433 GB, free: 7.68 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006088/1.831, allocations: 1.656 MB / 1.435 GB, free: 6.035 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/1.833, allocations: 380.3 kB / 1.435 GB, free: 5.664 MB / 1.279 GB Notification: Performance of SimCode: time 1.893e-06/1.833, allocations: 0 / 1.435 GB, free: 5.664 MB / 1.279 GB Notification: Performance of Templates: time 0.1751/2.008, allocations: 94.83 MB / 1.527 GB, free: 8.34 MB / 1.373 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 -s ida -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/jenkins1/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: 13.052721717045642]