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.001924/0.001924, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002387/0.002387, allocations: 198.2 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.387 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.801/2.801, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 71.88 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7734, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05737/0.8308, allocations: 49.3 MB / 1.065 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.8536, allocations: 13.82 MB / 1.079 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.857, allocations: 67.62 kB / 1.079 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.8598, allocations: 0.8031 MB / 1.08 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/0.867, allocations: 2.258 MB / 1.082 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.8709, allocations: 1.303 MB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02152/0.8924, allocations: 19.58 MB / 1.102 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.9064, allocations: 9.894 MB / 1.112 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/0.9213, allocations: 6.496 MB / 1.118 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.9331, allocations: 5.758 MB / 1.124 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002618/0.9357, allocations: 0.8438 MB / 1.125 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006898/0.9426, allocations: 1.604 MB / 1.126 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003496/0.9462, allocations: 2.119 MB / 1.128 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.957, allocations: 4.287 MB / 1.133 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.9742, allocations: 11.92 MB / 1.144 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9742, allocations: 0 / 1.144 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9743, allocations: 4 kB / 1.144 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004687/0.9747, allocations: 0 / 1.144 GB, free: 15.99 MB / 0.9044 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.02338/0.9981, allocations: 7.737 MB / 1.152 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.9982, allocations: 8.031 kB / 1.152 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/1.002, allocations: 0.7813 MB / 1.153 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/1.016, allocations: 6.051 MB / 1.159 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/1.017, allocations: 415.4 kB / 1.159 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/1.019, allocations: 0.5428 MB / 1.159 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/1.037, allocations: 8.072 MB / 1.167 GB, free: 8.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.037, allocations: 19.78 kB / 1.167 GB, free: 7.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007251/1.038, allocations: 232 kB / 1.168 GB, free: 7.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/1.038, allocations: 171.9 kB / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/1.052, allocations: 6.52 MB / 1.174 GB, free: 1.059 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.05305/1.105, allocations: 31.44 MB / 1.205 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006981/1.112, allocations: 3.645 MB / 1.208 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004894/1.117, allocations: 2.81 MB / 1.211 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.119, allocations: 0.8319 MB / 1.212 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/1.119, allocations: 64.67 kB / 1.212 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 4.117e-06/1.119, allocations: 0 / 1.212 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01306/1.132, allocations: 5.77 MB / 1.218 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.132, allocations: 81.52 kB / 1.218 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.144, allocations: 5.227 MB / 1.223 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007843/1.145, allocations: 85.7 kB / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00352/1.149, allocations: 2.86 MB / 1.226 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.15, allocations: 0.9398 MB / 1.227 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/1.152, allocations: 0.7113 MB / 1.227 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.153, allocations: 309.1 kB / 1.228 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.156, allocations: 1.678 MB / 1.229 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/1.16, allocations: 2.936 MB / 1.232 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007927/1.168, allocations: 4.958 MB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.635e-05/1.168, allocations: 12 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01192/1.18, allocations: 5.442 MB / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/1.18, allocations: 24 kB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.125e-05/1.18, allocations: 40 kB / 1.242 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.181, allocations: 421.4 kB / 1.243 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/1.185, allocations: 0.8657 MB / 1.244 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006699/1.191, allocations: 5.698 MB / 1.249 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.196, allocations: 0.5146 MB / 1.25 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6729/1.869, allocations: 175.7 kB / 1.25 GB, free: 210.9 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.005995/1.875, allocations: 2.284 MB / 1.252 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/1.877, allocations: 487.2 kB / 1.253 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/1.886, allocations: 4.185 MB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/1.886, allocations: 31.02 kB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.886, allocations: 3.938 kB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0073/1.893, allocations: 3.633 MB / 1.26 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/1.917, allocations: 10.29 MB / 1.27 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.918, allocations: 4.75 kB / 1.27 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.92, allocations: 0.5059 MB / 1.271 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/1.921, allocations: 372.8 kB / 1.271 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/1.921, allocations: 74.52 kB / 1.271 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/1.926, allocations: 5.647 MB / 1.277 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.926, allocations: 9.156 kB / 1.277 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.938, allocations: 6.238 MB / 1.283 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004248/1.942, allocations: 1.1 MB / 1.284 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.944, allocations: 66.23 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/1.947, allocations: 182.9 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/1.948, allocations: 178.3 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003204/1.948, allocations: 127.3 kB / 1.284 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00607/1.954, allocations: 3.843 MB / 1.288 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.92e-07/1.954, allocations: 0 / 1.288 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006885/1.961, allocations: 1.798 MB / 1.29 GB, free: 195.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.00153/1.963, allocations: 488.8 kB / 1.29 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01324/1.976, allocations: 8.078 MB / 1.298 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/1.976, allocations: 4 kB / 1.298 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.979, allocations: 2.031 MB / 1.3 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/1.996, allocations: 3.462 MB / 1.304 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/2.019, allocations: 12.63 MB / 1.316 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005283/2.024, allocations: 4.303 MB / 1.32 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006111/2.03, allocations: 1.86 MB / 1.322 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/2.032, allocations: 419.2 kB / 1.322 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/2.032, allocations: 1.422 kB / 1.322 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.166/2.198, allocations: 117 MB / 1.437 GB, free: 48.62 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