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.009638/0.009637, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002084/0.002084, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.583/1.583, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.842/2.842, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3782, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05749/0.4357, allocations: 49.3 MB / 1.214 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.4583, allocations: 13.82 MB / 1.228 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.4615, allocations: 71.62 kB / 1.228 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.4647, allocations: 0.8188 MB / 1.229 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008297/0.4731, allocations: 2.355 MB / 1.231 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/0.4777, allocations: 1.321 MB / 1.232 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.9106/1.388, allocations: 19.6 MB / 1.251 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02218/1.411, allocations: 9.902 MB / 1.261 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02033/1.431, allocations: 6.592 MB / 1.268 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/1.446, allocations: 5.751 MB / 1.273 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004566/1.45, allocations: 0.8437 MB / 1.274 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/1.461, allocations: 1.606 MB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006719/1.468, allocations: 2.12 MB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01469/1.483, allocations: 4.282 MB / 1.282 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02745/1.51, allocations: 12.07 MB / 1.294 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.51, allocations: 0 / 1.294 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.068e-06/1.51, allocations: 0.6562 kB / 1.294 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006145/1.511, allocations: 0 / 1.294 GB, free: 1.629 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.0375/1.548, allocations: 7.732 MB / 1.301 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.548, allocations: 10.34 kB / 1.301 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004501/1.553, allocations: 0.7709 MB / 1.302 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00715/1.56, allocations: 0.783 MB / 1.303 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01974/1.58, allocations: 6.316 MB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007884/1.581, allocations: 417 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/1.585, allocations: 0.5412 MB / 1.31 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03178/1.617, allocations: 8.074 MB / 1.318 GB, free: 8.594 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/1.617, allocations: 14.97 kB / 1.318 GB, free: 8.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003482/1.621, allocations: 234.9 kB / 1.318 GB, free: 8.418 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/1.621, allocations: 164.6 kB / 1.318 GB, free: 8.414 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/1.64, allocations: 6.525 MB / 1.324 GB, free: 6.289 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.06091/1.701, allocations: 31.19 MB / 1.355 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006661/1.708, allocations: 3.648 MB / 1.358 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/1.713, allocations: 2.799 MB / 1.361 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.714, allocations: 0.8321 MB / 1.362 GB, free: 9.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/1.714, allocations: 73.11 kB / 1.362 GB, free: 9.363 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 5.37e-06/1.714, allocations: 3.375 kB / 1.362 GB, free: 9.363 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.01541/1.729, allocations: 5.757 MB / 1.368 GB, free: 3.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.73, allocations: 77.52 kB / 1.368 GB, free: 3.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.741, allocations: 5.24 MB / 1.373 GB, free: 14.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.742, allocations: 77.69 kB / 1.373 GB, free: 14.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.003795/1.746, allocations: 2.868 MB / 1.376 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002149/1.748, allocations: 0.9405 MB / 1.377 GB, free: 10.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.75, allocations: 0.7113 MB / 1.377 GB, free: 10.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.75, allocations: 305.1 kB / 1.378 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/1.754, allocations: 1.674 MB / 1.379 GB, free: 8.062 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/1.759, allocations: 2.938 MB / 1.382 GB, free: 4.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008794/1.767, allocations: 4.96 MB / 1.387 GB, free: 15.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.068e-05/1.768, allocations: 8 kB / 1.387 GB, free: 15.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01422/1.782, allocations: 5.44 MB / 1.392 GB, free: 9.953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.782, allocations: 21.09 kB / 1.392 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/1.782, allocations: 40 kB / 1.392 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.783, allocations: 424.6 kB / 1.393 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.787, allocations: 0.8583 MB / 1.394 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/1.793, allocations: 5.708 MB / 1.399 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/1.799, allocations: 0.5146 MB / 1.4 GB, free: 2.227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.801, allocations: 187.9 kB / 1.4 GB, free: 2.043 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.006644/1.807, allocations: 2.275 MB / 1.402 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/1.81, allocations: 494.1 kB / 1.403 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.821, allocations: 4.18 MB / 1.407 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/1.821, allocations: 28 kB / 1.407 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.821, allocations: 4 kB / 1.407 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006658/1.827, allocations: 3.625 MB / 1.41 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/1.856, allocations: 10.28 MB / 1.42 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.856, allocations: 8 kB / 1.42 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.859, allocations: 0.4958 MB / 1.421 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.86, allocations: 372.6 kB / 1.421 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005014/1.86, allocations: 79.95 kB / 1.421 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/1.866, allocations: 5.646 MB / 1.427 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.866, allocations: 10.75 kB / 1.427 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.879, allocations: 6.242 MB / 1.433 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004738/1.884, allocations: 1.096 MB / 1.434 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/1.887, allocations: 63.92 kB / 1.434 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/1.893, allocations: 182.8 kB / 1.434 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.894, allocations: 177.1 kB / 1.434 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006031/1.895, allocations: 127.9 kB / 1.434 GB, free: 14.14 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01056/1.905, allocations: 3.839 MB / 1.438 GB, free: 10.31 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.21e-07/1.905, allocations: 0 / 1.438 GB, free: 10.31 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.01183/1.917, allocations: 1.793 MB / 1.44 GB, free: 8.516 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.01538/1.932, allocations: 7.196 MB / 1.447 GB, free: 1.219 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009343/1.942, allocations: 4.276 MB / 1.451 GB, free: 13.04 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/1.942, allocations: 7.781 kB / 1.451 GB, free: 13.03 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.946, allocations: 2.036 MB / 1.453 GB, free: 11.02 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0204/1.967, allocations: 3.452 MB / 1.456 GB, free: 7.664 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/2.082, allocations: 46.94 MB / 1.502 GB, free: 7.355 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/2.093, allocations: 4.303 MB / 1.506 GB, free: 3.02 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.01037/2.103, allocations: 1.848 MB / 1.508 GB, free: 1.188 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008587/2.112, allocations: 2.461 MB / 1.511 GB, free: 14.77 MB / 1.201 GB Notification: Performance of SimCode: time 3.937e-06/2.112, allocations: 0 / 1.511 GB, free: 14.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2621/2.374, allocations: 154.1 MB / 1.661 GB, free: 6.004 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.06/23.43, allocations: 18.06 kB / 1.661 GB, free: 5.988 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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