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.008784/0.008784, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002163/0.002163, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 60.12 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9465, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05277/0.9993, allocations: 49.3 MB / 1.256 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02358/1.023, allocations: 13.82 MB / 1.269 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/1.027, allocations: 67.62 kB / 1.269 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003293/1.03, allocations: 0.8304 MB / 1.27 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008281/1.039, allocations: 2.344 MB / 1.273 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/1.043, allocations: 1.324 MB / 1.274 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02414/1.067, allocations: 19.62 MB / 1.293 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/1.079, allocations: 9.898 MB / 1.303 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/1.095, allocations: 6.596 MB / 1.309 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/1.107, allocations: 5.758 MB / 1.315 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003632/1.111, allocations: 0.8438 MB / 1.316 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/1.119, allocations: 1.6 MB / 1.317 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004859/1.124, allocations: 2.119 MB / 1.319 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01265/1.136, allocations: 4.295 MB / 1.323 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/1.159, allocations: 12.06 MB / 1.335 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.159, allocations: 0 / 1.335 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.159, allocations: 0 / 1.335 GB, free: 10.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005349/1.16, allocations: 0 / 1.335 GB, free: 10.7 MB / 1.061 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.0266/1.186, allocations: 7.729 MB / 1.343 GB, free: 2.887 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.186, allocations: 8.031 kB / 1.343 GB, free: 2.879 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/1.191, allocations: 0.793 MB / 1.343 GB, free: 2.078 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.205, allocations: 6.31 MB / 1.35 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/1.205, allocations: 415.4 kB / 1.35 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/1.207, allocations: 0.5467 MB / 1.351 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/1.223, allocations: 8.065 MB / 1.358 GB, free: 2.445 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/1.223, allocations: 15.88 kB / 1.358 GB, free: 2.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006254/1.223, allocations: 240 kB / 1.359 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.224, allocations: 163.9 kB / 1.359 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/1.236, allocations: 6.528 MB / 1.365 GB, free: 11.5 MB / 1.092 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.04694/1.283, allocations: 31.2 MB / 1.396 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/1.288, allocations: 3.646 MB / 1.399 GB, free: 6.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/1.292, allocations: 2.799 MB / 1.402 GB, free: 4.016 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/1.293, allocations: 0.8319 MB / 1.403 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/1.293, allocations: 72.67 kB / 1.403 GB, free: 2.934 MB / 1.123 GB Notification: Performance of pre-optimization done (n=267): time 4.909e-06/1.293, allocations: 0 / 1.403 GB, free: 2.934 MB / 1.123 GB Notification: Performance of matching and sorting (n=267): time 0.01102/1.304, allocations: 5.759 MB / 1.408 GB, free: 13.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/1.304, allocations: 77.52 kB / 1.409 GB, free: 12.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008383/1.312, allocations: 5.235 MB / 1.414 GB, free: 7.746 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006715/1.313, allocations: 77.7 kB / 1.414 GB, free: 7.664 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002407/1.315, allocations: 2.868 MB / 1.417 GB, free: 4.766 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.317, allocations: 0.9398 MB / 1.417 GB, free: 3.812 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009974/1.318, allocations: 0.7152 MB / 1.418 GB, free: 3.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.318, allocations: 305.1 kB / 1.418 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.321, allocations: 1.67 MB / 1.42 GB, free: 1.117 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/1.324, allocations: 2.943 MB / 1.423 GB, free: 13.62 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006385/1.33, allocations: 4.966 MB / 1.428 GB, free: 8.062 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/1.33, allocations: 12 kB / 1.428 GB, free: 8.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00992/1.34, allocations: 5.429 MB / 1.433 GB, free: 2.566 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/1.34, allocations: 23.98 kB / 1.433 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/1.34, allocations: 40 kB / 1.433 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.342, allocations: 426.1 kB / 1.434 GB, free: 2.082 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/1.344, allocations: 0.8657 MB / 1.434 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/1.35, allocations: 5.7 MB / 1.44 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005103/1.355, allocations: 0.5144 MB / 1.44 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006008/1.356, allocations: 180 kB / 1.441 GB, free: 10.55 MB / 1.17 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.00481/1.361, allocations: 2.289 MB / 1.443 GB, free: 8.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/1.363, allocations: 482.2 kB / 1.443 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006956/1.37, allocations: 4.186 MB / 1.447 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.37, allocations: 24 kB / 1.447 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.37, allocations: 7.984 kB / 1.447 GB, free: 3.5 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00485/1.374, allocations: 3.628 MB / 1.451 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/1.394, allocations: 10.27 MB / 1.461 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.394, allocations: 4 kB / 1.461 GB, free: 5.309 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.397, allocations: 0.4993 MB / 1.462 GB, free: 4.809 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008783/1.397, allocations: 373.5 kB / 1.462 GB, free: 4.438 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/1.398, allocations: 71.97 kB / 1.462 GB, free: 4.367 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/1.403, allocations: 5.64 MB / 1.467 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.403, allocations: 4 kB / 1.467 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.414, allocations: 6.265 MB / 1.474 GB, free: 8.004 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/1.418, allocations: 1.084 MB / 1.475 GB, free: 6.895 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002021/1.42, allocations: 67.92 kB / 1.475 GB, free: 6.828 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004057/1.424, allocations: 179.5 kB / 1.475 GB, free: 6.652 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004144/1.424, allocations: 173.6 kB / 1.475 GB, free: 6.484 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003857/1.425, allocations: 131.9 kB / 1.475 GB, free: 6.355 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007626/1.432, allocations: 3.843 MB / 1.479 GB, free: 2.527 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.433, allocations: 0 / 1.479 GB, free: 2.527 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.007639/1.44, allocations: 1.804 MB / 1.481 GB, free: 0.7188 MB / 1.201 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.001597/1.442, allocations: 488 kB / 1.481 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007143/1.449, allocations: 4.273 MB / 1.485 GB, free: 11.92 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.449, allocations: 4 kB / 1.485 GB, free: 11.92 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/1.452, allocations: 2.052 MB / 1.487 GB, free: 9.84 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01607/1.468, allocations: 3.454 MB / 1.491 GB, free: 6.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.491, allocations: 12.47 MB / 1.503 GB, free: 9.926 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.496, allocations: 4.299 MB / 1.507 GB, free: 5.594 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00652/1.502, allocations: 1.856 MB / 1.509 GB, free: 3.75 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.504, allocations: 423.2 kB / 1.509 GB, free: 3.336 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/1.504, allocations: 0 / 1.509 GB, free: 3.336 MB / 1.232 GB Notification: Performance of Templates: time 0.9406/2.444, allocations: 113.2 MB / 1.62 GB, free: 289.2 MB / 1.279 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