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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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.006198/0.006198, allocations: 102 kB / 15.73 MB, free: 5.555 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.001709/0.001709, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.11 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2795, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.5436/0.8232, allocations: 49.38 MB / 1.29 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.8432, allocations: 13.83 MB / 1.303 GB, free: 6.605 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.8451, allocations: 72.66 kB / 1.303 GB, free: 6.578 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.847, allocations: 0.8017 MB / 1.304 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.8522, allocations: 2.251 MB / 1.306 GB, free: 4.723 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.8553, allocations: 1.308 MB / 1.308 GB, free: 4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02017/0.8754, allocations: 19.64 MB / 1.327 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.8874, allocations: 9.912 MB / 1.336 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.9004, allocations: 6.704 MB / 1.343 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009442/0.9098, allocations: 5.7 MB / 1.348 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.9113, allocations: 0.8438 MB / 1.349 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004452/0.9157, allocations: 1.604 MB / 1.351 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.918, allocations: 2.12 MB / 1.353 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005774/0.9237, allocations: 4.303 MB / 1.357 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.9373, allocations: 12.14 MB / 1.369 GB, free: 4.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9374, allocations: 0 / 1.369 GB, free: 4.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9374, allocations: 0 / 1.369 GB, free: 4.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000179/0.9376, allocations: 0 / 1.369 GB, free: 4.34 MB / 1.061 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.01434/0.9519, allocations: 7.921 MB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.952, allocations: 12.03 kB / 1.377 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00114/0.9531, allocations: 0.7681 MB / 1.377 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.9555, allocations: 0.8204 MB / 1.378 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.9663, allocations: 6.358 MB / 1.384 GB, free: 5.445 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.9666, allocations: 418.6 kB / 1.385 GB, free: 5.039 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008718/0.9675, allocations: 0.5429 MB / 1.385 GB, free: 4.496 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.9808, allocations: 8.072 MB / 1.393 GB, free: 12.19 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.981, allocations: 15.94 kB / 1.393 GB, free: 12.17 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006101/0.9816, allocations: 236 kB / 1.394 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.9818, allocations: 167.9 kB / 1.394 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.9928, allocations: 6.528 MB / 1.4 GB, free: 5.238 MB / 1.092 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.0383/1.031, allocations: 31.31 MB / 1.431 GB, free: 4.098 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/1.037, allocations: 3.651 MB / 1.434 GB, free: 464 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004232/1.041, allocations: 2.797 MB / 1.437 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.042, allocations: 0.8318 MB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.481e-05/1.042, allocations: 72.66 kB / 1.438 GB, free: 12.56 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 4.258e-06/1.042, allocations: 0 / 1.438 GB, free: 12.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01116/1.054, allocations: 5.785 MB / 1.443 GB, free: 6.68 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.054, allocations: 81.52 kB / 1.444 GB, free: 6.586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007368/1.061, allocations: 5.235 MB / 1.449 GB, free: 1.352 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.061, allocations: 77.7 kB / 1.449 GB, free: 1.27 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/1.064, allocations: 2.938 MB / 1.452 GB, free: 14.31 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.065, allocations: 0.98 MB / 1.453 GB, free: 13.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/1.066, allocations: 0.7156 MB / 1.453 GB, free: 12.6 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.066, allocations: 305.1 kB / 1.454 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/1.069, allocations: 1.678 MB / 1.455 GB, free: 10.62 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00387/1.073, allocations: 2.928 MB / 1.458 GB, free: 7.137 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006891/1.08, allocations: 4.97 MB / 1.463 GB, free: 1.574 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.08, allocations: 8 kB / 1.463 GB, free: 1.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009008/1.089, allocations: 5.463 MB / 1.468 GB, free: 12.05 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/1.089, allocations: 29.75 kB / 1.468 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.089, allocations: 40 kB / 1.468 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009805/1.09, allocations: 413.7 kB / 1.469 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/1.093, allocations: 0.858 MB / 1.47 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/1.1, allocations: 5.707 MB / 1.475 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/1.103, allocations: 0.5276 MB / 1.476 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/1.103, allocations: 184 kB / 1.476 GB, free: 4.023 MB / 1.17 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.003575/1.107, allocations: 2.276 MB / 1.478 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008638/1.108, allocations: 0.5046 MB / 1.479 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/1.115, allocations: 4.181 MB / 1.483 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.115, allocations: 32 kB / 1.483 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.115, allocations: 4.047 kB / 1.483 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/1.121, allocations: 3.639 MB / 1.486 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.137, allocations: 10.27 MB / 1.496 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.137, allocations: 7.938 kB / 1.496 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.139, allocations: 0.4998 MB / 1.497 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008515/1.14, allocations: 371.2 kB / 1.497 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.14, allocations: 79.95 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00632/1.147, allocations: 5.65 MB / 1.503 GB, free: 7.875 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.147, allocations: 11.94 kB / 1.503 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/1.156, allocations: 6.269 MB / 1.509 GB, free: 1.426 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.158, allocations: 1.118 MB / 1.51 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006466/1.159, allocations: 59.98 kB / 1.51 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.162, allocations: 183.6 kB / 1.51 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/1.162, allocations: 177.7 kB / 1.51 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/1.162, allocations: 139.8 kB / 1.51 GB, free: 15.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005638/1.168, allocations: 3.843 MB / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004537/1.173, allocations: 1.817 MB / 1.516 GB, free: 10.09 MB / 1.217 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.01084/1.183, allocations: 7.207 MB / 1.523 GB, free: 2.707 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006723/1.19, allocations: 4.29 MB / 1.527 GB, free: 14.37 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.19, allocations: 4 kB / 1.527 GB, free: 14.37 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.003045/1.193, allocations: 2.042 MB / 1.529 GB, free: 12.29 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/1.207, allocations: 3.446 MB / 1.533 GB, free: 8.941 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06795/1.275, allocations: 47.14 MB / 1.579 GB, free: 8.121 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004408/1.279, allocations: 4.299 MB / 1.583 GB, free: 3.789 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005159/1.285, allocations: 1.854 MB / 1.585 GB, free: 1.945 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003589/1.288, allocations: 2.448 MB / 1.587 GB, free: 15.49 MB / 1.295 GB Notification: Performance of SimCode: time 4.81e-07/1.288, allocations: 0 / 1.587 GB, free: 15.49 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2453/1.534, allocations: 154.1 MB / 1.737 GB, free: 6.449 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/21.45, allocations: 14.75 kB / 1.738 GB, free: 6.438 MB / 1.436 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv","/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