Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_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.001628/0.001628, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.309/1.309, 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 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 67.89 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5361, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04297/0.5791, allocations: 49.3 MB / 0.9979 GB, free: 396 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.5968, allocations: 13.82 MB / 1.011 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.5993, allocations: 71.62 kB / 1.011 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.6013, allocations: 0.8031 MB / 1.012 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.6071, allocations: 2.258 MB / 1.014 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.61, allocations: 1.294 MB / 1.016 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01627/0.6263, allocations: 19.58 MB / 1.035 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.6364, allocations: 9.91 MB / 1.044 GB, free: 452 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.6469, allocations: 6.503 MB / 1.051 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007921/0.6549, allocations: 5.755 MB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.6565, allocations: 0.8438 MB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/0.6606, allocations: 1.6 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.6624, allocations: 2.115 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004934/0.6673, allocations: 4.287 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.6776, allocations: 11.92 MB / 1.077 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6776, allocations: 8 kB / 1.077 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6776, allocations: 0 / 1.077 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001786/0.6778, allocations: 0 / 1.077 GB, free: 15.35 MB / 0.8419 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.01504/0.6928, allocations: 7.725 MB / 1.084 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6929, allocations: 12.03 kB / 1.084 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.6939, allocations: 0.7681 MB / 1.085 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.6962, allocations: 0.7813 MB / 1.086 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009265/0.7055, allocations: 6.046 MB / 1.092 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.7057, allocations: 419.2 kB / 1.092 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007765/0.7065, allocations: 0.539 MB / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.7182, allocations: 8.072 MB / 1.101 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.7183, allocations: 15.84 kB / 1.101 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/0.7188, allocations: 239.9 kB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.719, allocations: 168 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009848/0.7288, allocations: 6.524 MB / 1.107 GB, free: 15.64 MB / 0.8731 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.03419/0.763, allocations: 31.45 MB / 1.138 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/0.7681, allocations: 3.645 MB / 1.142 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.7717, allocations: 2.811 MB / 1.144 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009061/0.7726, allocations: 0.8319 MB / 1.145 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/0.7727, allocations: 68.67 kB / 1.145 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 5.02e-06/0.7727, allocations: 3.938 kB / 1.145 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01013/0.7829, allocations: 5.759 MB / 1.151 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.7829, allocations: 81.52 kB / 1.151 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/0.7901, allocations: 5.227 MB / 1.156 GB, free: 11.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.7906, allocations: 85.64 kB / 1.156 GB, free: 11.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.7927, allocations: 2.868 MB / 1.159 GB, free: 8.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009916/0.7937, allocations: 0.9398 MB / 1.16 GB, free: 7.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/0.7946, allocations: 0.7113 MB / 1.16 GB, free: 6.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.7947, allocations: 305.1 kB / 1.161 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.7971, allocations: 1.682 MB / 1.162 GB, free: 4.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.8002, allocations: 2.936 MB / 1.165 GB, free: 1.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005946/0.8061, allocations: 4.955 MB / 1.17 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.8062, allocations: 12 kB / 1.17 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008529/0.8147, allocations: 5.437 MB / 1.175 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.8148, allocations: 24 kB / 1.175 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/0.8148, allocations: 40 kB / 1.176 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/0.8157, allocations: 426 kB / 1.176 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.8186, allocations: 0.858 MB / 1.177 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.8242, allocations: 5.703 MB / 1.182 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.8282, allocations: 0.5144 MB / 1.183 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.8286, allocations: 180 kB / 1.183 GB, free: 14.43 MB / 0.9512 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.003395/0.832, allocations: 2.281 MB / 1.185 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.8331, allocations: 490.1 kB / 1.186 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/0.8395, allocations: 4.186 MB / 1.19 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.8395, allocations: 28 kB / 1.19 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8395, allocations: 4 kB / 1.19 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004756/0.8443, allocations: 3.636 MB / 1.193 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.8596, allocations: 10.3 MB / 1.203 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.8596, allocations: 8 kB / 1.203 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.8617, allocations: 0.4992 MB / 1.204 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.8625, allocations: 377.4 kB / 1.204 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.8627, allocations: 79.95 kB / 1.204 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.8678, allocations: 5.628 MB / 1.21 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.8679, allocations: 15.88 kB / 1.21 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008846/0.8767, allocations: 6.245 MB / 1.216 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/0.8789, allocations: 1.096 MB / 1.217 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/0.8796, allocations: 67.92 kB / 1.217 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.8821, allocations: 171.8 kB / 1.217 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.8824, allocations: 173.6 kB / 1.217 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/0.8826, allocations: 131.9 kB / 1.218 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005062/0.8877, allocations: 3.839 MB / 1.221 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8877, allocations: 0 / 1.221 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004189/0.8919, allocations: 1.796 MB / 1.223 GB, free: 4.582 MB / 0.9825 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.009716/0.9016, allocations: 7.194 MB / 1.23 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01361/0.9152, allocations: 8.073 MB / 1.238 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.9153, allocations: 4 kB / 1.238 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.9179, allocations: 2.037 MB / 1.24 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/0.9339, allocations: 3.47 MB / 1.243 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4605/1.394, allocations: 57.85 MB / 1.3 GB, free: 251.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.397, allocations: 4.31 MB / 1.304 GB, free: 248.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005043/1.403, allocations: 1.858 MB / 1.306 GB, free: 248.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/1.405, allocations: 2.449 MB / 1.308 GB, free: 246 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.405, allocations: 0 / 1.308 GB, free: 246 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/1.579, allocations: 158.1 MB / 1.463 GB, free: 94.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.65, allocations: 17.98 kB / 1.463 GB, free: 94.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches