Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009024/0.009024, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001595/0.001595, allocations: 191.6 kB / 16.78 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5491 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 76.36 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3221, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002388/0.3246, allocations: 0.8059 MB / 0.7841 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.3249, allocations: 51.83 kB / 0.7842 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3249, allocations: 3.938 kB / 0.7842 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.3251, allocations: 15.92 kB / 0.7842 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.3252, allocations: 15.92 kB / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3254, allocations: 30.64 kB / 0.7842 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3256, allocations: 111.8 kB / 0.7844 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3259, allocations: 152.4 kB / 0.7845 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.326, allocations: 55.72 kB / 0.7846 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3261, allocations: 67.7 kB / 0.7846 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.3261, allocations: 8 kB / 0.7846 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.967e-05/0.3262, allocations: 12 kB / 0.7846 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3263, allocations: 55.78 kB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3264, allocations: 71.48 kB / 0.7848 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3266, allocations: 179.7 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3266, allocations: 0 / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3266, allocations: 0 / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3266, allocations: 0 / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006968/0.3273, allocations: 499.3 kB / 0.7854 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3274, allocations: 12.02 kB / 0.7854 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3275, allocations: 24.66 kB / 0.7854 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3278, allocations: 247.9 kB / 0.7857 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3278, allocations: 16.73 kB / 0.7857 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3278, allocations: 20.38 kB / 0.7857 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.3283, allocations: 348.8 kB / 0.786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3284, allocations: 3.938 kB / 0.786 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3284, allocations: 12 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.3284, allocations: 12 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3288, allocations: 267.5 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3301, allocations: 1.076 MB / 0.7874 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3302, allocations: 169.1 kB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.3303, allocations: 84.12 kB / 0.7876 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.3303, allocations: 79.28 kB / 0.7877 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.3304, allocations: 113.8 kB / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3304, allocations: 0 / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001222/0.3305, allocations: 53.48 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3306, allocations: 130.7 kB / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.3312, allocations: 0.4887 MB / 0.7885 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3312, allocations: 29.64 kB / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3314, allocations: 175.8 kB / 0.7886 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.3314, allocations: 0 / 0.7886 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.3315, allocations: 29.7 kB / 0.7887 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3317, allocations: 342.8 kB / 0.789 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.3317, allocations: 39.97 kB / 0.789 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3318, allocations: 97.97 kB / 0.7891 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.332, allocations: 101.8 kB / 0.7892 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.332, allocations: 8 kB / 0.7892 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.3323, allocations: 181.1 kB / 0.7894 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3323, allocations: 12.92 kB / 0.7894 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3324, allocations: 3.938 kB / 0.7894 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3324, allocations: 4 kB / 0.7894 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3325, allocations: 15.94 kB / 0.7894 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3325, allocations: 7.984 kB / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.3326, allocations: 35.91 kB / 0.7895 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3326, allocations: 8 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3328, allocations: 245.7 kB / 0.7897 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.333, allocations: 136.6 kB / 0.7899 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-05/0.3331, allocations: 134.8 kB / 0.79 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.431e-05/0.3331, allocations: 181.3 kB / 0.7902 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.959e-05/0.3332, allocations: 184.2 kB / 0.7903 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.992e-05/0.3333, allocations: 180.3 kB / 0.7905 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3337, allocations: 497 kB / 0.791 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.515e-05/0.3338, allocations: 101 kB / 0.7911 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.3338, allocations: 109 kB / 0.7912 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.945e-05/0.3339, allocations: 184.2 kB / 0.7914 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.334, allocations: 192.2 kB / 0.7915 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.422e-05/0.3341, allocations: 180.4 kB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.221e-05/0.3342, allocations: 180.5 kB / 0.7919 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3344, allocations: 327.5 kB / 0.7922 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.3346, allocations: 221.8 kB / 0.7924 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3347, allocations: 184.1 kB / 0.7926 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.3348, allocations: 109 kB / 0.7927 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.3349, allocations: 180.3 kB / 0.7929 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.335, allocations: 108.9 kB / 0.793 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003909/0.3354, allocations: 363 kB / 0.7933 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3354, allocations: 4 kB / 0.7933 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000284/0.3357, allocations: 24 kB / 0.7933 GB, free: 3.227 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.3359, allocations: 174.5 kB / 0.7935 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.336, allocations: 63.89 kB / 0.7936 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.336, allocations: 0 / 0.7936 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.336, allocations: 8.375 kB / 0.7936 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.3367, allocations: 0.5508 MB / 0.7941 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.3374, allocations: 0.5376 MB / 0.7946 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3379, allocations: 0.7752 MB / 0.7954 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3379, allocations: 15.44 kB / 0.7954 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.3379, allocations: 4 kB / 0.7954 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.004922/0.3429, allocations: 2.619 MB / 0.798 GB, free: 14.41 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMaxCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMaxCalcHelperMain.o] Error 1