Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 92.16 kB / 16.02 MB, free: 80 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.001387/0.001387, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.907/1.907, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.853/1.853, allocations: 292.7 MB / 0.5509 GB, free: 14.44 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.0005618/0.0005616, allocations: 14.84 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3265, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001252/0.3278, allocations: 425.4 kB / 0.789 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.329, allocations: 0.841 MB / 0.7898 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.3291, allocations: 0 / 0.7898 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.3291, allocations: 3.938 kB / 0.7898 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3292, allocations: 4 kB / 0.7898 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3294, allocations: 19.92 kB / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.3295, allocations: 43.89 kB / 0.7898 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3297, allocations: 16 kB / 0.7899 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.3298, allocations: 15.92 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3299, allocations: 23.91 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3299, allocations: 4 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.3299, allocations: 0 / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3299, allocations: 7.984 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.33, allocations: 41.56 kB / 0.7899 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.3301, allocations: 31.92 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3303, allocations: 4 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3303, allocations: 0 / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3303, allocations: 0 / 0.79 GB, free: 10.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000633/0.3309, allocations: 355.7 kB / 0.7903 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.331, allocations: 8.031 kB / 0.7903 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.331, allocations: 8.844 kB / 0.7903 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3312, allocations: 164.4 kB / 0.7905 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3313, allocations: 12.38 kB / 0.7905 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3313, allocations: 4.312 kB / 0.7905 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3315, allocations: 74.2 kB / 0.7906 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3316, allocations: 192 / 0.7906 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3316, allocations: 3.938 kB / 0.7906 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.3318, allocations: 4 kB / 0.7906 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.332, allocations: 67.89 kB / 0.7907 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.3326, allocations: 292.7 kB / 0.7909 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3328, allocations: 70.55 kB / 0.791 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.333, allocations: 36.91 kB / 0.791 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.333, allocations: 4 kB / 0.791 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.333, allocations: 38.5 kB / 0.7911 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3331, allocations: 0 / 0.7911 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004975/0.3336, allocations: 121.8 kB / 0.7912 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3336, allocations: 55.41 kB / 0.7912 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3337, allocations: 109.8 kB / 0.7914 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3338, allocations: 25.7 kB / 0.7914 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.3338, allocations: 95.98 kB / 0.7915 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3339, allocations: 7.891 kB / 0.7915 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3339, allocations: 13.72 kB / 0.7915 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.334, allocations: 314.8 kB / 0.7918 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3342, allocations: 31.97 kB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3343, allocations: 32.02 kB / 0.7918 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3345, allocations: 76.69 kB / 0.7919 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3345, allocations: 0 / 0.7919 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002508/0.3348, allocations: 93.64 kB / 0.792 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3348, allocations: 8 kB / 0.792 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3348, allocations: 0 / 0.792 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3348, allocations: 4 kB / 0.792 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.335, allocations: 15.98 kB / 0.792 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.335, allocations: 0 / 0.792 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.335, allocations: 7.984 kB / 0.792 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3351, allocations: 4 kB / 0.792 GB, free: 7.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001139/0.3352, allocations: 114.7 kB / 0.7922 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3352, allocations: 11.84 kB / 0.7922 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.3353, allocations: 7.906 kB / 0.7922 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3353, allocations: 3.984 kB / 0.7922 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3353, allocations: 0 / 0.7922 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3353, allocations: 0 / 0.7922 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3355, allocations: 185.6 kB / 0.7924 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3355, allocations: 0 / 0.7924 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.3356, allocations: 15.98 kB / 0.7924 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3356, allocations: 0 / 0.7924 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3356, allocations: 7.922 kB / 0.7924 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3356, allocations: 4 kB / 0.7924 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3357, allocations: 0 / 0.7924 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.3361, allocations: 191.4 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.3362, allocations: 81.02 kB / 0.7926 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3362, allocations: 8 kB / 0.7927 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3363, allocations: 11.98 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.3364, allocations: 11.92 kB / 0.7927 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.3364, allocations: 4 kB / 0.7927 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.3365, allocations: 87.47 kB / 0.7928 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3365, allocations: 0 / 0.7928 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002159/0.3367, allocations: 8 kB / 0.7928 GB, free: 6.902 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000145/0.3368, allocations: 110.2 kB / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.3372, allocations: 59.95 kB / 0.7929 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3372, allocations: 0 / 0.7929 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3374, allocations: 47.91 kB / 0.793 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3377, allocations: 4.312 kB / 0.793 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3381, allocations: 162.4 kB / 0.7931 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3384, allocations: 0.6809 MB / 0.7938 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.3384, allocations: 15.44 kB / 0.7938 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.3385, allocations: 0 / 0.7938 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.002415/0.3409, allocations: 0.8142 MB / 0.7946 GB, free: 4.957 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.AbsCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.AbsCalcHelperMain.o] Error 1