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.001601/0.001601, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001788/0.001788, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.952/2.952, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001984, allocations: 59.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.8096, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05703/0.8667, allocations: 48.9 MB / 1.065 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02227/0.889, allocations: 13.71 MB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/0.8925, allocations: 63.62 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.8953, allocations: 0.6916 MB / 1.079 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00802/0.9033, allocations: 2.08 MB / 1.081 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.9074, allocations: 1.213 MB / 1.082 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02296/0.9304, allocations: 19.68 MB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/0.9447, allocations: 9.82 MB / 1.111 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01724/0.962, allocations: 6.567 MB / 1.117 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.9737, allocations: 5.93 MB / 1.123 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002901/0.9766, allocations: 0.8359 MB / 1.124 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006882/0.9835, allocations: 1.604 MB / 1.125 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.9873, allocations: 2.103 MB / 1.127 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.9977, allocations: 4.279 MB / 1.132 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/1.015, allocations: 11.89 MB / 1.143 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.015, allocations: 0 / 1.143 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/1.015, allocations: 4 kB / 1.143 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004641/1.016, allocations: 0 / 1.143 GB, free: 0.8828 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.02329/1.039, allocations: 7.707 MB / 1.151 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.039, allocations: 12.03 kB / 1.151 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/1.043, allocations: 0.793 MB / 1.151 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.057, allocations: 6.234 MB / 1.158 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/1.058, allocations: 427.4 kB / 1.158 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/1.06, allocations: 0.5389 MB / 1.158 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.082, allocations: 8.069 MB / 1.166 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/1.082, allocations: 19.78 kB / 1.166 GB, free: 8.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007038/1.083, allocations: 244 kB / 1.167 GB, free: 8.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/1.083, allocations: 163.9 kB / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/1.097, allocations: 6.524 MB / 1.173 GB, free: 1.77 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.0571/1.154, allocations: 31.11 MB / 1.204 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006987/1.161, allocations: 3.649 MB / 1.207 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/1.166, allocations: 2.81 MB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.167, allocations: 0.8241 MB / 1.211 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/1.167, allocations: 76.67 kB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 4.438e-06/1.167, allocations: 0 / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01167/1.179, allocations: 5.763 MB / 1.216 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/1.179, allocations: 81.5 kB / 1.216 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009619/1.188, allocations: 5.028 MB / 1.221 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000972/1.189, allocations: 85.7 kB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003927/1.193, allocations: 2.86 MB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002816/1.196, allocations: 0.9398 MB / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/1.198, allocations: 0.7191 MB / 1.226 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.198, allocations: 305.1 kB / 1.226 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.201, allocations: 1.674 MB / 1.228 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/1.205, allocations: 2.936 MB / 1.231 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007307/1.212, allocations: 4.962 MB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/1.212, allocations: 16 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01116/1.223, allocations: 5.434 MB / 1.241 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/1.223, allocations: 20 kB / 1.241 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.89e-05/1.224, allocations: 40 kB / 1.241 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/1.225, allocations: 425.4 kB / 1.241 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.228, allocations: 0.8657 MB / 1.242 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/1.236, allocations: 5.707 MB / 1.248 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006569/1.243, allocations: 0.6433 MB / 1.248 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/1.243, allocations: 176 kB / 1.248 GB, free: 0.9648 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.6758/1.919, allocations: 2.28 MB / 1.251 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/1.921, allocations: 486.7 kB / 1.251 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/1.93, allocations: 4.186 MB / 1.255 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/1.93, allocations: 26.41 kB / 1.255 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.93, allocations: 5.188 kB / 1.255 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006328/1.936, allocations: 3.632 MB / 1.259 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.96, allocations: 10.2 MB / 1.269 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.96, allocations: 5.406 kB / 1.269 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/1.962, allocations: 0.4992 MB / 1.269 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/1.963, allocations: 376.7 kB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.963, allocations: 78.53 kB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/1.968, allocations: 5.653 MB / 1.275 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.968, allocations: 4.125 kB / 1.275 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009262/1.977, allocations: 6.251 MB / 1.281 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/1.981, allocations: 1.075 MB / 1.282 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.982, allocations: 66.92 kB / 1.282 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/1.985, allocations: 327.3 kB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.986, allocations: 187.5 kB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.986, allocations: 127.2 kB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005178/1.991, allocations: 3.682 MB / 1.287 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.991, allocations: 0 / 1.287 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005918/1.997, allocations: 1.784 MB / 1.288 GB, free: 196.4 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.001272/1.998, allocations: 478.2 kB / 1.289 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01312/2.011, allocations: 8.066 MB / 1.297 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.011, allocations: 4 kB / 1.297 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/2.014, allocations: 2.036 MB / 1.299 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0157/2.03, allocations: 3.464 MB / 1.302 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/2.048, allocations: 14.9 MB / 1.317 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/2.051, allocations: 4.299 MB / 1.321 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005801/2.057, allocations: 1.852 MB / 1.323 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/2.058, allocations: 415.2 kB / 1.323 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/2.058, allocations: 0 / 1.323 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1714/2.23, allocations: 114.7 MB / 1.435 GB, free: 49.96 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=400 -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