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.005247/0.005247, allocations: 97.62 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.001065/0.001065, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.565/2.565, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2681, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04413/0.3123, allocations: 49.3 MB / 1.214 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3305, allocations: 13.83 MB / 1.228 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.3328, allocations: 71.62 kB / 1.228 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.3349, allocations: 0.8188 MB / 1.229 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.3408, allocations: 2.348 MB / 1.231 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.3439, allocations: 1.323 MB / 1.232 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.6031/0.9471, allocations: 19.61 MB / 1.251 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/0.9617, allocations: 9.906 MB / 1.261 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.9762, allocations: 6.59 MB / 1.268 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.9882, allocations: 5.755 MB / 1.273 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002798/0.991, allocations: 0.8435 MB / 1.274 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007474/0.9985, allocations: 1.606 MB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003381/1.002, allocations: 2.113 MB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/1.013, allocations: 4.291 MB / 1.282 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02146/1.034, allocations: 12.1 MB / 1.294 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.034, allocations: 0.7969 kB / 1.294 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/1.034, allocations: 4 kB / 1.294 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006061/1.035, allocations: 1.062 kB / 1.294 GB, free: 1.598 MB / 0.9981 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.02763/1.063, allocations: 7.909 MB / 1.301 GB, free: 14.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.063, allocations: 19.72 kB / 1.301 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003721/1.066, allocations: 0.7699 MB / 1.302 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/1.072, allocations: 0.8195 MB / 1.303 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.09, allocations: 6.343 MB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006866/1.09, allocations: 415.6 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/1.093, allocations: 0.5511 MB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/1.117, allocations: 8.07 MB / 1.318 GB, free: 8.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003835/1.117, allocations: 17.03 kB / 1.318 GB, free: 8.301 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/1.12, allocations: 241.4 kB / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/1.12, allocations: 163.2 kB / 1.318 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/1.135, allocations: 6.525 MB / 1.325 GB, free: 6 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.05268/1.188, allocations: 31.27 MB / 1.355 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/1.193, allocations: 3.647 MB / 1.359 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.198, allocations: 2.796 MB / 1.362 GB, free: 10.01 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009544/1.199, allocations: 0.8296 MB / 1.362 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/1.199, allocations: 73.44 kB / 1.362 GB, free: 9.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 6.152e-06/1.199, allocations: 0 / 1.362 GB, free: 9.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.01178/1.21, allocations: 5.796 MB / 1.368 GB, free: 3.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.211, allocations: 77.52 kB / 1.368 GB, free: 3.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.221, allocations: 5.234 MB / 1.373 GB, free: 14.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0007964/1.222, allocations: 77.7 kB / 1.373 GB, free: 14.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.225, allocations: 2.936 MB / 1.376 GB, free: 11.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.226, allocations: 0.9816 MB / 1.377 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/1.228, allocations: 0.7234 MB / 1.378 GB, free: 9.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/1.228, allocations: 301.1 kB / 1.378 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.231, allocations: 1.674 MB / 1.38 GB, free: 7.637 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003689/1.235, allocations: 2.927 MB / 1.383 GB, free: 4.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007269/1.242, allocations: 4.968 MB / 1.387 GB, free: 14.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-05/1.242, allocations: 15.94 kB / 1.387 GB, free: 14.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01164/1.254, allocations: 5.459 MB / 1.393 GB, free: 9.508 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/1.254, allocations: 20 kB / 1.393 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/1.254, allocations: 40 kB / 1.393 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.255, allocations: 417.9 kB / 1.393 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/1.259, allocations: 0.8639 MB / 1.394 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/1.264, allocations: 5.722 MB / 1.4 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.27, allocations: 0.5278 MB / 1.4 GB, free: 1.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007693/1.271, allocations: 176 kB / 1.4 GB, free: 1.594 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.00488/1.276, allocations: 2.284 MB / 1.403 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/1.278, allocations: 0.5007 MB / 1.403 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008273/1.286, allocations: 4.183 MB / 1.407 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/1.286, allocations: 31.19 kB / 1.407 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.286, allocations: 4 kB / 1.407 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005558/1.292, allocations: 3.636 MB / 1.411 GB, free: 6.859 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.316, allocations: 10.28 MB / 1.421 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.316, allocations: 4.062 kB / 1.421 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/1.319, allocations: 0.5019 MB / 1.421 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/1.32, allocations: 365.4 kB / 1.422 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/1.32, allocations: 79.95 kB / 1.422 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005909/1.326, allocations: 5.648 MB / 1.427 GB, free: 5.699 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.326, allocations: 11.34 kB / 1.427 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.337, allocations: 6.274 MB / 1.433 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004185/1.341, allocations: 1.126 MB / 1.434 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/1.343, allocations: 63.98 kB / 1.435 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/1.347, allocations: 171.1 kB / 1.435 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/1.347, allocations: 172.5 kB / 1.435 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004439/1.348, allocations: 127.9 kB / 1.435 GB, free: 13.61 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.008245/1.356, allocations: 3.843 MB / 1.439 GB, free: 9.777 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.32e-07/1.356, allocations: 0 / 1.439 GB, free: 9.777 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.01002/1.366, allocations: 1.813 MB / 1.441 GB, free: 7.961 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.0137/1.38, allocations: 7.216 MB / 1.448 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007416/1.387, allocations: 4.282 MB / 1.452 GB, free: 12.47 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.387, allocations: 11.91 kB / 1.452 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/1.391, allocations: 2.032 MB / 1.454 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02032/1.411, allocations: 3.453 MB / 1.457 GB, free: 7.102 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09406/1.505, allocations: 47.14 MB / 1.503 GB, free: 6.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006024/1.511, allocations: 4.303 MB / 1.507 GB, free: 2.234 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.007672/1.519, allocations: 1.856 MB / 1.509 GB, free: 404 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006407/1.525, allocations: 2.462 MB / 1.512 GB, free: 13.97 MB / 1.201 GB Notification: Performance of SimCode: time 1.252e-06/1.526, allocations: 0 / 1.512 GB, free: 13.97 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2264/1.752, allocations: 154.1 MB / 1.662 GB, free: 5.203 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.01/21.76, allocations: 11.89 kB / 1.662 GB, free: 5.191 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