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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001169/0.001169, allocations: 192 kB / 16.14 MB, free: 6.645 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.509/2.509, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8321, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05389/0.886, allocations: 49 MB / 0.9968 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.9112, allocations: 13.82 MB / 1.01 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.9155, allocations: 63.62 kB / 1.01 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.9184, allocations: 0.6603 MB / 1.011 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.9264, allocations: 2.084 MB / 1.013 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.9303, allocations: 1.182 MB / 1.014 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02577/0.9561, allocations: 25.63 MB / 1.039 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.9683, allocations: 8.098 MB / 1.047 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01176/0.9801, allocations: 4.992 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.9916, allocations: 5.59 MB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002758/0.9944, allocations: 420 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/1.002, allocations: 1.112 MB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003801/1.006, allocations: 1.619 MB / 1.06 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.009907/1.016, allocations: 3.756 MB / 1.064 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01635/1.032, allocations: 11.56 MB / 1.075 GB, free: 68 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.032, allocations: 4 kB / 1.075 GB, free: 64 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/1.032, allocations: 0 / 1.075 GB, free: 64 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000475/1.032, allocations: 0 / 1.075 GB, free: 64 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.02452/1.057, allocations: 7.706 MB / 1.083 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.057, allocations: 11.97 kB / 1.083 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/1.061, allocations: 0.7813 MB / 1.084 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/1.075, allocations: 6.256 MB / 1.09 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/1.075, allocations: 411.4 kB / 1.09 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/1.077, allocations: 0.5467 MB / 1.091 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/1.095, allocations: 8.065 MB / 1.099 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/1.096, allocations: 19.78 kB / 1.099 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007563/1.096, allocations: 236 kB / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/1.097, allocations: 171.9 kB / 1.099 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/1.11, allocations: 6.524 MB / 1.105 GB, free: 0.9531 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.05245/1.163, allocations: 31.12 MB / 1.136 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/1.169, allocations: 3.644 MB / 1.139 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/1.173, allocations: 2.804 MB / 1.142 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.174, allocations: 0.8357 MB / 1.143 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/1.174, allocations: 72.67 kB / 1.143 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 5.17e-06/1.174, allocations: 0 / 1.143 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.0116/1.186, allocations: 5.759 MB / 1.149 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/1.186, allocations: 81.45 kB / 1.149 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009185/1.195, allocations: 5.032 MB / 1.154 GB, free: 13.47 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008617/1.196, allocations: 81.7 kB / 1.154 GB, free: 13.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002619/1.199, allocations: 2.86 MB / 1.157 GB, free: 10.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.2, allocations: 0.9359 MB / 1.157 GB, free: 9.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/1.201, allocations: 0.7113 MB / 1.158 GB, free: 8.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.201, allocations: 317 kB / 1.158 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002773/1.204, allocations: 1.674 MB / 1.16 GB, free: 6.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/1.208, allocations: 2.94 MB / 1.163 GB, free: 3.34 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00761/1.216, allocations: 4.962 MB / 1.168 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.967e-05/1.216, allocations: 12 kB / 1.168 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0112/1.227, allocations: 5.433 MB / 1.173 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/1.227, allocations: 24 kB / 1.173 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-05/1.227, allocations: 40 kB / 1.173 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/1.228, allocations: 431.3 kB / 1.174 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/1.232, allocations: 0.858 MB / 1.174 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/1.238, allocations: 5.261 MB / 1.18 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.244, allocations: 0.6432 MB / 1.18 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008555/1.245, allocations: 184 kB / 1.18 GB, free: 0.5781 MB / 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.005709/1.251, allocations: 2.284 MB / 1.183 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002275/1.253, allocations: 490.1 kB / 1.183 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/1.261, allocations: 4.179 MB / 1.187 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/1.261, allocations: 31.94 kB / 1.187 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.261, allocations: 7.938 kB / 1.187 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005817/1.267, allocations: 3.624 MB / 1.191 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.289, allocations: 10.21 MB / 1.201 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.289, allocations: 4 kB / 1.201 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.291, allocations: 0.5035 MB / 1.201 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009356/1.292, allocations: 379.9 kB / 1.202 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.292, allocations: 75.95 kB / 1.202 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005574/1.297, allocations: 5.195 MB / 1.207 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.298, allocations: 15.94 kB / 1.207 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.308, allocations: 6.239 MB / 1.213 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/1.312, allocations: 1.084 MB / 1.214 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.314, allocations: 59.98 kB / 1.214 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/1.318, allocations: 323.3 kB / 1.214 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/1.319, allocations: 181.6 kB / 1.214 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004612/1.319, allocations: 131.9 kB / 1.214 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.009458/1.329, allocations: 3.683 MB / 1.218 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.21e-07/1.329, allocations: 3.938 kB / 1.218 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008685/1.337, allocations: 1.781 MB / 1.22 GB, free: 7.301 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.002/1.339, allocations: 474.6 kB / 1.22 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008972/1.348, allocations: 4.258 MB / 1.224 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.349, allocations: 4 kB / 1.224 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003856/1.352, allocations: 2.038 MB / 1.226 GB, free: 476 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01932/1.372, allocations: 3.285 MB / 1.23 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/1.401, allocations: 14.89 MB / 1.244 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006678/1.408, allocations: 4.307 MB / 1.248 GB, free: 9.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.008054/1.416, allocations: 1.844 MB / 1.25 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.418, allocations: 411.3 kB / 1.251 GB, free: 7.703 MB / 1.014 GB Notification: Performance of SimCode: time 1.643e-06/1.418, allocations: 0 / 1.251 GB, free: 7.703 MB / 1.014 GB Notification: Performance of Templates: time 0.7115/2.13, allocations: 110.9 MB / 1.359 GB, free: 201 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