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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, 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.00111/0.00111, allocations: 196.7 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.313/1.313, 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.539/2.539, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/0.5412, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04836/0.5896, allocations: 49.31 MB / 1.066 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.6078, allocations: 13.81 MB / 1.079 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.6103, allocations: 67.62 kB / 1.079 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.6129, allocations: 0.807 MB / 1.08 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.6203, allocations: 2.258 MB / 1.082 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.624, allocations: 1.3 MB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02112/0.6451, allocations: 19.58 MB / 1.102 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.6584, allocations: 9.906 MB / 1.112 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.6706, allocations: 6.492 MB / 1.119 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009237/0.6798, allocations: 5.762 MB / 1.124 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002524/0.6824, allocations: 0.8438 MB / 1.125 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005486/0.6879, allocations: 1.596 MB / 1.127 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.005026/0.6929, allocations: 2.115 MB / 1.129 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009061/0.702, allocations: 4.291 MB / 1.133 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.7154, allocations: 11.92 MB / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7154, allocations: 0 / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7155, allocations: 0 / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003184/0.7158, allocations: 4 kB / 1.144 GB, free: 15.95 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.01758/0.7334, allocations: 7.729 MB / 1.152 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7334, allocations: 8.031 kB / 1.152 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002066/0.7355, allocations: 0.7681 MB / 1.153 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.7388, allocations: 0.7891 MB / 1.153 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.75, allocations: 6.058 MB / 1.159 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.7504, allocations: 415.2 kB / 1.16 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.7518, allocations: 0.5468 MB / 1.16 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.7673, allocations: 8.061 MB / 1.168 GB, free: 7.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.7674, allocations: 23.78 kB / 1.168 GB, free: 7.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009802/0.7684, allocations: 244 kB / 1.168 GB, free: 6.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.7686, allocations: 159.9 kB / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.7805, allocations: 6.528 MB / 1.175 GB, free: 232 kB / 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.04104/0.8216, allocations: 31.42 MB / 1.206 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.8273, allocations: 3.653 MB / 1.209 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.8313, allocations: 2.81 MB / 1.212 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009374/0.8323, allocations: 0.828 MB / 1.213 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.8323, allocations: 68.67 kB / 1.213 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 4.538e-06/0.8323, allocations: 0 / 1.213 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01101/0.8434, allocations: 5.766 MB / 1.219 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.8434, allocations: 81.52 kB / 1.219 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008848/0.8523, allocations: 5.231 MB / 1.224 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.8527, allocations: 81.7 kB / 1.224 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.8553, allocations: 2.86 MB / 1.227 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.8563, allocations: 0.932 MB / 1.227 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.8575, allocations: 0.7113 MB / 1.228 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.8577, allocations: 317 kB / 1.228 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.8603, allocations: 1.674 MB / 1.23 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.8637, allocations: 2.94 MB / 1.233 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.87, allocations: 4.966 MB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.87, allocations: 16 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008978/0.879, allocations: 5.433 MB / 1.243 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.8791, allocations: 24 kB / 1.243 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.798e-05/0.8791, allocations: 43.94 kB / 1.243 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.8802, allocations: 429.7 kB / 1.244 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.8832, allocations: 0.858 MB / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4791/1.362, allocations: 5.697 MB / 1.25 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.367, allocations: 0.5183 MB / 1.251 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00055/1.368, allocations: 178.5 kB / 1.251 GB, free: 210.2 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.004256/1.372, allocations: 2.281 MB / 1.253 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.373, allocations: 490.8 kB / 1.253 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007404/1.381, allocations: 4.178 MB / 1.257 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.381, allocations: 33.58 kB / 1.258 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.381, allocations: 8.188 kB / 1.258 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005914/1.387, allocations: 3.629 MB / 1.261 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/1.404, allocations: 10.29 MB / 1.271 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.404, allocations: 4.406 kB / 1.271 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.406, allocations: 0.5006 MB / 1.272 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/1.407, allocations: 376.8 kB / 1.272 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.407, allocations: 78.78 kB / 1.272 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/1.411, allocations: 5.648 MB / 1.278 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.411, allocations: 7.906 kB / 1.278 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/1.419, allocations: 6.244 MB / 1.284 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.422, allocations: 1.094 MB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007794/1.423, allocations: 64.97 kB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.425, allocations: 174.8 kB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.425, allocations: 177.1 kB / 1.285 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.426, allocations: 131.5 kB / 1.285 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004725/1.43, allocations: 3.838 MB / 1.289 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.43, allocations: 3.312 kB / 1.289 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004716/1.435, allocations: 1.8 MB / 1.291 GB, free: 194.2 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.008105/1.443, allocations: 7.185 MB / 1.298 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.455, allocations: 8.064 MB / 1.306 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.455, allocations: 4 kB / 1.306 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/1.458, allocations: 2.037 MB / 1.308 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/1.472, allocations: 3.476 MB / 1.311 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05606/1.528, allocations: 57.85 MB / 1.368 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.531, allocations: 4.303 MB / 1.372 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005042/1.536, allocations: 1.854 MB / 1.374 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/1.539, allocations: 2.452 MB / 1.376 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.539, allocations: 0 / 1.376 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/1.742, allocations: 158.1 MB / 1.53 GB, free: 11.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.59, allocations: 16.77 kB / 1.53 GB, free: 11.1 MB / 1.061 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches