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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 113.9 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 196.7 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 68.89 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3521, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05697/0.409, allocations: 49.67 MB / 1.311 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.4295, allocations: 13.87 MB / 1.324 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.4317, allocations: 67.62 kB / 1.324 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.434, allocations: 0.8382 MB / 1.325 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.4405, allocations: 2.359 MB / 1.327 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.444, allocations: 1.335 MB / 1.329 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02165/0.4656, allocations: 19.66 MB / 1.348 GB, free: 4.852 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.4763, allocations: 8.181 MB / 1.356 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/0.489, allocations: 6.599 MB / 1.362 GB, free: 5.969 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009803/0.4988, allocations: 6.043 MB / 1.368 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.5008, allocations: 0.8438 MB / 1.369 GB, free: 15.06 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.5057, allocations: 1.62 MB / 1.371 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.5084, allocations: 2.208 MB / 1.373 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008295/0.5167, allocations: 4.291 MB / 1.377 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.5318, allocations: 12.09 MB / 1.389 GB, free: 10.78 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5318, allocations: 0 / 1.389 GB, free: 10.78 MB / 1.107 GB Notification: Performance of FrontEnd: time 7.494e-06/0.5318, allocations: 4 kB / 1.389 GB, free: 10.78 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002824/0.5321, allocations: 0 / 1.389 GB, free: 10.78 MB / 1.107 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.01539/0.5475, allocations: 7.913 MB / 1.396 GB, free: 2.777 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5475, allocations: 11.97 kB / 1.396 GB, free: 2.766 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.55, allocations: 0.8165 MB / 1.397 GB, free: 1.945 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.5614, allocations: 6.35 MB / 1.403 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.5617, allocations: 419.4 kB / 1.404 GB, free: 11.13 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009558/0.5627, allocations: 0.5428 MB / 1.404 GB, free: 10.59 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.5769, allocations: 8.069 MB / 1.412 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.577, allocations: 19.83 kB / 1.412 GB, free: 2.258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006874/0.5777, allocations: 236 kB / 1.412 GB, free: 2.027 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.5779, allocations: 163.9 kB / 1.413 GB, free: 1.867 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.5898, allocations: 6.528 MB / 1.419 GB, free: 11.32 MB / 1.139 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.04757/0.6373, allocations: 31.27 MB / 1.45 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/0.6437, allocations: 3.436 MB / 1.453 GB, free: 6.793 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005506/0.6492, allocations: 2.581 MB / 1.455 GB, free: 4.203 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.6503, allocations: 0.8358 MB / 1.456 GB, free: 3.199 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.6504, allocations: 68.67 kB / 1.456 GB, free: 3.121 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 7.094e-06/0.6504, allocations: 0 / 1.456 GB, free: 3.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01318/0.6636, allocations: 5.781 MB / 1.462 GB, free: 13.24 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.6637, allocations: 77.52 kB / 1.462 GB, free: 13.15 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/0.6747, allocations: 5.232 MB / 1.467 GB, free: 7.922 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006562/0.6753, allocations: 81.7 kB / 1.467 GB, free: 7.836 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003525/0.6788, allocations: 2.934 MB / 1.47 GB, free: 4.879 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/0.6805, allocations: 0.9877 MB / 1.471 GB, free: 3.883 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.6826, allocations: 0.7156 MB / 1.472 GB, free: 3.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6827, allocations: 309.1 kB / 1.472 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.6859, allocations: 1.678 MB / 1.474 GB, free: 1.176 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/0.69, allocations: 2.936 MB / 1.477 GB, free: 13.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/0.6974, allocations: 4.955 MB / 1.481 GB, free: 8.137 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/0.6974, allocations: 12 kB / 1.481 GB, free: 8.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01056/0.708, allocations: 5.447 MB / 1.487 GB, free: 2.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.708, allocations: 20.94 kB / 1.487 GB, free: 2.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.273e-05/0.7081, allocations: 40 kB / 1.487 GB, free: 2.566 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7091, allocations: 428.1 kB / 1.487 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.7124, allocations: 0.8541 MB / 1.488 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.7193, allocations: 5.705 MB / 1.494 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.7238, allocations: 0.5314 MB / 1.494 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005398/0.7243, allocations: 180 kB / 1.494 GB, free: 10.6 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.004132/0.7284, allocations: 2.284 MB / 1.496 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/0.7299, allocations: 0.5008 MB / 1.497 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007551/0.7375, allocations: 4.171 MB / 1.501 GB, free: 3.574 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005626/0.7431, allocations: 3.608 MB / 1.505 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7431, allocations: 4 kB / 1.505 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002905/0.746, allocations: 1.106 MB / 1.506 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/0.747, allocations: 55.98 kB / 1.506 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/0.7498, allocations: 167.7 kB / 1.506 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.7501, allocations: 173.9 kB / 1.506 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008283/0.7584, allocations: 4.218 MB / 1.51 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009947/0.7684, allocations: 6.266 MB / 1.516 GB, free: 3.703 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002508/0.7709, allocations: 1.621 MB / 1.518 GB, free: 2.066 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.006403/0.7773, allocations: 3.675 MB / 1.521 GB, free: 14.4 MB / 1.248 GB Notification: Performance of Backend: time 5.01e-07/0.7773, allocations: 0 / 1.521 GB, free: 14.4 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008408/0.7857, allocations: 3.205 MB / 1.525 GB, free: 11.18 MB / 1.248 GB Notification: Performance of SimCode: time 0.0287/0.8144, allocations: 14.64 MB / 1.539 GB, free: 12.55 MB / 1.264 GB Notification: Performance of Templates: time 0.7069/1.521, allocations: 111 MB / 1.647 GB, free: 202.5 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches