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.007518/0.007518, allocations: 98.14 kB / 15.73 MB, free: 6.059 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.00189/0.00189, allocations: 199.8 kB / 16.68 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.7 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2352, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04675/0.282, allocations: 49.29 MB / 1.136 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.2998, allocations: 13.82 MB / 1.149 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3018, allocations: 67.62 kB / 1.149 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.3039, allocations: 0.807 MB / 1.15 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.3094, allocations: 2.258 MB / 1.152 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.3124, allocations: 1.32 MB / 1.153 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01716/0.3296, allocations: 19.59 MB / 1.173 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.3406, allocations: 9.907 MB / 1.182 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.3511, allocations: 6.515 MB / 1.189 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007872/0.3589, allocations: 5.755 MB / 1.194 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002/0.361, allocations: 0.8438 MB / 1.195 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/0.3657, allocations: 1.604 MB / 1.197 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.3685, allocations: 2.115 MB / 1.199 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006028/0.3745, allocations: 4.295 MB / 1.203 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.3851, allocations: 12.06 MB / 1.215 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3851, allocations: 0 / 1.215 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3851, allocations: 0 / 1.215 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002337/0.3854, allocations: 4 kB / 1.215 GB, free: 15.27 MB / 0.9825 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.01573/0.4011, allocations: 7.729 MB / 1.222 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4012, allocations: 8.031 kB / 1.222 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.4029, allocations: 0.768 MB / 1.223 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.4055, allocations: 0.793 MB / 1.224 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.4176, allocations: 6.298 MB / 1.23 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.4179, allocations: 423.1 kB / 1.23 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.4191, allocations: 0.5389 MB / 1.231 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.4323, allocations: 8.068 MB / 1.239 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.4324, allocations: 19.88 kB / 1.239 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/0.433, allocations: 236 kB / 1.239 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.4331, allocations: 167.9 kB / 1.239 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.4435, allocations: 6.52 MB / 1.245 GB, free: 15.31 MB / 1.014 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.512/0.9555, allocations: 31.2 MB / 1.276 GB, free: 142.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/0.9614, allocations: 3.65 MB / 1.279 GB, free: 140.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.9654, allocations: 2.79 MB / 1.282 GB, free: 139.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007868/0.9662, allocations: 0.8307 MB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.9663, allocations: 68.86 kB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 4.718e-06/0.9663, allocations: 4.219 kB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01094/0.9772, allocations: 5.763 MB / 1.289 GB, free: 137.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.9773, allocations: 83.14 kB / 1.289 GB, free: 137 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009174/0.9865, allocations: 5.231 MB / 1.294 GB, free: 135.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/0.9868, allocations: 80.98 kB / 1.294 GB, free: 135.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.9889, allocations: 2.866 MB / 1.297 GB, free: 133.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008258/0.9898, allocations: 0.9352 MB / 1.298 GB, free: 132.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.9909, allocations: 0.7173 MB / 1.298 GB, free: 132 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.822e-05/0.9909, allocations: 305.8 kB / 1.299 GB, free: 131.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.9936, allocations: 1.675 MB / 1.3 GB, free: 131.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.9966, allocations: 2.933 MB / 1.303 GB, free: 129.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005663/1.002, allocations: 4.966 MB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/1.002, allocations: 11 kB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008037/1.01, allocations: 5.442 MB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/1.01, allocations: 23.75 kB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.01, allocations: 39.56 kB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/1.011, allocations: 419.8 kB / 1.314 GB, free: 123.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.014, allocations: 0.8597 MB / 1.315 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/1.019, allocations: 5.701 MB / 1.32 GB, free: 118.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/1.023, allocations: 0.5226 MB / 1.321 GB, free: 118.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/1.023, allocations: 183.2 kB / 1.321 GB, free: 118.2 MB / 1.014 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.003207/1.026, allocations: 2.281 MB / 1.323 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.027, allocations: 488.7 kB / 1.324 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/1.034, allocations: 4.181 MB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.034, allocations: 31.61 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/1.034, allocations: 4.406 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004346/1.038, allocations: 3.626 MB / 1.331 GB, free: 112.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.055, allocations: 10.27 MB / 1.341 GB, free: 102.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.055, allocations: 4 kB / 1.341 GB, free: 102.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.057, allocations: 0.4992 MB / 1.342 GB, free: 102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/1.057, allocations: 371.6 kB / 1.342 GB, free: 101.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.058, allocations: 84.55 kB / 1.342 GB, free: 101.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/1.062, allocations: 5.637 MB / 1.348 GB, free: 95.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.062, allocations: 7.938 kB / 1.348 GB, free: 95.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007931/1.07, allocations: 6.25 MB / 1.354 GB, free: 89.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.073, allocations: 1.1 MB / 1.355 GB, free: 88.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.074, allocations: 56 kB / 1.355 GB, free: 88.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.077, allocations: 178 kB / 1.355 GB, free: 87.85 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.077, allocations: 177.6 kB / 1.355 GB, free: 87.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/1.077, allocations: 131.8 kB / 1.355 GB, free: 87.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00519/1.082, allocations: 3.839 MB / 1.359 GB, free: 83.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.082, allocations: 0 / 1.359 GB, free: 83.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004949/1.087, allocations: 1.796 MB / 1.361 GB, free: 81.95 MB / 1.014 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.009258/1.097, allocations: 7.19 MB / 1.368 GB, free: 74.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005683/1.102, allocations: 4.278 MB / 1.372 GB, free: 70.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.102, allocations: 4 kB / 1.372 GB, free: 70.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.105, allocations: 2.046 MB / 1.374 GB, free: 68.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/1.12, allocations: 3.455 MB / 1.378 GB, free: 64.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05863/1.179, allocations: 46.92 MB / 1.423 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/1.182, allocations: 4.307 MB / 1.428 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004575/1.186, allocations: 1.853 MB / 1.429 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/1.189, allocations: 2.456 MB / 1.432 GB, free: 7.727 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.189, allocations: 0 / 1.432 GB, free: 7.727 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2162/1.405, allocations: 154.1 MB / 1.582 GB, free: 14.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/21.25, allocations: 7.75 kB / 1.582 GB, free: 14.58 MB / 1.17 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