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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009787/0.009787, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.002357/0.002357, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 64.08 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3696, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.9558/1.325, allocations: 49.29 MB / 1.255 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01949/1.345, allocations: 13.82 MB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/1.349, allocations: 70.47 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/1.352, allocations: 0.8038 MB / 1.27 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008537/1.361, allocations: 2.255 MB / 1.272 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/1.365, allocations: 1.32 MB / 1.273 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03568/1.401, allocations: 19.58 MB / 1.292 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02229/1.423, allocations: 9.913 MB / 1.302 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0215/1.445, allocations: 6.594 MB / 1.308 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/1.46, allocations: 5.762 MB / 1.314 GB, free: 4.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004699/1.465, allocations: 0.8444 MB / 1.315 GB, free: 4.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/1.476, allocations: 1.604 MB / 1.316 GB, free: 4.648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007127/1.483, allocations: 2.111 MB / 1.319 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01976/1.503, allocations: 4.287 MB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03169/1.535, allocations: 12.15 MB / 1.335 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.535, allocations: 0 / 1.335 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/1.535, allocations: 0 / 1.335 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005791/1.536, allocations: 1.375 kB / 1.335 GB, free: 12.3 MB / 1.029 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.03339/1.569, allocations: 7.734 MB / 1.342 GB, free: 7.246 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.569, allocations: 10.53 kB / 1.342 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004881/1.574, allocations: 0.768 MB / 1.343 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/1.581, allocations: 0.7859 MB / 1.344 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.599, allocations: 6.304 MB / 1.35 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005878/1.599, allocations: 416.2 kB / 1.35 GB, free: 2.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.603, allocations: 0.5419 MB / 1.351 GB, free: 1.914 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/1.628, allocations: 8.074 MB / 1.359 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/1.628, allocations: 15.84 kB / 1.359 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002482/1.631, allocations: 236 kB / 1.359 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/1.631, allocations: 167.9 kB / 1.359 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/1.649, allocations: 6.524 MB / 1.365 GB, free: 3.852 MB / 1.045 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.06081/1.71, allocations: 31.21 MB / 1.396 GB, free: 3.059 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/1.717, allocations: 3.641 MB / 1.399 GB, free: 15.44 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.722, allocations: 2.795 MB / 1.402 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.723, allocations: 0.8338 MB / 1.403 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.724, allocations: 76.66 kB / 1.403 GB, free: 11.57 MB / 1.092 GB Notification: Performance of pre-optimization done (n=267): time 9.337e-06/1.724, allocations: 0 / 1.403 GB, free: 11.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=267): time 0.01415/1.738, allocations: 5.773 MB / 1.409 GB, free: 5.695 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.738, allocations: 77.52 kB / 1.409 GB, free: 5.605 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.749, allocations: 5.231 MB / 1.414 GB, free: 384 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.75, allocations: 77.7 kB / 1.414 GB, free: 300 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.753, allocations: 2.873 MB / 1.417 GB, free: 13.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/1.755, allocations: 0.934 MB / 1.418 GB, free: 12.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/1.757, allocations: 0.7113 MB / 1.418 GB, free: 11.76 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/1.757, allocations: 309.1 kB / 1.419 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.76, allocations: 1.682 MB / 1.42 GB, free: 9.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.764, allocations: 2.924 MB / 1.423 GB, free: 6.293 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007609/1.772, allocations: 4.978 MB / 1.428 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.282e-05/1.772, allocations: 12 kB / 1.428 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01205/1.784, allocations: 5.445 MB / 1.433 GB, free: 11.21 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/1.784, allocations: 20 kB / 1.433 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/1.784, allocations: 40 kB / 1.433 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.785, allocations: 413.7 kB / 1.434 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/1.789, allocations: 0.8657 MB / 1.435 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/1.795, allocations: 5.684 MB / 1.44 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.801, allocations: 0.5223 MB / 1.441 GB, free: 3.398 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008678/1.802, allocations: 176 kB / 1.441 GB, free: 3.227 MB / 1.123 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.006285/1.808, allocations: 2.28 MB / 1.443 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/1.811, allocations: 482.2 kB / 1.444 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.821, allocations: 4.203 MB / 1.448 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/1.821, allocations: 24 kB / 1.448 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/1.821, allocations: 4 kB / 1.448 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006837/1.828, allocations: 3.635 MB / 1.451 GB, free: 8.492 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.855, allocations: 10.28 MB / 1.461 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/1.855, allocations: 4 kB / 1.461 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.857, allocations: 0.5037 MB / 1.462 GB, free: 13.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/1.858, allocations: 375.1 kB / 1.462 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.859, allocations: 79.95 kB / 1.462 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/1.865, allocations: 5.636 MB / 1.468 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.865, allocations: 7.938 kB / 1.468 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.877, allocations: 6.246 MB / 1.474 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004663/1.882, allocations: 1.092 MB / 1.475 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/1.884, allocations: 63.92 kB / 1.475 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/1.889, allocations: 191.6 kB / 1.475 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/1.889, allocations: 169.6 kB / 1.475 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006431/1.89, allocations: 131.9 kB / 1.475 GB, free: 15.15 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.009764/1.9, allocations: 3.839 MB / 1.479 GB, free: 11.33 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.12e-07/1.9, allocations: 3.938 kB / 1.479 GB, free: 11.32 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01024/1.91, allocations: 1.8 MB / 1.481 GB, free: 9.52 MB / 1.17 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.01517/1.925, allocations: 7.181 MB / 1.488 GB, free: 2.184 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008664/1.934, allocations: 4.282 MB / 1.492 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.934, allocations: 5 kB / 1.492 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004104/1.938, allocations: 2.042 MB / 1.494 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02136/1.96, allocations: 3.457 MB / 1.498 GB, free: 8.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/2.071, allocations: 46.93 MB / 1.543 GB, free: 7.832 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008264/2.08, allocations: 4.307 MB / 1.548 GB, free: 3.488 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.008223/2.088, allocations: 1.86 MB / 1.549 GB, free: 1.641 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00646/2.094, allocations: 2.447 MB / 1.552 GB, free: 15.21 MB / 1.248 GB Notification: Performance of SimCode: time 1.513e-06/2.095, allocations: 0 / 1.552 GB, free: 15.21 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2863/2.381, allocations: 156.5 MB / 1.705 GB, free: 3.898 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.54/22.92, allocations: 7.938 kB / 1.705 GB, free: 3.891 MB / 1.389 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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