Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 102.7 kB / 15.71 MB, free: 460 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.001434/0.001434, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.544/1.544, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.501/2.501, allocations: 390.4 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7966, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1146/0.9113, allocations: 122.2 MB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03292/0.9443, allocations: 21.78 MB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005319/0.9496, allocations: 107.2 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.9541, allocations: 0.9934 MB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.9662, allocations: 3.172 MB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.9716, allocations: 1.519 MB / 1.101 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.9825, allocations: 7.201 MB / 1.108 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.9857, allocations: 1.664 MB / 1.109 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.9911, allocations: 2.158 MB / 1.111 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/0.9943, allocations: 1.68 MB / 1.113 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.9947, allocations: 92 kB / 1.113 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.9988, allocations: 1.22 MB / 1.114 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.9993, allocations: 425.8 kB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/1, allocations: 0.555 MB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/1.005, allocations: 3.135 MB / 1.118 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.005, allocations: 0 / 1.118 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.374e-06/1.005, allocations: 0 / 1.118 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.262e-05/1.005, allocations: 0 / 1.118 GB, free: 7.746 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.004919/1.01, allocations: 2.709 MB / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.01, allocations: 8.031 kB / 1.121 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/1.014, allocations: 0.9489 MB / 1.122 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/1.018, allocations: 2.202 MB / 1.124 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008643/1.019, allocations: 318.9 kB / 1.124 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/1.019, allocations: 164 kB / 1.125 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/1.023, allocations: 1.969 MB / 1.127 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.023, allocations: 0 / 1.127 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/1.023, allocations: 68 kB / 1.127 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/1.023, allocations: 36 kB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/1.028, allocations: 1.905 MB / 1.128 GB, free: 13.2 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.01315/1.041, allocations: 9.098 MB / 1.137 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.045, allocations: 1.291 MB / 1.139 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/1.046, allocations: 485.3 kB / 1.139 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.048, allocations: 1.726 MB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.048, allocations: 42.55 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/1.048, allocations: 0 / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008205/1.056, allocations: 2.5 MB / 1.143 GB, free: 13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.056, allocations: 85.11 kB / 1.143 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/1.06, allocations: 2.524 MB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.06, allocations: 41.7 kB / 1.146 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009287/1.061, allocations: 1.05 MB / 1.147 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/1.062, allocations: 272.2 kB / 1.147 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/1.062, allocations: 24 kB / 1.147 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.062, allocations: 345.9 kB / 1.147 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.063, allocations: 0.6272 MB / 1.148 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/1.065, allocations: 1.001 MB / 1.149 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/1.067, allocations: 0.6895 MB / 1.15 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/1.067, allocations: 4 kB / 1.15 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005103/1.072, allocations: 1.97 MB / 1.152 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/1.072, allocations: 13.94 kB / 1.152 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.072, allocations: 8 kB / 1.152 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.074, allocations: 0.4933 MB / 1.152 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.075, allocations: 315.5 kB / 1.152 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.077, allocations: 1.556 MB / 1.154 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.08, allocations: 481.9 kB / 1.154 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.08, allocations: 59.97 kB / 1.154 GB, free: 1.191 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.000936/1.081, allocations: 467.6 kB / 1.155 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/1.082, allocations: 249 kB / 1.155 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/1.085, allocations: 1.545 MB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.085, allocations: 16 kB / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.085, allocations: 0 / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.085, allocations: 7.938 kB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/1.092, allocations: 3.697 MB / 1.16 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.093, allocations: 8 kB / 1.16 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/1.093, allocations: 132.2 kB / 1.16 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/1.095, allocations: 0.501 MB / 1.161 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/1.095, allocations: 23.98 kB / 1.161 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/1.097, allocations: 1.645 MB / 1.163 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.097, allocations: 7.938 kB / 1.163 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/1.104, allocations: 2.081 MB / 1.165 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.106, allocations: 0.5092 MB / 1.165 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.107, allocations: 16 kB / 1.165 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.11, allocations: 199.7 kB / 1.165 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/1.11, allocations: 63.81 kB / 1.165 GB, free: 5.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.111, allocations: 43.97 kB / 1.165 GB, free: 5.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004812/1.115, allocations: 1.762 MB / 1.167 GB, free: 3.953 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/1.115, allocations: 3.938 kB / 1.167 GB, free: 3.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003025/1.118, allocations: 0.6788 MB / 1.168 GB, free: 3.27 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/1.12, allocations: 0.5853 MB / 1.168 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004313/1.124, allocations: 1.421 MB / 1.17 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.124, allocations: 4.188 kB / 1.17 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.127, allocations: 0.7371 MB / 1.17 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/1.134, allocations: 1.267 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/1.143, allocations: 4.236 MB / 1.176 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/1.145, allocations: 1.482 MB / 1.177 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/1.146, allocations: 179.4 kB / 1.177 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of SimCode: time 1.323e-06/1.146, allocations: 0 / 1.177 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.08632/1.232, allocations: 61.83 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnotCalcHelperMain.o] Error 1