Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001548/0.001548, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001623/0.001623, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 469.8 MB / 0.743 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 70.05 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.6618/1.031, allocations: 49.3 MB / 1.113 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02443/1.056, allocations: 13.83 MB / 1.126 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004293/1.06, allocations: 71.38 kB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003543/1.064, allocations: 0.8043 MB / 1.127 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00976/1.074, allocations: 2.248 MB / 1.129 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/1.078, allocations: 1.309 MB / 1.131 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02649/1.105, allocations: 19.58 MB / 1.15 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01818/1.123, allocations: 9.907 MB / 1.159 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01784/1.141, allocations: 6.499 MB / 1.166 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/1.155, allocations: 5.75 MB / 1.171 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.004213/1.16, allocations: 0.8447 MB / 1.172 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009836/1.17, allocations: 1.6 MB / 1.174 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005537/1.175, allocations: 2.12 MB / 1.176 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0134/1.189, allocations: 4.285 MB / 1.18 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02151/1.21, allocations: 11.92 MB / 1.192 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.21, allocations: 4 kB / 1.192 GB, free: 7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.033e-06/1.21, allocations: 0 / 1.192 GB, free: 7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004519/1.211, allocations: 4 kB / 1.192 GB, free: 6.996 MB / 0.9044 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.02361/1.234, allocations: 7.734 MB / 1.199 GB, free: 15.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.234, allocations: 12.03 kB / 1.199 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/1.239, allocations: 0.7775 MB / 1.2 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.254, allocations: 6.061 MB / 1.206 GB, free: 8.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/1.255, allocations: 411.6 kB / 1.206 GB, free: 7.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002683/1.257, allocations: 0.5466 MB / 1.207 GB, free: 7.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/1.281, allocations: 8.084 MB / 1.215 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/1.281, allocations: 11.94 kB / 1.215 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/1.283, allocations: 232 kB / 1.215 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/1.283, allocations: 171.9 kB / 1.215 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/1.299, allocations: 6.524 MB / 1.221 GB, free: 8.051 MB / 0.9356 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.06/1.359, allocations: 31.43 MB / 1.252 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007396/1.367, allocations: 3.652 MB / 1.256 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/1.372, allocations: 2.807 MB / 1.258 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/1.373, allocations: 0.828 MB / 1.259 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/1.373, allocations: 76.58 kB / 1.259 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=267): time 8.506e-06/1.373, allocations: 0 / 1.259 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=267): time 0.01432/1.388, allocations: 5.77 MB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/1.388, allocations: 85.45 kB / 1.265 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/1.402, allocations: 5.227 MB / 1.27 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.403, allocations: 81.7 kB / 1.27 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.004079/1.407, allocations: 2.868 MB / 1.273 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.409, allocations: 0.932 MB / 1.274 GB, free: 120 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.412, allocations: 0.7153 MB / 1.275 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.412, allocations: 305.1 kB / 1.275 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/1.415, allocations: 1.678 MB / 1.277 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005241/1.421, allocations: 2.932 MB / 1.279 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/1.43, allocations: 4.962 MB / 1.284 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-05/1.43, allocations: 12 kB / 1.284 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01421/1.445, allocations: 5.441 MB / 1.29 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/1.445, allocations: 24 kB / 1.29 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.444e-05/1.445, allocations: 40 kB / 1.29 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/1.446, allocations: 418 kB / 1.29 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.45, allocations: 0.858 MB / 1.291 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/1.458, allocations: 5.714 MB / 1.297 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004904/1.463, allocations: 0.5145 MB / 1.297 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008097/1.463, allocations: 180 kB / 1.297 GB, free: 6.848 MB / 1.014 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.005408/1.469, allocations: 2.282 MB / 1.299 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/1.471, allocations: 490.1 kB / 1.3 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.482, allocations: 4.179 MB / 1.304 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/1.482, allocations: 28.19 kB / 1.304 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.482, allocations: 8 kB / 1.304 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007143/1.489, allocations: 3.639 MB / 1.308 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.515, allocations: 10.29 MB / 1.318 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.515, allocations: 7.938 kB / 1.318 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/1.517, allocations: 0.4954 MB / 1.318 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009468/1.518, allocations: 379.5 kB / 1.318 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.518, allocations: 79.95 kB / 1.319 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/1.525, allocations: 5.637 MB / 1.324 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.525, allocations: 7.938 kB / 1.324 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.537, allocations: 6.239 MB / 1.33 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/1.54, allocations: 1.096 MB / 1.331 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/1.541, allocations: 63.92 kB / 1.331 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.544, allocations: 187.6 kB / 1.331 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/1.545, allocations: 173.6 kB / 1.332 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/1.545, allocations: 127.9 kB / 1.332 GB, free: 2.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.007077/1.552, allocations: 3.843 MB / 1.335 GB, free: 14.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.61e-07/1.552, allocations: 0 / 1.335 GB, free: 14.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.006914/1.559, allocations: 1.793 MB / 1.337 GB, free: 13 MB / 1.061 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.001454/1.561, allocations: 497.8 kB / 1.338 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.576, allocations: 8.066 MB / 1.346 GB, free: 4.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.576, allocations: 3.781 kB / 1.346 GB, free: 4.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/1.579, allocations: 2.041 MB / 1.348 GB, free: 2.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/1.595, allocations: 3.468 MB / 1.351 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.619, allocations: 12.66 MB / 1.363 GB, free: 2.242 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005555/1.624, allocations: 4.232 MB / 1.367 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.626, allocations: 451.2 kB / 1.368 GB, free: 13.54 MB / 1.092 GB Notification: Performance of SimCode: time 7.11e-07/1.626, allocations: 0 / 1.368 GB, free: 13.54 MB / 1.092 GB Notification: Performance of Templates: time 0.264/1.89, allocations: 173.7 MB / 1.538 GB, free: 236 kB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches