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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=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_10_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_10_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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001706/0.001706, allocations: 193 kB / 16.13 MB, free: 6.652 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.89 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8031, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04646/0.8496, allocations: 49.01 MB / 1.064 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.8705, allocations: 13.81 MB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004632/0.8752, allocations: 67.62 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.8784, allocations: 0.6525 MB / 1.079 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008971/0.8874, allocations: 2.08 MB / 1.081 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.8922, allocations: 1.195 MB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0288/0.921, allocations: 25.63 MB / 1.107 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.9319, allocations: 8.091 MB / 1.115 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.944, allocations: 5.004 MB / 1.12 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.9565, allocations: 5.586 MB / 1.125 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003276/0.9598, allocations: 420 kB / 1.126 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008404/0.9682, allocations: 1.108 MB / 1.127 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.9728, allocations: 1.615 MB / 1.128 GB, free: 128 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01131/0.9842, allocations: 3.748 MB / 1.132 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01844/1.003, allocations: 11.57 MB / 1.143 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/1.003, allocations: 0 / 1.143 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/1.003, allocations: 4 kB / 1.143 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005146/1.003, allocations: 0 / 1.143 GB, free: 0.75 MB / 0.8887 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.02619/1.029, allocations: 7.719 MB / 1.151 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.029, allocations: 8.031 kB / 1.151 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/1.034, allocations: 0.7814 MB / 1.151 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/1.049, allocations: 6.24 MB / 1.158 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/1.049, allocations: 415.4 kB / 1.158 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.052, allocations: 0.5389 MB / 1.158 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/1.074, allocations: 8.076 MB / 1.166 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/1.075, allocations: 19.83 kB / 1.166 GB, free: 8.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.077, allocations: 235.9 kB / 1.167 GB, free: 8.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/1.077, allocations: 168 kB / 1.167 GB, free: 8.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/1.095, allocations: 6.528 MB / 1.173 GB, free: 1.641 MB / 0.92 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.05677/1.151, allocations: 31.12 MB / 1.204 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007032/1.159, allocations: 3.649 MB / 1.207 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005018/1.164, allocations: 2.81 MB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.165, allocations: 0.8319 MB / 1.211 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.165, allocations: 72.67 kB / 1.211 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 4.949e-06/1.165, allocations: 3.938 kB / 1.211 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01562/1.181, allocations: 5.759 MB / 1.216 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/1.181, allocations: 77.52 kB / 1.216 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.193, allocations: 5.028 MB / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008888/1.194, allocations: 85.62 kB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003494/1.198, allocations: 2.864 MB / 1.224 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/1.2, allocations: 0.9398 MB / 1.225 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/1.202, allocations: 0.7152 MB / 1.226 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.202, allocations: 309 kB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/1.205, allocations: 1.682 MB / 1.228 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/1.21, allocations: 2.928 MB / 1.231 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008052/1.218, allocations: 4.966 MB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.409e-05/1.218, allocations: 12 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01269/1.231, allocations: 5.437 MB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.231, allocations: 24 kB / 1.241 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-05/1.231, allocations: 40 kB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/1.232, allocations: 421.9 kB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.236, allocations: 0.8618 MB / 1.242 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006522/1.243, allocations: 5.258 MB / 1.247 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/1.249, allocations: 0.6394 MB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.251, allocations: 180 kB / 1.248 GB, free: 1.277 MB / 0.9981 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.7094/1.96, allocations: 2.287 MB / 1.25 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.962, allocations: 486.5 kB / 1.251 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009534/1.972, allocations: 4.18 MB / 1.255 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/1.972, allocations: 30.45 kB / 1.255 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.972, allocations: 4.531 kB / 1.255 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006366/1.978, allocations: 3.633 MB / 1.258 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/1.999, allocations: 10.21 MB / 1.268 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.999, allocations: 3.969 kB / 1.268 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/2.001, allocations: 0.496 MB / 1.269 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008129/2.002, allocations: 378.3 kB / 1.269 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/2.002, allocations: 75.3 kB / 1.269 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/2.007, allocations: 5.204 MB / 1.274 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.007, allocations: 5.391 kB / 1.274 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008783/2.016, allocations: 6.25 MB / 1.28 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/2.019, allocations: 1.077 MB / 1.282 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.021, allocations: 64.28 kB / 1.282 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/2.024, allocations: 328.2 kB / 1.282 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/2.024, allocations: 176.7 kB / 1.282 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/2.025, allocations: 129.9 kB / 1.282 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006084/2.031, allocations: 3.684 MB / 1.286 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/2.031, allocations: 0 / 1.286 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006438/2.037, allocations: 1.777 MB / 1.288 GB, free: 197.2 MB / 0.9981 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.001236/2.038, allocations: 492 kB / 1.288 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006036/2.044, allocations: 4.253 MB / 1.292 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.044, allocations: 7.188 kB / 1.292 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/2.047, allocations: 2.04 MB / 1.294 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/2.063, allocations: 3.28 MB / 1.297 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/2.081, allocations: 14.89 MB / 1.312 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/2.084, allocations: 4.307 MB / 1.316 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006272/2.09, allocations: 1.844 MB / 1.318 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/2.092, allocations: 411.3 kB / 1.318 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/2.092, allocations: 4.188 kB / 1.318 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1653/2.257, allocations: 110.9 MB / 1.427 GB, free: 58.46 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches