Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00131/0.00131, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001325/0.001325, allocations: 193.3 kB / 17.2 MB, free: 5.602 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.1 MB / 0.7111 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 72.48 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3574, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05389/0.4113, allocations: 49.3 MB / 1.066 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6246/1.036, allocations: 13.81 MB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/1.039, allocations: 66.34 kB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/1.042, allocations: 0.8062 MB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007923/1.05, allocations: 2.252 MB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/1.054, allocations: 1.307 MB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02401/1.078, allocations: 19.58 MB / 1.103 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/1.094, allocations: 9.907 MB / 1.113 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02183/1.116, allocations: 6.499 MB / 1.119 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/1.129, allocations: 5.756 MB / 1.125 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004256/1.134, allocations: 0.8441 MB / 1.126 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009983/1.144, allocations: 1.602 MB / 1.127 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006252/1.15, allocations: 2.116 MB / 1.129 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01569/1.166, allocations: 4.295 MB / 1.133 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02198/1.188, allocations: 11.92 MB / 1.145 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/1.188, allocations: 2.594 kB / 1.145 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/1.188, allocations: 0 / 1.145 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000583/1.188, allocations: 0 / 1.145 GB, free: 6.781 MB / 0.8575 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.02765/1.216, allocations: 7.729 MB / 1.153 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.216, allocations: 8.906 kB / 1.153 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/1.221, allocations: 0.7901 MB / 1.153 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.238, allocations: 6.045 MB / 1.159 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/1.238, allocations: 415.3 kB / 1.16 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/1.241, allocations: 0.5423 MB / 1.16 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/1.265, allocations: 8.072 MB / 1.168 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003335/1.265, allocations: 19.84 kB / 1.168 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002316/1.267, allocations: 239.2 kB / 1.168 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/1.268, allocations: 167.9 kB / 1.168 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/1.285, allocations: 6.536 MB / 1.175 GB, free: 11.45 MB / 0.8887 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.06439/1.35, allocations: 31.43 MB / 1.206 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/1.357, allocations: 3.648 MB / 1.209 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00538/1.363, allocations: 2.811 MB / 1.212 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.364, allocations: 0.8237 MB / 1.213 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/1.364, allocations: 75.98 kB / 1.213 GB, free: 2.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=267): time 6.563e-06/1.364, allocations: 0 / 1.213 GB, free: 2.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=267): time 0.01442/1.379, allocations: 5.768 MB / 1.218 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/1.379, allocations: 81.52 kB / 1.218 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/1.392, allocations: 5.231 MB / 1.224 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0008926/1.393, allocations: 81.7 kB / 1.224 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.003412/1.396, allocations: 2.865 MB / 1.226 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/1.398, allocations: 0.9346 MB / 1.227 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/1.399, allocations: 0.7113 MB / 1.228 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.4, allocations: 313 kB / 1.228 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.403, allocations: 1.67 MB / 1.23 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/1.407, allocations: 2.939 MB / 1.233 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/1.415, allocations: 4.963 MB / 1.238 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/1.415, allocations: 16 kB / 1.238 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01218/1.427, allocations: 5.434 MB / 1.243 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/1.427, allocations: 26.5 kB / 1.243 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.925e-05/1.427, allocations: 44.03 kB / 1.243 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.428, allocations: 430.2 kB / 1.243 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.432, allocations: 0.858 MB / 1.244 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/1.439, allocations: 5.694 MB / 1.25 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00603/1.445, allocations: 0.5183 MB / 1.25 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009441/1.446, allocations: 184 kB / 1.251 GB, free: 10.61 MB / 0.9669 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.005906/1.452, allocations: 2.281 MB / 1.253 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/1.454, allocations: 486.1 kB / 1.253 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/1.462, allocations: 4.186 MB / 1.257 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-05/1.463, allocations: 35.98 kB / 1.257 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.463, allocations: 4 kB / 1.257 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006198/1.469, allocations: 3.637 MB / 1.261 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/1.491, allocations: 10.29 MB / 1.271 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.492, allocations: 4 kB / 1.271 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.494, allocations: 0.4998 MB / 1.271 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009278/1.495, allocations: 372.3 kB / 1.272 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/1.495, allocations: 79.95 kB / 1.272 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006788/1.502, allocations: 5.637 MB / 1.277 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.502, allocations: 11.94 kB / 1.277 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.513, allocations: 6.247 MB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/1.517, allocations: 1.096 MB / 1.285 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.518, allocations: 67.92 kB / 1.285 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/1.522, allocations: 179.6 kB / 1.285 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/1.522, allocations: 173.6 kB / 1.285 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/1.523, allocations: 131.9 kB / 1.285 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007766/1.531, allocations: 3.835 MB / 1.289 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.531, allocations: 0 / 1.289 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008122/1.539, allocations: 1.796 MB / 1.291 GB, free: 0.832 MB / 0.9981 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.001809/1.541, allocations: 493.9 kB / 1.291 GB, free: 376 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.558, allocations: 8.07 MB / 1.299 GB, free: 8.254 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.558, allocations: 4 kB / 1.299 GB, free: 8.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004133/1.562, allocations: 2.035 MB / 1.301 GB, free: 6.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01882/1.581, allocations: 3.469 MB / 1.304 GB, free: 2.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.604, allocations: 12.68 MB / 1.317 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004871/1.609, allocations: 4.232 MB / 1.321 GB, free: 1.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.611, allocations: 443.3 kB / 1.321 GB, free: 1.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.196e-06/1.611, allocations: 3.938 kB / 1.321 GB, free: 1.414 MB / 1.029 GB Notification: Performance of Templates: time 0.2942/1.905, allocations: 173.7 MB / 1.491 GB, free: 4.008 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches