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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001454/0.001454, allocations: 116.5 kB / 16.37 MB, free: 6.016 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.001357/0.001357, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.33 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04917/0.3901, allocations: 49.31 MB / 0.9993 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.4118, allocations: 13.82 MB / 1.013 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.4154, allocations: 67.62 kB / 1.013 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.4186, allocations: 0.8109 MB / 1.014 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008134/0.4268, allocations: 2.246 MB / 1.016 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.4312, allocations: 1.316 MB / 1.017 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02151/0.4527, allocations: 19.59 MB / 1.036 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01362/0.4664, allocations: 9.902 MB / 1.046 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01519/0.4816, allocations: 6.528 MB / 1.052 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.493, allocations: 5.751 MB / 1.058 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003389/0.4964, allocations: 0.8438 MB / 1.059 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007188/0.5036, allocations: 1.6 MB / 1.06 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004223/0.5079, allocations: 2.119 MB / 1.062 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.5181, allocations: 4.287 MB / 1.067 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0167/0.5348, allocations: 12.06 MB / 1.078 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5349, allocations: 0 / 1.078 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.826e-06/0.5349, allocations: 0 / 1.078 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005079/0.5354, allocations: 4 kB / 1.078 GB, free: 5.367 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.5602/1.096, allocations: 7.717 MB / 1.086 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/1.096, allocations: 9.469 kB / 1.086 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/1.101, allocations: 0.7841 MB / 1.087 GB, free: 123 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/1.119, allocations: 6.307 MB / 1.093 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008151/1.12, allocations: 413.2 kB / 1.093 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/1.123, allocations: 0.5435 MB / 1.094 GB, free: 119.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/1.15, allocations: 8.073 MB / 1.102 GB, free: 116.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/1.15, allocations: 12.33 kB / 1.102 GB, free: 116.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001608/1.152, allocations: 236.2 kB / 1.102 GB, free: 116.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/1.152, allocations: 172.5 kB / 1.102 GB, free: 116.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/1.17, allocations: 6.522 MB / 1.108 GB, free: 114.3 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.06096/1.231, allocations: 31.2 MB / 1.139 GB, free: 90.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/1.239, allocations: 3.642 MB / 1.142 GB, free: 88.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/1.244, allocations: 2.813 MB / 1.145 GB, free: 87.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000971/1.245, allocations: 0.8267 MB / 1.146 GB, free: 86.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/1.245, allocations: 66.89 kB / 1.146 GB, free: 86.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=267): time 5.641e-06/1.245, allocations: 1.406 kB / 1.146 GB, free: 86.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=267): time 0.01229/1.257, allocations: 5.773 MB / 1.152 GB, free: 83.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/1.257, allocations: 77.39 kB / 1.152 GB, free: 83.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008074/1.265, allocations: 5.23 MB / 1.157 GB, free: 78.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0008541/1.266, allocations: 81.7 kB / 1.157 GB, free: 78.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002039/1.268, allocations: 2.864 MB / 1.16 GB, free: 75.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.27, allocations: 0.9359 MB / 1.161 GB, free: 74.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/1.271, allocations: 0.7151 MB / 1.161 GB, free: 73.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/1.271, allocations: 305.1 kB / 1.162 GB, free: 73.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.273, allocations: 1.682 MB / 1.163 GB, free: 71.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/1.276, allocations: 2.936 MB / 1.166 GB, free: 68.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/1.281, allocations: 4.958 MB / 1.171 GB, free: 62.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.281, allocations: 12 kB / 1.171 GB, free: 62.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008532/1.289, allocations: 5.437 MB / 1.176 GB, free: 57.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.289, allocations: 33.66 kB / 1.176 GB, free: 57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/1.289, allocations: 40 kB / 1.176 GB, free: 56.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/1.29, allocations: 423 kB / 1.177 GB, free: 56.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.293, allocations: 0.8541 MB / 1.178 GB, free: 55.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/1.298, allocations: 5.707 MB / 1.183 GB, free: 49.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/1.305, allocations: 0.5197 MB / 1.184 GB, free: 49.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008196/1.305, allocations: 180 kB / 1.184 GB, free: 49.02 MB / 0.8575 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.004703/1.31, allocations: 2.288 MB / 1.186 GB, free: 46.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.312, allocations: 486.1 kB / 1.187 GB, free: 46.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/1.319, allocations: 4.184 MB / 1.191 GB, free: 42.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.319, allocations: 28 kB / 1.191 GB, free: 41.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.319, allocations: 4 kB / 1.191 GB, free: 41.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004061/1.323, allocations: 3.632 MB / 1.194 GB, free: 38.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.342, allocations: 10.27 MB / 1.204 GB, free: 27.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.342, allocations: 7.312 kB / 1.204 GB, free: 27.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.344, allocations: 0.4993 MB / 1.205 GB, free: 27.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007341/1.345, allocations: 369.4 kB / 1.205 GB, free: 26.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.345, allocations: 79.95 kB / 1.205 GB, free: 26.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/1.349, allocations: 5.644 MB / 1.211 GB, free: 20.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.349, allocations: 7.938 kB / 1.211 GB, free: 20.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/1.358, allocations: 6.244 MB / 1.217 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003954/1.362, allocations: 1.1 MB / 1.218 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/1.364, allocations: 59.98 kB / 1.218 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/1.367, allocations: 179.4 kB / 1.218 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.368, allocations: 178.5 kB / 1.218 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004394/1.368, allocations: 127.9 kB / 1.218 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.008465/1.377, allocations: 3.851 MB / 1.222 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.61e-07/1.377, allocations: 384 / 1.222 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00764/1.385, allocations: 1.787 MB / 1.224 GB, free: 7.242 MB / 0.8575 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.001607/1.386, allocations: 499.5 kB / 1.224 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006563/1.393, allocations: 4.278 MB / 1.229 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.393, allocations: 4 kB / 1.229 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.396, allocations: 2.044 MB / 1.231 GB, free: 396 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01895/1.415, allocations: 3.462 MB / 1.234 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.443, allocations: 12.49 MB / 1.246 GB, free: 500 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007575/1.451, allocations: 4.306 MB / 1.25 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.007912/1.459, allocations: 1.846 MB / 1.252 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/1.461, allocations: 423.2 kB / 1.253 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of SimCode: time 1.502e-06/1.461, allocations: 0 / 1.253 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of Templates: time 0.1771/1.638, allocations: 111.8 MB / 1.362 GB, free: 11.15 MB / 0.9981 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches