Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001673/0.001673, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002564/0.002564, allocations: 193 kB / 16.25 MB, free: 6.629 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7978, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06467/0.8625, allocations: 48.9 MB / 0.9968 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.8883, allocations: 13.69 MB / 1.01 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.8924, allocations: 63.62 kB / 1.01 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.8957, allocations: 0.6915 MB / 1.011 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008271/0.904, allocations: 2.088 MB / 1.013 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.9083, allocations: 1.199 MB / 1.014 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02552/0.9338, allocations: 19.68 MB / 1.033 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.9473, allocations: 9.824 MB / 1.043 GB, free: 1.574 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01578/0.9631, allocations: 6.57 MB / 1.049 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.9742, allocations: 5.934 MB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003077/0.9773, allocations: 0.832 MB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/0.985, allocations: 1.604 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00545/0.9905, allocations: 2.1 MB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01005/1.001, allocations: 4.279 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/1.016, allocations: 11.9 MB / 1.075 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/1.016, allocations: 0 / 1.075 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.415e-06/1.016, allocations: 0 / 1.075 GB, free: 304 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004285/1.017, allocations: 0 / 1.075 GB, free: 304 kB / 0.8262 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.02364/1.04, allocations: 7.702 MB / 1.083 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.04, allocations: 8.031 kB / 1.083 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/1.044, allocations: 0.793 MB / 1.084 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/1.058, allocations: 6.237 MB / 1.09 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/1.058, allocations: 419.4 kB / 1.09 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/1.06, allocations: 0.5389 MB / 1.091 GB, free: 468 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/1.081, allocations: 8.076 MB / 1.099 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/1.081, allocations: 15.84 kB / 1.099 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.082, allocations: 236 kB / 1.099 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/1.082, allocations: 175.9 kB / 1.099 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/1.098, allocations: 6.52 MB / 1.105 GB, free: 1.191 MB / 0.8575 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.05427/1.152, allocations: 31.12 MB / 1.136 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/1.159, allocations: 3.644 MB / 1.139 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/1.164, allocations: 2.811 MB / 1.142 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.165, allocations: 0.8396 MB / 1.143 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.024e-05/1.165, allocations: 64.67 kB / 1.143 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.389e-06/1.165, allocations: 0 / 1.143 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01245/1.178, allocations: 5.766 MB / 1.149 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.178, allocations: 77.52 kB / 1.149 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008408/1.186, allocations: 5.032 MB / 1.154 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007751/1.187, allocations: 81.7 kB / 1.154 GB, free: 13.61 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/1.189, allocations: 2.864 MB / 1.156 GB, free: 10.72 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/1.191, allocations: 0.9398 MB / 1.157 GB, free: 9.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.192, allocations: 0.7191 MB / 1.158 GB, free: 9.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.192, allocations: 309 kB / 1.158 GB, free: 8.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.195, allocations: 1.67 MB / 1.16 GB, free: 7.062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/1.199, allocations: 2.932 MB / 1.163 GB, free: 3.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007135/1.206, allocations: 4.966 MB / 1.168 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.947e-05/1.206, allocations: 12 kB / 1.168 GB, free: 14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009813/1.216, allocations: 5.437 MB / 1.173 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.216, allocations: 21.56 kB / 1.173 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.134e-05/1.216, allocations: 40 kB / 1.173 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/1.217, allocations: 425.9 kB / 1.174 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/1.22, allocations: 0.8618 MB / 1.174 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/1.226, allocations: 5.686 MB / 1.18 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.232, allocations: 0.6393 MB / 1.181 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/1.232, allocations: 180 kB / 1.181 GB, free: 392 kB / 0.9356 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.005059/1.237, allocations: 2.289 MB / 1.183 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/1.239, allocations: 486.1 kB / 1.183 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/1.247, allocations: 4.186 MB / 1.187 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/1.247, allocations: 24 kB / 1.188 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.247, allocations: 7.938 kB / 1.188 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005697/1.253, allocations: 3.636 MB / 1.191 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.274, allocations: 10.21 MB / 1.201 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.274, allocations: 4 kB / 1.201 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.276, allocations: 0.4954 MB / 1.202 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008914/1.277, allocations: 386.7 kB / 1.202 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.277, allocations: 75.95 kB / 1.202 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005758/1.283, allocations: 5.647 MB / 1.207 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.283, allocations: 7.938 kB / 1.207 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.293, allocations: 6.244 MB / 1.214 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/1.297, allocations: 1.076 MB / 1.215 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.298, allocations: 67.92 kB / 1.215 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/1.302, allocations: 327.3 kB / 1.215 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.302, allocations: 185.6 kB / 1.215 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/1.303, allocations: 127.9 kB / 1.215 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006445/1.309, allocations: 3.683 MB / 1.219 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/1.309, allocations: 0 / 1.219 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006968/1.316, allocations: 1.781 MB / 1.221 GB, free: 6.645 MB / 0.9825 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.001548/1.318, allocations: 480.7 kB / 1.221 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.335, allocations: 8.067 MB / 1.229 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/1.335, allocations: 4 kB / 1.229 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.339, allocations: 2.039 MB / 1.231 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01859/1.358, allocations: 3.47 MB / 1.234 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/1.385, allocations: 14.89 MB / 1.249 GB, free: 9.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004771/1.39, allocations: 4.299 MB / 1.253 GB, free: 5.348 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006616/1.397, allocations: 1.858 MB / 1.255 GB, free: 3.504 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.398, allocations: 411.3 kB / 1.255 GB, free: 3.102 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.398, allocations: 0 / 1.255 GB, free: 3.102 MB / 1.014 GB Notification: Performance of Templates: time 0.7432/2.141, allocations: 114.7 MB / 1.367 GB, free: 193.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches