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.001646/0.001646, allocations: 108 kB / 15.6 MB, free: 132 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.002007/0.002007, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.348/1.348, 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.649/2.649, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.814, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04849/0.8626, allocations: 49.3 MB / 1.065 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.8845, allocations: 13.82 MB / 1.079 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.8881, allocations: 67.62 kB / 1.079 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.8911, allocations: 0.807 MB / 1.08 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.8986, allocations: 2.262 MB / 1.082 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.9027, allocations: 1.297 MB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02204/0.9248, allocations: 19.58 MB / 1.102 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.9389, allocations: 9.91 MB / 1.112 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/0.9524, allocations: 6.494 MB / 1.118 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.9627, allocations: 5.762 MB / 1.124 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002707/0.9654, allocations: 0.8438 MB / 1.125 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008412/0.9738, allocations: 1.596 MB / 1.126 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003766/0.9776, allocations: 2.115 MB / 1.128 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009563/0.9872, allocations: 4.291 MB / 1.133 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/1.003, allocations: 11.93 MB / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.016e-06/1.003, allocations: 0 / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of FrontEnd: time 2.715e-06/1.003, allocations: 0 / 1.144 GB, free: 0 / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004522/1.004, allocations: 0 / 1.144 GB, free: 0 / 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.02173/1.025, allocations: 7.733 MB / 1.152 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.026, allocations: 8.031 kB / 1.152 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/1.03, allocations: 0.7891 MB / 1.153 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.043, allocations: 6.052 MB / 1.159 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004635/1.044, allocations: 419.4 kB / 1.159 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/1.046, allocations: 0.5389 MB / 1.159 GB, free: 328 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.068, allocations: 8.072 MB / 1.167 GB, free: 8.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/1.068, allocations: 19.84 kB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/1.07, allocations: 232 kB / 1.168 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/1.07, allocations: 167.9 kB / 1.168 GB, free: 7.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/1.09, allocations: 6.528 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.05618/1.146, allocations: 31.44 MB / 1.205 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007175/1.153, allocations: 3.645 MB / 1.208 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.158, allocations: 2.802 MB / 1.211 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.16, allocations: 0.8358 MB / 1.212 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/1.16, allocations: 72.67 kB / 1.212 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 6.783e-06/1.16, allocations: 0 / 1.212 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01343/1.173, allocations: 5.759 MB / 1.218 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/1.173, allocations: 77.52 kB / 1.218 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.184, allocations: 5.231 MB / 1.223 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007773/1.185, allocations: 77.7 kB / 1.223 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002956/1.188, allocations: 2.868 MB / 1.226 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00194/1.19, allocations: 0.9398 MB / 1.227 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/1.191, allocations: 0.7152 MB / 1.227 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/1.191, allocations: 305.1 kB / 1.228 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.194, allocations: 1.674 MB / 1.229 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.197, allocations: 2.932 MB / 1.232 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00645/1.204, allocations: 4.97 MB / 1.237 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/1.204, allocations: 12 kB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009686/1.213, allocations: 5.437 MB / 1.242 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/1.213, allocations: 23.94 kB / 1.242 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.542e-05/1.214, allocations: 44 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.215, allocations: 425.9 kB / 1.243 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.218, allocations: 0.8657 MB / 1.244 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/1.223, allocations: 5.702 MB / 1.249 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.228, allocations: 0.5144 MB / 1.25 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.7088/1.937, allocations: 173.6 kB / 1.25 GB, free: 211 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.005239/1.942, allocations: 2.285 MB / 1.252 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.944, allocations: 486 kB / 1.252 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/1.952, allocations: 4.187 MB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/1.952, allocations: 26.7 kB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.952, allocations: 5.531 kB / 1.257 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006104/1.958, allocations: 3.638 MB / 1.26 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.977, allocations: 10.29 MB / 1.27 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.977, allocations: 5.219 kB / 1.27 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.979, allocations: 0.496 MB / 1.271 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007871/1.98, allocations: 374 kB / 1.271 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.98, allocations: 80.83 kB / 1.271 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/1.985, allocations: 5.637 MB / 1.277 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.985, allocations: 11.75 kB / 1.277 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/1.993, allocations: 6.239 MB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002653/1.996, allocations: 1.1 MB / 1.284 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009551/1.997, allocations: 66.81 kB / 1.284 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/2, allocations: 175.1 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/2, allocations: 176.8 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/2, allocations: 131.7 kB / 1.284 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00545/2.006, allocations: 3.839 MB / 1.288 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/2.006, allocations: 0 / 1.288 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005895/2.011, allocations: 1.793 MB / 1.29 GB, free: 195.5 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.001317/2.013, allocations: 0.49 MB / 1.29 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0124/2.025, allocations: 8.069 MB / 1.298 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.025, allocations: 4 kB / 1.298 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/2.028, allocations: 2.038 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.01549/2.043, allocations: 3.465 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.01894/2.062, allocations: 12.62 MB / 1.316 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/2.066, allocations: 4.307 MB / 1.32 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006488/2.072, allocations: 1.854 MB / 1.322 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/2.073, allocations: 419.2 kB / 1.322 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/2.073, allocations: 0 / 1.322 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1529/2.226, allocations: 117 MB / 1.437 GB, free: 48.63 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