Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 100.5 kB / 15.71 MB, free: 452 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.001905/0.001904, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.499/1.499, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 436.7 MB / 0.7113 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 8.219 kB / 0.8717 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8335, allocations: 153.6 MB / 1.022 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06722/0.9008, allocations: 69.44 MB / 1.09 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.9197, allocations: 11.96 MB / 1.101 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.9228, allocations: 59.62 kB / 1.101 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.9252, allocations: 0.5627 MB / 1.102 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/0.9321, allocations: 1.892 MB / 1.104 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.9362, allocations: 0.976 MB / 1.105 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008982/0.9452, allocations: 4.793 MB / 1.109 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.9476, allocations: 1.019 MB / 1.11 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.9511, allocations: 1.26 MB / 1.112 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.9534, allocations: 1.069 MB / 1.113 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.9537, allocations: 56 kB / 1.113 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.9566, allocations: 0.9393 MB / 1.114 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.957, allocations: 266.7 kB / 1.114 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/0.9578, allocations: 360.9 kB / 1.114 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.9607, allocations: 2.092 MB / 1.116 GB, free: 132 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9607, allocations: 3.938 kB / 1.116 GB, free: 128 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9607, allocations: 0 / 1.116 GB, free: 128 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.9608, allocations: 4 kB / 1.116 GB, free: 124 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003748/0.9645, allocations: 1.795 MB / 1.118 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9646, allocations: 15.98 kB / 1.118 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.9653, allocations: 237.8 kB / 1.118 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.9679, allocations: 1.447 MB / 1.12 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.968, allocations: 74 kB / 1.12 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.9681, allocations: 103.9 kB / 1.12 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.9702, allocations: 1.124 MB / 1.121 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.9702, allocations: 0 / 1.121 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.9703, allocations: 40 kB / 1.121 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.9704, allocations: 27.94 kB / 1.121 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.9723, allocations: 0.9212 MB / 1.122 GB, free: 10.19 MB / 0.8731 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.006415/0.9787, allocations: 4.912 MB / 1.127 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.9801, allocations: 0.6428 MB / 1.127 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.9808, allocations: 378.3 kB / 1.128 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/0.9816, allocations: 0.8277 MB / 1.128 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.9816, allocations: 43.12 kB / 1.128 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 3.026e-06/0.9816, allocations: 0 / 1.128 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.006632/0.9883, allocations: 1.881 MB / 1.13 GB, free: 1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.9884, allocations: 63.97 kB / 1.13 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.9905, allocations: 1.206 MB / 1.132 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.9906, allocations: 37.7 kB / 1.132 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006428/0.9913, allocations: 0.5987 MB / 1.132 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.9915, allocations: 220.8 kB / 1.132 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.9916, allocations: 16 kB / 1.132 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.9918, allocations: 330 kB / 1.133 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/0.9925, allocations: 301.8 kB / 1.133 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008615/0.9933, allocations: 0.4912 MB / 1.133 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.9941, allocations: 367 kB / 1.134 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9941, allocations: 4 kB / 1.134 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004509/0.9987, allocations: 1.398 MB / 1.135 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.9988, allocations: 193.1 kB / 1.135 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.9988, allocations: 4 kB / 1.135 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/0.9995, allocations: 164.7 kB / 1.136 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/1, allocations: 175.7 kB / 1.136 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/1.001, allocations: 0.7202 MB / 1.136 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.002, allocations: 168.7 kB / 1.137 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/1.002, allocations: 31.98 kB / 1.137 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.002, allocations: 7.953 kB / 1.137 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00385/1.006, allocations: 1.253 MB / 1.138 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.006, allocations: 4 kB / 1.138 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/1.007, allocations: 164.9 kB / 1.138 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/1.007, allocations: 167.8 kB / 1.138 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007964/1.008, allocations: 0.724 MB / 1.139 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.009, allocations: 155.2 kB / 1.139 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/1.009, allocations: 35.98 kB / 1.139 GB, free: 7.812 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007539/1.01, allocations: 416.9 kB / 1.139 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.01, allocations: 138.3 kB / 1.14 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/1.015, allocations: 1.416 MB / 1.141 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.015, allocations: 8 kB / 1.141 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.015, allocations: 0 / 1.141 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/1.018, allocations: 1.24 MB / 1.142 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/1.025, allocations: 2.746 MB / 1.145 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.025, allocations: 7.938 kB / 1.145 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/1.025, allocations: 123.8 kB / 1.145 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/1.026, allocations: 157.1 kB / 1.145 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/1.026, allocations: 19.98 kB / 1.145 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007949/1.027, allocations: 0.724 MB / 1.146 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.027, allocations: 8 kB / 1.146 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/1.032, allocations: 1.852 MB / 1.148 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/1.032, allocations: 339 kB / 1.148 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.033, allocations: 19.98 kB / 1.148 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/1.033, allocations: 87.97 kB / 1.148 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.033, allocations: 56.27 kB / 1.148 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/1.034, allocations: 27.98 kB / 1.148 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001265/1.035, allocations: 0.8698 MB / 1.149 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.035, allocations: 0 / 1.149 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001836/1.037, allocations: 0.6979 MB / 1.15 GB, free: 12.58 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008847/1.038, allocations: 437.2 kB / 1.15 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002579/1.04, allocations: 1.168 MB / 1.151 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.04, allocations: 0 / 1.151 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/1.041, allocations: 407.3 kB / 1.152 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/1.044, allocations: 0.7613 MB / 1.152 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/1.048, allocations: 2.806 MB / 1.155 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/1.049, allocations: 1.165 MB / 1.156 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.05, allocations: 111.3 kB / 1.156 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of SimCode: time 8.52e-07/1.05, allocations: 0 / 1.156 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of Templates: time 0.04494/1.095, allocations: 30.66 MB / 1.186 GB, free: 7.172 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPLCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPLCalcHelperMain.o] Error 1