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.0009487/0.0009487, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007769/0.007769, allocations: 169 kB / 16.26 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 11.98 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8185, allocations: 153.8 MB / 1.023 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04858/0.8671, allocations: 47.98 MB / 1.07 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.8868, allocations: 13.67 MB / 1.083 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.8897, allocations: 59.62 kB / 1.083 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.8921, allocations: 0.6525 MB / 1.084 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.899, allocations: 2.092 MB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.9024, allocations: 1.178 MB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02513/0.9276, allocations: 25.64 MB / 1.112 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.9402, allocations: 7.824 MB / 1.12 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.9518, allocations: 4.695 MB / 1.124 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.9627, allocations: 5.223 MB / 1.129 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.9646, allocations: 304 kB / 1.13 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.9702, allocations: 0.9827 MB / 1.131 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.9725, allocations: 1.424 MB / 1.132 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00839/0.9809, allocations: 3.539 MB / 1.136 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.9957, allocations: 11.25 MB / 1.147 GB, free: 1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9957, allocations: 3.938 kB / 1.147 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9957, allocations: 7.938 kB / 1.147 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004737/0.9962, allocations: 0 / 1.147 GB, free: 0.9883 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.01625/1.012, allocations: 6.221 MB / 1.153 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.013, allocations: 12.03 kB / 1.153 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/1.017, allocations: 0.7852 MB / 1.153 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/1.03, allocations: 6.244 MB / 1.16 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/1.03, allocations: 419.2 kB / 1.16 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/1.032, allocations: 0.5351 MB / 1.16 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/1.051, allocations: 8.076 MB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.052, allocations: 15.88 kB / 1.168 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.054, allocations: 236 kB / 1.169 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/1.054, allocations: 171.8 kB / 1.169 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.069, allocations: 6.524 MB / 1.175 GB, free: 3.371 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.05286/1.122, allocations: 31.17 MB / 1.206 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/1.129, allocations: 3.645 MB / 1.209 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00503/1.134, allocations: 2.822 MB / 1.212 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.135, allocations: 0.8398 MB / 1.213 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/1.135, allocations: 68.67 kB / 1.213 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 5.11e-06/1.135, allocations: 4 kB / 1.213 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01326/1.149, allocations: 5.782 MB / 1.218 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/1.149, allocations: 81.52 kB / 1.218 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.16, allocations: 5.028 MB / 1.223 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008429/1.161, allocations: 77.7 kB / 1.223 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003209/1.164, allocations: 2.872 MB / 1.226 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.166, allocations: 0.9359 MB / 1.227 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.167, allocations: 309.6 kB / 1.227 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.167, allocations: 305.1 kB / 1.228 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/1.171, allocations: 1.67 MB / 1.229 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/1.175, allocations: 2.932 MB / 1.232 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/1.183, allocations: 4.97 MB / 1.237 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-05/1.183, allocations: 12 kB / 1.237 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01504/1.198, allocations: 5.437 MB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/1.198, allocations: 23.94 kB / 1.242 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.558e-05/1.199, allocations: 43.98 kB / 1.242 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.2, allocations: 427.9 kB / 1.243 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.203, allocations: 0.858 MB / 1.244 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/1.209, allocations: 5.266 MB / 1.249 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.215, allocations: 0.6393 MB / 1.25 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007291/1.215, allocations: 180 kB / 1.25 GB, free: 3.34 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.005401/1.221, allocations: 2.289 MB / 1.252 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/1.223, allocations: 486.1 kB / 1.252 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7428/1.966, allocations: 4.175 MB / 1.256 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.227e-05/1.966, allocations: 26.34 kB / 1.256 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.966, allocations: 5.344 kB / 1.256 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006428/1.972, allocations: 3.637 MB / 1.26 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.997, allocations: 10.22 MB / 1.27 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.998, allocations: 4.406 kB / 1.27 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/2, allocations: 0.5003 MB / 1.271 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/2.001, allocations: 371.2 kB / 1.271 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/2.001, allocations: 74.75 kB / 1.271 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/2.006, allocations: 5.205 MB / 1.276 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/2.006, allocations: 11.22 kB / 1.276 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/2.016, allocations: 6.246 MB / 1.282 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004071/2.02, allocations: 1.16 MB / 1.283 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009317/2.021, allocations: 63.45 kB / 1.283 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/2.024, allocations: 336.5 kB / 1.284 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/2.025, allocations: 171.8 kB / 1.284 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/2.025, allocations: 136.3 kB / 1.284 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006037/2.031, allocations: 3.684 MB / 1.288 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.031, allocations: 3.75 kB / 1.288 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005735/2.037, allocations: 1.781 MB / 1.289 GB, free: 198.3 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.001186/2.038, allocations: 483.3 kB / 1.29 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005588/2.043, allocations: 4.25 MB / 1.294 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/2.043, allocations: 4.531 kB / 1.294 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/2.046, allocations: 2.036 MB / 1.296 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01862/2.064, allocations: 3.283 MB / 1.299 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/2.083, allocations: 15.12 MB / 1.314 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/2.086, allocations: 4.311 MB / 1.318 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005887/2.092, allocations: 1.853 MB / 1.32 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/2.093, allocations: 407.2 kB / 1.32 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/2.093, allocations: 4 kB / 1.32 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1485/2.242, allocations: 110.1 MB / 1.428 GB, free: 61.07 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