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.0009484/0.0009487, allocations: 101.6 kB / 15.71 MB, free: 456 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 175.3 kB / 16.58 MB, free: 6.863 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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.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.532/2.532, allocations: 390.5 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.938, allocations: 142.3 MB / 0.9544 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05273/0.9908, allocations: 45.35 MB / 0.9987 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.011, allocations: 12.97 MB / 1.011 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/1.015, allocations: 59.62 kB / 1.011 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00301/1.018, allocations: 0.5704 MB / 1.012 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0079/1.026, allocations: 1.787 MB / 1.014 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/1.03, allocations: 0.9379 MB / 1.015 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02517/1.055, allocations: 21.74 MB / 1.036 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/1.066, allocations: 6.527 MB / 1.042 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/1.078, allocations: 4.77 MB / 1.047 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/1.089, allocations: 4.932 MB / 1.052 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002358/1.091, allocations: 303.9 kB / 1.052 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/1.098, allocations: 0.7411 MB / 1.053 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003178/1.101, allocations: 1.358 MB / 1.054 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004309/1.105, allocations: 1.483 MB / 1.055 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.118, allocations: 9.458 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.118, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.336e-06/1.118, allocations: 3.938 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004568/1.118, allocations: 0 / 1.065 GB, free: 14.95 MB / 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.01618/1.134, allocations: 6.299 MB / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.134, allocations: 8.031 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004416/1.139, allocations: 0.7843 MB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/1.152, allocations: 6.093 MB / 1.078 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/1.153, allocations: 415.1 kB / 1.078 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.155, allocations: 0.5468 MB / 1.079 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/1.174, allocations: 8.025 MB / 1.086 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/1.175, allocations: 15.84 kB / 1.086 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008209/1.175, allocations: 240 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/1.176, allocations: 167.9 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.19, allocations: 6.485 MB / 1.093 GB, free: 1.496 MB / 0.8419 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.04619/1.236, allocations: 31.16 MB / 1.124 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/1.242, allocations: 3.62 MB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004075/1.246, allocations: 2.882 MB / 1.13 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009841/1.247, allocations: 0.8358 MB / 1.131 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.188e-05/1.247, allocations: 72.67 kB / 1.131 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=267): time 6.091e-06/1.247, allocations: 3.984 kB / 1.131 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=267): time 0.01076/1.258, allocations: 5.739 MB / 1.136 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.258, allocations: 81.5 kB / 1.136 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008646/1.266, allocations: 4.989 MB / 1.141 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009511/1.267, allocations: 81.7 kB / 1.141 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00277/1.27, allocations: 2.868 MB / 1.144 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/1.272, allocations: 0.9359 MB / 1.145 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/1.272, allocations: 72 kB / 1.145 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002502/1.272, allocations: 465.9 kB / 1.146 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.275, allocations: 1.658 MB / 1.147 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/1.278, allocations: 2.924 MB / 1.15 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/1.282, allocations: 2.269 MB / 1.152 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/1.282, allocations: 12 kB / 1.152 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009287/1.291, allocations: 5.402 MB / 1.158 GB, free: 12.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/1.291, allocations: 28.22 kB / 1.158 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/1.291, allocations: 39.95 kB / 1.158 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/1.292, allocations: 429.3 kB / 1.158 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/1.295, allocations: 0.858 MB / 1.159 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/1.301, allocations: 5.275 MB / 1.164 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/1.306, allocations: 0.6394 MB / 1.165 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006977/1.307, allocations: 184 kB / 1.165 GB, free: 4.906 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004641/1.311, allocations: 2.284 MB / 1.167 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.313, allocations: 490 kB / 1.168 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/1.32, allocations: 4.164 MB / 1.172 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.32, allocations: 28 kB / 1.172 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.32, allocations: 8 kB / 1.172 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00496/1.325, allocations: 3.608 MB / 1.175 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.344, allocations: 10.21 MB / 1.185 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.344, allocations: 4 kB / 1.185 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.346, allocations: 0.4954 MB / 1.186 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/1.347, allocations: 369.4 kB / 1.186 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/1.347, allocations: 75.97 kB / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/1.352, allocations: 5.199 MB / 1.191 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.352, allocations: 7.938 kB / 1.191 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009465/1.362, allocations: 6.212 MB / 1.197 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003997/1.366, allocations: 1.158 MB / 1.198 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.367, allocations: 67.94 kB / 1.198 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003642/1.371, allocations: 342.5 kB / 1.199 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/1.372, allocations: 177.6 kB / 1.199 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/1.372, allocations: 127.9 kB / 1.199 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008918/1.381, allocations: 3.648 MB / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.01e-07/1.381, allocations: 384 / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.009315/1.39, allocations: 1.769 MB / 1.204 GB, free: 11.67 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001505/1.392, allocations: 480.7 kB / 1.205 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00841/1.4, allocations: 4.238 MB / 1.209 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.4, allocations: 4 kB / 1.209 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.404, allocations: 2.028 MB / 1.211 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01638/1.42, allocations: 3.286 MB / 1.214 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/1.444, allocations: 14.68 MB / 1.228 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/1.449, allocations: 4.235 MB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/1.451, allocations: 435.2 kB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of SimCode: time 1.492e-06/1.451, allocations: 0 / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.8444/2.295, allocations: 171.6 MB / 1.401 GB, free: 161.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o] Error 1