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.001075/0.001075, allocations: 98.8 kB / 16.02 MB, free: 76 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.001436/0.001436, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 17.44 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05636/0.4194, allocations: 47.99 MB / 1.106 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4407, allocations: 13.67 MB / 1.12 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.4439, allocations: 59.62 kB / 1.12 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.4465, allocations: 0.6524 MB / 1.12 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007393/0.4539, allocations: 2.088 MB / 1.122 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.4576, allocations: 1.188 MB / 1.123 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02485/0.4825, allocations: 25.63 MB / 1.148 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.4934, allocations: 7.821 MB / 1.156 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.5045, allocations: 4.691 MB / 1.161 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009821/0.5143, allocations: 5.223 MB / 1.166 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.5162, allocations: 300 kB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.5218, allocations: 0.9826 MB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.5246, allocations: 1.428 MB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008115/0.5327, allocations: 3.535 MB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.5451, allocations: 9.516 MB / 1.181 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5452, allocations: 0 / 1.181 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5452, allocations: 0 / 1.181 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004705/0.5456, allocations: 0 / 1.181 GB, free: 7.73 MB / 0.9356 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.01662/0.5623, allocations: 6.221 MB / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5623, allocations: 15.95 kB / 1.187 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/0.5667, allocations: 0.7852 MB / 1.188 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.5804, allocations: 6.237 MB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/0.581, allocations: 423.4 kB / 1.195 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.5831, allocations: 0.5389 MB / 1.195 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.603, allocations: 8.072 MB / 1.203 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.6032, allocations: 19.78 kB / 1.203 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007921/0.604, allocations: 232 kB / 1.203 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.6042, allocations: 167.9 kB / 1.203 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.6177, allocations: 6.524 MB / 1.21 GB, free: 10.11 MB / 0.9669 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.04705/0.6647, allocations: 31.18 MB / 1.24 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/0.6707, allocations: 3.651 MB / 1.244 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/0.6748, allocations: 2.823 MB / 1.246 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009847/0.6758, allocations: 0.8436 MB / 1.247 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.6759, allocations: 72.67 kB / 1.247 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.789e-06/0.6759, allocations: 0 / 1.247 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.715/1.391, allocations: 5.776 MB / 1.253 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.391, allocations: 80.11 kB / 1.253 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008246/1.399, allocations: 5.026 MB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006706/1.4, allocations: 82.23 kB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.402, allocations: 2.871 MB / 1.261 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.404, allocations: 0.9361 MB / 1.262 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/1.404, allocations: 302.6 kB / 1.262 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/1.404, allocations: 306.5 kB / 1.262 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/1.407, allocations: 1.679 MB / 1.264 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/1.411, allocations: 2.928 MB / 1.267 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008102/1.419, allocations: 4.967 MB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.896e-05/1.419, allocations: 11.22 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01306/1.432, allocations: 5.441 MB / 1.277 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/1.432, allocations: 20.88 kB / 1.277 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.684e-05/1.433, allocations: 40.34 kB / 1.277 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.434, allocations: 421.1 kB / 1.277 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/1.437, allocations: 0.8627 MB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/1.444, allocations: 5.259 MB / 1.283 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006729/1.451, allocations: 0.6446 MB / 1.284 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.452, allocations: 181.1 kB / 1.284 GB, free: 160.8 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.006437/1.458, allocations: 2.286 MB / 1.287 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/1.46, allocations: 487.6 kB / 1.287 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007635/1.467, allocations: 4.177 MB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/1.468, allocations: 30.38 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.468, allocations: 6 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004867/1.472, allocations: 3.648 MB / 1.295 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/1.492, allocations: 10.2 MB / 1.305 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.493, allocations: 7.656 kB / 1.305 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.494, allocations: 0.5037 MB / 1.305 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007554/1.495, allocations: 372.8 kB / 1.305 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.495, allocations: 79.33 kB / 1.306 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/1.5, allocations: 5.199 MB / 1.311 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.5, allocations: 8.062 kB / 1.311 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/1.508, allocations: 6.253 MB / 1.317 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003221/1.511, allocations: 1.162 MB / 1.318 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008921/1.512, allocations: 63.98 kB / 1.318 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.515, allocations: 340.2 kB / 1.318 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/1.516, allocations: 176.2 kB / 1.318 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.516, allocations: 123.9 kB / 1.319 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004776/1.521, allocations: 3.687 MB / 1.322 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.521, allocations: 0 / 1.322 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006951/1.528, allocations: 1.784 MB / 1.324 GB, free: 133.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.001419/1.529, allocations: 482.8 kB / 1.324 GB, free: 133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006016/1.535, allocations: 4.256 MB / 1.328 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.535, allocations: 4 kB / 1.328 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.537, allocations: 2.043 MB / 1.33 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01923/1.557, allocations: 3.274 MB / 1.334 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.582, allocations: 15.17 MB / 1.349 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/1.586, allocations: 4.234 MB / 1.353 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.588, allocations: 443.2 kB / 1.353 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.588, allocations: 0 / 1.353 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.2136/1.802, allocations: 171.6 MB / 1.521 GB, free: 12.23 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches