Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008483, allocations: 92.08 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.001161/0.001161, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.901/1.901, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.91/1.91, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.000592/0.0005921, allocations: 17.47 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001146/0.3336, allocations: 429.4 kB / 0.789 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3349, allocations: 0.8371 MB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.335, allocations: 0 / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.3351, allocations: 3.938 kB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3352, allocations: 4 kB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3354, allocations: 27.86 kB / 0.7898 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3355, allocations: 43.95 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3357, allocations: 12 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3358, allocations: 15.86 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.3359, allocations: 23.91 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3359, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3359, allocations: 4 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3359, allocations: 7.984 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.336, allocations: 49.56 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.3361, allocations: 31.94 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3361, allocations: 3.938 kB / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3361, allocations: 0 / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3361, allocations: 0 / 0.79 GB, free: 10.06 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.0006169/0.3368, allocations: 351.7 kB / 0.7903 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.3368, allocations: 12.03 kB / 0.7903 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.3369, allocations: 8.844 kB / 0.7903 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3371, allocations: 172.3 kB / 0.7905 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3372, allocations: 4.359 kB / 0.7905 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3372, allocations: 4.375 kB / 0.7905 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3375, allocations: 74.16 kB / 0.7906 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3375, allocations: 192 / 0.7906 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3375, allocations: 7.938 kB / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.3376, allocations: 0 / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.3378, allocations: 59.95 kB / 0.7907 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.3384, allocations: 292.7 kB / 0.7909 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3386, allocations: 82.41 kB / 0.791 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3387, allocations: 32.91 kB / 0.791 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3388, allocations: 0 / 0.791 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3388, allocations: 38.56 kB / 0.7911 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3388, allocations: 0 / 0.7911 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000515/0.3393, allocations: 121.6 kB / 0.7912 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3394, allocations: 55.34 kB / 0.7913 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3395, allocations: 109.8 kB / 0.7914 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3395, allocations: 25.7 kB / 0.7914 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.3396, allocations: 92.03 kB / 0.7915 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3397, allocations: 11.91 kB / 0.7915 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.3397, allocations: 9.719 kB / 0.7915 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3398, allocations: 310.8 kB / 0.7918 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.34, allocations: 39.97 kB / 0.7918 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3401, allocations: 23.98 kB / 0.7918 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.3403, allocations: 68.75 kB / 0.7919 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3403, allocations: 0 / 0.7919 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002668/0.3406, allocations: 101.5 kB / 0.792 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3406, allocations: 8 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3406, allocations: 4 kB / 0.792 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3406, allocations: 0 / 0.792 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3408, allocations: 11.98 kB / 0.792 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3408, allocations: 4.312 kB / 0.792 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.3409, allocations: 7.984 kB / 0.792 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3409, allocations: 4 kB / 0.792 GB, free: 7.73 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,intLesThr.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.0001181/0.341, allocations: 117.7 kB / 0.7922 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3411, allocations: 11.98 kB / 0.7922 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.3411, allocations: 7.844 kB / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3411, allocations: 0 / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3411, allocations: 0 / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3411, allocations: 4 kB / 0.7922 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3414, allocations: 181.6 kB / 0.7924 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3414, allocations: 0 / 0.7924 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.461e-05/0.3415, allocations: 19.92 kB / 0.7924 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3415, allocations: 0 / 0.7924 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3415, allocations: 4 kB / 0.7924 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.3415, allocations: 3.984 kB / 0.7924 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3415, allocations: 0 / 0.7924 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.3419, allocations: 203.6 kB / 0.7926 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3419, allocations: 77.11 kB / 0.7926 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3419, allocations: 0 / 0.7926 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3421, allocations: 15.98 kB / 0.7927 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3421, allocations: 16.02 kB / 0.7927 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3422, allocations: 4 kB / 0.7927 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.3422, allocations: 87.27 kB / 0.7928 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 0 / 0.7928 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.3424, allocations: 8 kB / 0.7928 GB, free: 6.883 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 (intLesThr.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.0001729/0.3426, allocations: 99.25 kB / 0.7929 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3429, allocations: 71.88 kB / 0.7929 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.343, allocations: 0 / 0.7929 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3431, allocations: 35.98 kB / 0.793 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3434, allocations: 21.2 kB / 0.793 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3439, allocations: 170.3 kB / 0.7932 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3441, allocations: 0.6848 MB / 0.7938 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.3442, allocations: 11.44 kB / 0.7938 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of SimCode: time 6.82e-07/0.3442, allocations: 0 / 0.7938 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.002507/0.3467, allocations: 0.8013 MB / 0.7946 GB, free: 4.938 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThresholdCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThresholdCalcHelperMain.o] Error 1