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.007684/0.007684, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002147/0.002147, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.666/2.666, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003161/0.003161, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.303, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05294/0.356, allocations: 49.32 MB / 1.214 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3753, allocations: 13.81 MB / 1.228 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.3773, allocations: 67.62 kB / 1.228 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.3793, allocations: 0.8109 MB / 1.229 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.3847, allocations: 2.25 MB / 1.231 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.3877, allocations: 1.312 MB / 1.232 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 1.008/1.395, allocations: 19.58 MB / 1.251 GB, free: 7.242 MB / 0.9982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/1.41, allocations: 9.904 MB / 1.261 GB, free: 5.762 MB / 0.9982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/1.422, allocations: 6.518 MB / 1.267 GB, free: 5.301 MB / 0.9982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/1.433, allocations: 5.753 MB / 1.273 GB, free: 4.383 MB / 0.9982 GB Notification: Performance of NFPackage.collectConstants: time 0.003036/1.436, allocations: 0.8442 MB / 1.274 GB, free: 4.383 MB / 0.9982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006825/1.443, allocations: 1.604 MB / 1.275 GB, free: 4.383 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.003763/1.446, allocations: 2.118 MB / 1.277 GB, free: 4.125 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.01/1.456, allocations: 4.287 MB / 1.282 GB, free: 3.109 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/1.474, allocations: 12.1 MB / 1.293 GB, free: 1.711 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.474, allocations: 4.656 kB / 1.293 GB, free: 1.711 MB / 0.9982 GB Notification: Performance of FrontEnd: time 1.523e-06/1.474, allocations: 0 / 1.293 GB, free: 1.711 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.0004175/1.475, allocations: 0 / 1.293 GB, free: 1.711 MB / 0.9982 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.02264/1.497, allocations: 7.914 MB / 1.301 GB, free: 14.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.497, allocations: 9.75 kB / 1.301 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001547/1.499, allocations: 0.7666 MB / 1.302 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/1.502, allocations: 0.8301 MB / 1.303 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/1.514, allocations: 6.342 MB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.514, allocations: 419.3 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/1.516, allocations: 0.5386 MB / 1.31 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.53, allocations: 8.072 MB / 1.318 GB, free: 8.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.53, allocations: 18.2 kB / 1.318 GB, free: 8.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006858/1.531, allocations: 239.3 kB / 1.318 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/1.531, allocations: 165.5 kB / 1.318 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/1.542, allocations: 6.524 MB / 1.324 GB, free: 6.105 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.04023/1.582, allocations: 31.27 MB / 1.355 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/1.587, allocations: 3.643 MB / 1.359 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/1.591, allocations: 2.805 MB / 1.361 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.592, allocations: 0.8244 MB / 1.362 GB, free: 9.223 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/1.592, allocations: 76.86 kB / 1.362 GB, free: 9.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 4.509e-06/1.592, allocations: 0 / 1.362 GB, free: 9.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.01134/1.603, allocations: 5.79 MB / 1.368 GB, free: 3.789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/1.603, allocations: 77.52 kB / 1.368 GB, free: 3.699 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/1.611, allocations: 5.237 MB / 1.373 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.612, allocations: 77.7 kB / 1.373 GB, free: 14.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.615, allocations: 2.936 MB / 1.376 GB, free: 11.44 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/1.616, allocations: 0.9782 MB / 1.377 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.617, allocations: 0.7195 MB / 1.378 GB, free: 9.746 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.617, allocations: 301.1 kB / 1.378 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.62, allocations: 1.685 MB / 1.38 GB, free: 7.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/1.624, allocations: 2.93 MB / 1.382 GB, free: 4.309 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006933/1.631, allocations: 4.968 MB / 1.387 GB, free: 14.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/1.631, allocations: 12 kB / 1.387 GB, free: 14.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009874/1.641, allocations: 5.462 MB / 1.393 GB, free: 9.637 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.641, allocations: 20 kB / 1.393 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-05/1.641, allocations: 40 kB / 1.393 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.642, allocations: 425.5 kB / 1.393 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/1.645, allocations: 0.8565 MB / 1.394 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/1.651, allocations: 5.704 MB / 1.399 GB, free: 2.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.656, allocations: 0.5347 MB / 1.4 GB, free: 1.895 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/1.656, allocations: 176 kB / 1.4 GB, free: 1.723 MB / 1.076 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.004266/1.661, allocations: 2.287 MB / 1.402 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.662, allocations: 0.5008 MB / 1.403 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007449/1.669, allocations: 4.182 MB / 1.407 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/1.669, allocations: 28 kB / 1.407 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.669, allocations: 7.938 kB / 1.407 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005666/1.675, allocations: 3.634 MB / 1.411 GB, free: 6.992 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/1.693, allocations: 10.27 MB / 1.421 GB, free: 12.66 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.694, allocations: 11.94 kB / 1.421 GB, free: 12.64 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.696, allocations: 0.5057 MB / 1.421 GB, free: 12.16 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/1.697, allocations: 376.3 kB / 1.421 GB, free: 11.79 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.697, allocations: 75.95 kB / 1.422 GB, free: 11.72 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006431/1.703, allocations: 5.637 MB / 1.427 GB, free: 5.844 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/1.703, allocations: 8 kB / 1.427 GB, free: 5.836 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.714, allocations: 6.28 MB / 1.433 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.717, allocations: 1.118 MB / 1.434 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007893/1.717, allocations: 63.98 kB / 1.434 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.72, allocations: 179.1 kB / 1.434 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/1.72, allocations: 172.6 kB / 1.435 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/1.721, allocations: 131.9 kB / 1.435 GB, free: 13.73 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.006218/1.727, allocations: 3.839 MB / 1.439 GB, free: 9.91 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.21e-07/1.727, allocations: 0 / 1.439 GB, free: 9.91 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.006461/1.733, allocations: 1.809 MB / 1.44 GB, free: 8.098 MB / 1.123 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.01232/1.746, allocations: 7.215 MB / 1.447 GB, free: 0.7812 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0074/1.753, allocations: 4.284 MB / 1.452 GB, free: 12.61 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.753, allocations: 7.781 kB / 1.452 GB, free: 12.6 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003228/1.756, allocations: 2.033 MB / 1.454 GB, free: 10.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01675/1.773, allocations: 3.455 MB / 1.457 GB, free: 7.238 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07682/1.85, allocations: 47.14 MB / 1.503 GB, free: 6.711 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/1.855, allocations: 4.303 MB / 1.507 GB, free: 2.375 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.005719/1.861, allocations: 1.852 MB / 1.509 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004202/1.865, allocations: 2.445 MB / 1.511 GB, free: 14.11 MB / 1.201 GB Notification: Performance of SimCode: time 6.11e-07/1.865, allocations: 0 / 1.511 GB, free: 14.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2578/2.123, allocations: 154.1 MB / 1.662 GB, free: 5.355 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.34/23.47, allocations: 14.23 kB / 1.662 GB, free: 5.344 MB / 1.342 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