Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008396/0.0008395, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00642/0.00642, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 443.3 MB / 0.7175 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003754, allocations: 9.531 kB / 0.8796 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04788/0.4176, allocations: 47.99 MB / 1.078 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.439, allocations: 13.66 MB / 1.091 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.4422, allocations: 63.62 kB / 1.091 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.4445, allocations: 0.6486 MB / 1.092 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007646/0.4522, allocations: 2.08 MB / 1.094 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.4559, allocations: 1.194 MB / 1.095 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02734/0.4832, allocations: 25.64 MB / 1.12 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/0.4945, allocations: 7.824 MB / 1.128 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/0.5058, allocations: 4.695 MB / 1.132 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.5169, allocations: 5.219 MB / 1.138 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.5188, allocations: 308 kB / 1.138 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005662/0.5244, allocations: 0.9827 MB / 1.139 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.5269, allocations: 1.424 MB / 1.14 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007465/0.5344, allocations: 3.539 MB / 1.144 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.5481, allocations: 11.25 MB / 1.155 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5481, allocations: 0 / 1.155 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5481, allocations: 3.938 kB / 1.155 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004075/0.5485, allocations: 4 kB / 1.155 GB, free: 5.332 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.0155/0.564, allocations: 6.225 MB / 1.161 GB, free: 15.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5641, allocations: 8.031 kB / 1.161 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.5684, allocations: 0.7813 MB / 1.161 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.581, allocations: 6.24 MB / 1.168 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.5815, allocations: 415.4 kB / 1.168 GB, free: 7.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.5834, allocations: 0.5467 MB / 1.169 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.6022, allocations: 8.072 MB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.6024, allocations: 23.78 kB / 1.176 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000707/0.6031, allocations: 236 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.6033, allocations: 167.9 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.6166, allocations: 6.528 MB / 1.183 GB, free: 7.711 MB / 0.9356 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.04679/0.6635, allocations: 31.16 MB / 1.214 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005643/0.6692, allocations: 3.651 MB / 1.217 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.6732, allocations: 2.819 MB / 1.22 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.6742, allocations: 0.8436 MB / 1.221 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.078e-05/0.6743, allocations: 72.67 kB / 1.221 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=267): time 4.758e-06/0.6743, allocations: 0 / 1.221 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=267): time 0.01111/0.6854, allocations: 5.778 MB / 1.226 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.6855, allocations: 81.52 kB / 1.227 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008331/0.6938, allocations: 5.032 MB / 1.231 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/0.6947, allocations: 81.7 kB / 1.232 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002526/0.6972, allocations: 2.868 MB / 1.234 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/0.6989, allocations: 0.932 MB / 1.235 GB, free: 208 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/0.6994, allocations: 309.6 kB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6995, allocations: 305.1 kB / 1.236 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.7024, allocations: 1.674 MB / 1.237 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003648/0.7061, allocations: 2.932 MB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/0.7126, allocations: 4.966 MB / 1.245 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.7127, allocations: 12 kB / 1.245 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.7082/1.421, allocations: 5.436 MB / 1.251 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/1.421, allocations: 24.75 kB / 1.251 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/1.421, allocations: 40.16 kB / 1.251 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008781/1.422, allocations: 415.5 kB / 1.251 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.425, allocations: 0.8586 MB / 1.252 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/1.431, allocations: 5.278 MB / 1.257 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.436, allocations: 0.6432 MB / 1.258 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005714/1.436, allocations: 177.1 kB / 1.258 GB, free: 195 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.00549/1.442, allocations: 2.291 MB / 1.26 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.444, allocations: 488.1 kB / 1.26 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00838/1.452, allocations: 4.18 MB / 1.265 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/1.452, allocations: 25.97 kB / 1.265 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.452, allocations: 7.5 kB / 1.265 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006201/1.458, allocations: 3.638 MB / 1.268 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.479, allocations: 10.21 MB / 1.278 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.48, allocations: 4.156 kB / 1.278 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.482, allocations: 0.4956 MB / 1.279 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008155/1.482, allocations: 378.6 kB / 1.279 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.483, allocations: 77.86 kB / 1.279 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/1.487, allocations: 5.207 MB / 1.284 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.487, allocations: 5.859 kB / 1.284 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/1.496, allocations: 6.247 MB / 1.29 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/1.499, allocations: 1.165 MB / 1.291 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.501, allocations: 68.92 kB / 1.291 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/1.505, allocations: 327 kB / 1.292 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.505, allocations: 174.9 kB / 1.292 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.505, allocations: 131.2 kB / 1.292 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006252/1.511, allocations: 3.692 MB / 1.296 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.511, allocations: 0 / 1.296 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007069/1.518, allocations: 1.774 MB / 1.297 GB, free: 179.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.001231/1.52, allocations: 487.9 kB / 1.298 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00578/1.526, allocations: 4.251 MB / 1.302 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.526, allocations: 5.719 kB / 1.302 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/1.528, allocations: 2.046 MB / 1.304 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01884/1.547, allocations: 3.28 MB / 1.307 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.565, allocations: 15.12 MB / 1.322 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/1.568, allocations: 4.303 MB / 1.326 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00645/1.574, allocations: 1.845 MB / 1.328 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.576, allocations: 411.3 kB / 1.328 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.576, allocations: 0 / 1.328 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.1563/1.732, allocations: 110.1 MB / 1.436 GB, free: 41.31 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches