Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.93/2.93, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.746e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06637/0.0664, allocations: 45.13 MB / 0.8549 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02559/0.09199, allocations: 13.04 MB / 0.8676 GB, free: 7.805 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.09529, allocations: 91.25 kB / 0.8677 GB, free: 7.715 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.09843, allocations: 0.8147 MB / 0.8685 GB, free: 6.895 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008705/0.1071, allocations: 2.47 MB / 0.8709 GB, free: 4.41 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.1116, allocations: 1.391 MB / 0.8723 GB, free: 3.016 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02735/0.139, allocations: 20.62 MB / 0.8924 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.151, allocations: 6.722 MB / 0.899 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02549/0.1765, allocations: 9.565 MB / 0.9083 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01557/0.1921, allocations: 5.747 MB / 0.9139 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003428/0.1955, allocations: 0.8438 MB / 0.9147 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00767/0.2032, allocations: 1.491 MB / 0.9162 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.005154/0.2083, allocations: 2.258 MB / 0.9184 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.2185, allocations: 3.048 MB / 0.9214 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.2439, allocations: 12.33 MB / 0.9334 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.2439, allocations: 0 / 0.9334 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2439, allocations: 0 / 0.9334 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006087/0.2445, allocations: 3.984 kB / 0.9334 GB, free: 4.246 MB / 0.8855 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.02972/0.2742, allocations: 7.779 MB / 0.941 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.2743, allocations: 12.03 kB / 0.941 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.2791, allocations: 1.397 MB / 0.9424 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/0.2948, allocations: 6.749 MB / 0.949 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/0.2952, allocations: 419.4 kB / 0.9494 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.2969, allocations: 0.5589 MB / 0.9499 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.3159, allocations: 9.143 MB / 0.9589 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.316, allocations: 11.89 kB / 0.9589 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006842/0.3167, allocations: 240 kB / 0.9591 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.3169, allocations: 167.9 kB / 0.9593 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.33, allocations: 6.512 MB / 0.9656 GB, free: 2.602 MB / 0.9167 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.04852/0.3785, allocations: 22.72 MB / 0.9878 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006755/0.3853, allocations: 3.43 MB / 0.9912 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004892/0.3901, allocations: 2.591 MB / 0.9937 GB, free: 5.477 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.3909, allocations: 162 kB / 0.9939 GB, free: 5.316 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.391, allocations: 76.67 kB / 0.9939 GB, free: 5.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.2e-06/0.391, allocations: 4 kB / 0.9939 GB, free: 5.227 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01341/0.4044, allocations: 5.646 MB / 0.9994 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.4045, allocations: 81.52 kB / 0.9995 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.4155, allocations: 4.547 MB / 1.004 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006483/0.4162, allocations: 81.7 kB / 1.004 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003841/0.42, allocations: 2.922 MB / 1.007 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.4219, allocations: 0.9761 MB / 1.008 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/0.4242, allocations: 0.7039 MB / 1.009 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4244, allocations: 301.1 kB / 1.009 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.428, allocations: 1.674 MB / 1.01 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005197/0.4332, allocations: 3.04 MB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00923/0.4424, allocations: 4.97 MB / 1.018 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-05/0.4425, allocations: 12 kB / 1.018 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01279/0.4553, allocations: 5.557 MB / 1.024 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.4553, allocations: 24 kB / 1.024 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-05/0.4554, allocations: 40 kB / 1.024 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.4581, allocations: 0.5207 MB / 1.024 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.4616, allocations: 0.858 MB / 1.025 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/0.4696, allocations: 5.389 MB / 1.03 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/0.4745, allocations: 465 kB / 1.031 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008517/0.4754, allocations: 180 kB / 1.031 GB, free: 13.69 MB / 0.9948 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.005922/0.4813, allocations: 2.296 MB / 1.033 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/0.4838, allocations: 0.5206 MB / 1.034 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.4939, allocations: 4.111 MB / 1.038 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/0.4939, allocations: 32 kB / 1.038 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/0.4939, allocations: 7.938 kB / 1.038 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006838/0.5008, allocations: 3.608 MB / 1.041 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/0.5254, allocations: 8.889 MB / 1.05 GB, free: 9.887 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.5255, allocations: 8.094 kB / 1.05 GB, free: 9.879 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/0.528, allocations: 0.4992 MB / 1.051 GB, free: 9.379 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/0.5305, allocations: 488.1 kB / 1.051 GB, free: 8.898 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003836/0.5309, allocations: 79.89 kB / 1.051 GB, free: 8.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007597/0.5385, allocations: 5.35 MB / 1.056 GB, free: 3.27 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.5385, allocations: 4 kB / 1.056 GB, free: 3.266 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.502/1.04, allocations: 6.257 MB / 1.062 GB, free: 269.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003465/1.044, allocations: 0.9917 MB / 1.063 GB, free: 269.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008248/1.045, allocations: 66.05 kB / 1.063 GB, free: 269.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.047, allocations: 163.6 kB / 1.064 GB, free: 269.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/1.047, allocations: 186.8 kB / 1.064 GB, free: 269.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/1.048, allocations: 125.2 kB / 1.064 GB, free: 269.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004125/1.052, allocations: 3.118 MB / 1.067 GB, free: 268.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.052, allocations: 0 / 1.067 GB, free: 268.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005667/1.057, allocations: 1.89 MB / 1.069 GB, free: 268 MB / 1.01 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.001085/1.059, allocations: 482.8 kB / 1.069 GB, free: 267.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00574/1.064, allocations: 4.135 MB / 1.073 GB, free: 266.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.064, allocations: 4.25 kB / 1.073 GB, free: 266.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/1.067, allocations: 1.931 MB / 1.075 GB, free: 265.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/1.078, allocations: 2.726 MB / 1.078 GB, free: 265 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/1.098, allocations: 12.34 MB / 1.09 GB, free: 259.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004851/1.103, allocations: 3.808 MB / 1.094 GB, free: 258.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005932/1.108, allocations: 1.662 MB / 1.095 GB, free: 258.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.11, allocations: 382.1 kB / 1.096 GB, free: 258.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.713e-06/1.11, allocations: 1.281 kB / 1.096 GB, free: 258.2 MB / 1.01 GB Notification: Performance of Templates: time 0.1573/1.267, allocations: 94.21 MB / 1.188 GB, free: 185.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.821633237064816]