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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006352/0.006352, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.0013/0.0013, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.8 MB / 0.7347 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.12 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.402, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.9627/1.365, allocations: 49.29 MB / 1.256 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02078/1.386, allocations: 13.83 MB / 1.269 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/1.39, allocations: 64.06 kB / 1.269 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0036/1.393, allocations: 0.8132 MB / 1.27 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009779/1.403, allocations: 2.247 MB / 1.272 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/1.408, allocations: 1.311 MB / 1.274 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02708/1.435, allocations: 19.6 MB / 1.293 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/1.452, allocations: 9.901 MB / 1.303 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0198/1.472, allocations: 6.59 MB / 1.309 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01593/1.488, allocations: 5.755 MB / 1.315 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004518/1.493, allocations: 0.8435 MB / 1.315 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/1.504, allocations: 1.61 MB / 1.317 GB, free: 5.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006082/1.51, allocations: 2.118 MB / 1.319 GB, free: 3.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01783/1.528, allocations: 4.289 MB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02866/1.556, allocations: 12.06 MB / 1.335 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.557, allocations: 3.938 kB / 1.335 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/1.557, allocations: 0 / 1.335 GB, free: 12.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005897/1.557, allocations: 1.375 kB / 1.335 GB, free: 12.25 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.03237/1.59, allocations: 7.733 MB / 1.343 GB, free: 7.195 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.59, allocations: 9.312 kB / 1.343 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/1.596, allocations: 0.7893 MB / 1.343 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/1.613, allocations: 6.294 MB / 1.349 GB, free: 2.789 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/1.614, allocations: 418.4 kB / 1.35 GB, free: 2.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/1.617, allocations: 0.5444 MB / 1.35 GB, free: 2.414 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/1.643, allocations: 8.073 MB / 1.358 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/1.644, allocations: 15.88 kB / 1.358 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002393/1.646, allocations: 238.8 kB / 1.359 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/1.646, allocations: 168 kB / 1.359 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/1.663, allocations: 6.524 MB / 1.365 GB, free: 4.41 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.05851/1.722, allocations: 31.19 MB / 1.396 GB, free: 3.629 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/1.729, allocations: 3.655 MB / 1.399 GB, free: 15.99 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004606/1.733, allocations: 2.799 MB / 1.402 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/1.734, allocations: 0.8245 MB / 1.403 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.949e-05/1.735, allocations: 72.61 kB / 1.403 GB, free: 12.13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=267): time 4.95e-06/1.735, allocations: 3.938 kB / 1.403 GB, free: 12.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=267): time 0.01348/1.748, allocations: 5.767 MB / 1.408 GB, free: 6.262 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.748, allocations: 81.52 kB / 1.408 GB, free: 6.168 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.76, allocations: 5.227 MB / 1.414 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0009716/1.761, allocations: 85.64 kB / 1.414 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/1.764, allocations: 2.871 MB / 1.416 GB, free: 14.01 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/1.766, allocations: 0.9408 MB / 1.417 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.767, allocations: 0.7113 MB / 1.418 GB, free: 12.36 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.767, allocations: 309.1 kB / 1.418 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/1.77, allocations: 1.674 MB / 1.42 GB, free: 10.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/1.773, allocations: 2.932 MB / 1.423 GB, free: 6.891 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/1.779, allocations: 4.97 MB / 1.428 GB, free: 1.328 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/1.779, allocations: 12 kB / 1.428 GB, free: 1.316 MB / 1.107 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008933/1.788, allocations: 5.441 MB / 1.433 GB, free: 11.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.788, allocations: 25 kB / 1.433 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-05/1.788, allocations: 40 kB / 1.433 GB, free: 11.76 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009296/1.789, allocations: 413.4 kB / 1.433 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/1.792, allocations: 0.858 MB / 1.434 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/1.797, allocations: 5.7 MB / 1.44 GB, free: 4.523 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.803, allocations: 0.5183 MB / 1.44 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/1.803, allocations: 184 kB / 1.441 GB, free: 3.82 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.004947/1.808, allocations: 2.282 MB / 1.443 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.81, allocations: 486.4 kB / 1.443 GB, free: 1.047 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006715/1.816, allocations: 4.183 MB / 1.447 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/1.816, allocations: 31.94 kB / 1.447 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/1.816, allocations: 4 kB / 1.447 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004835/1.821, allocations: 3.632 MB / 1.451 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.842, allocations: 10.27 MB / 1.461 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.842, allocations: 4 kB / 1.461 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.844, allocations: 0.4992 MB / 1.461 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008542/1.845, allocations: 377.6 kB / 1.462 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.846, allocations: 75.97 kB / 1.462 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/1.852, allocations: 5.646 MB / 1.467 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.852, allocations: 4 kB / 1.467 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.863, allocations: 6.258 MB / 1.473 GB, free: 1.344 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/1.868, allocations: 1.096 MB / 1.475 GB, free: 228 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001972/1.87, allocations: 63.92 kB / 1.475 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/1.874, allocations: 179.7 kB / 1.475 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/1.874, allocations: 177.6 kB / 1.475 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004062/1.875, allocations: 127.9 kB / 1.475 GB, free: 15.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.008442/1.883, allocations: 3.835 MB / 1.479 GB, free: 11.87 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.883, allocations: 0 / 1.479 GB, free: 11.87 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.008437/1.892, allocations: 1.8 MB / 1.481 GB, free: 10.06 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.001797/1.894, allocations: 495.8 kB / 1.481 GB, free: 9.598 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007751/1.901, allocations: 4.277 MB / 1.485 GB, free: 5.277 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.901, allocations: 4 kB / 1.485 GB, free: 5.273 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/1.905, allocations: 2.04 MB / 1.487 GB, free: 3.207 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02133/1.926, allocations: 3.453 MB / 1.491 GB, free: 15.85 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.956, allocations: 12.48 MB / 1.503 GB, free: 3.293 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006935/1.963, allocations: 4.307 MB / 1.507 GB, free: 14.95 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.007008/1.97, allocations: 1.852 MB / 1.509 GB, free: 13.11 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/1.972, allocations: 419.3 kB / 1.509 GB, free: 12.7 MB / 1.201 GB Notification: Performance of SimCode: time 6.02e-07/1.972, allocations: 0 / 1.509 GB, free: 12.7 MB / 1.201 GB Notification: Performance of Templates: time 0.2328/2.205, allocations: 114.6 MB / 1.621 GB, free: 11.18 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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 & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches