Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 96.14 kB / 15.87 MB, free: 16 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.00163/0.00163, allocations: 193.8 kB / 16.79 MB, free: 6.812 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.812/1.812, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.865/1.865, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001959/0.001959, allocations: 69 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, 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.Less): time 0.003662/0.3248, allocations: 2.007 MB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3266, allocations: 1.015 MB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3267, allocations: 4 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.3272, allocations: 103.6 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3274, allocations: 83.7 kB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3278, allocations: 115.8 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3281, allocations: 191.5 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.3283, allocations: 65.86 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3284, allocations: 79.58 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3286, allocations: 103.5 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3286, allocations: 4 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3287, allocations: 63.95 kB / 0.7871 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.3288, allocations: 47.83 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.3289, allocations: 79.41 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3292, allocations: 227.4 kB / 0.7874 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3292, allocations: 0 / 0.7874 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3293, allocations: 0 / 0.7874 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3293, allocations: 0 / 0.7874 GB, free: 9.789 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009036/0.3302, allocations: 0.5334 MB / 0.7879 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3302, allocations: 12.03 kB / 0.7879 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.3303, allocations: 24.56 kB / 0.788 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.3307, allocations: 299.8 kB / 0.7883 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3308, allocations: 4.375 kB / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3308, allocations: 15.88 kB / 0.7883 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.331, allocations: 94.58 kB / 0.7884 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3311, allocations: 0 / 0.7884 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3311, allocations: 4 kB / 0.7884 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3311, allocations: 8 kB / 0.7884 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3312, allocations: 47.97 kB / 0.7884 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.332, allocations: 444.3 kB / 0.7888 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3322, allocations: 78.67 kB / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.3323, allocations: 36.72 kB / 0.789 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3323, allocations: 0 / 0.789 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3325, allocations: 83.36 kB / 0.789 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.003e-06/0.3325, allocations: 4 kB / 0.789 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003408/0.3329, allocations: 125.5 kB / 0.7892 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3329, allocations: 59.34 kB / 0.7892 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.3333, allocations: 370.8 kB / 0.7896 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3333, allocations: 29.7 kB / 0.7896 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3335, allocations: 140 kB / 0.7897 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3335, allocations: 23.78 kB / 0.7898 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.3336, allocations: 41.64 kB / 0.7898 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3337, allocations: 338.8 kB / 0.7901 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3338, allocations: 59.89 kB / 0.7902 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.334, allocations: 80.28 kB / 0.7903 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3342, allocations: 92.64 kB / 0.7903 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3342, allocations: 0 / 0.7903 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003405/0.3345, allocations: 193.2 kB / 0.7905 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3345, allocations: 4 kB / 0.7905 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3345, allocations: 4.031 kB / 0.7905 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3346, allocations: 4 kB / 0.7905 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3347, allocations: 31.92 kB / 0.7906 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3347, allocations: 4 kB / 0.7906 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3348, allocations: 11.92 kB / 0.7906 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3349, allocations: 8 kB / 0.7906 GB, free: 6.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001455/0.335, allocations: 146.5 kB / 0.7907 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3351, allocations: 31.64 kB / 0.7908 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.3351, allocations: 29.73 kB / 0.7908 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3351, allocations: 4 kB / 0.7908 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3351, allocations: 0 / 0.7908 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3351, allocations: 3.984 kB / 0.7908 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3354, allocations: 241.5 kB / 0.791 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3354, allocations: 3.984 kB / 0.791 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.3354, allocations: 11.88 kB / 0.791 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3354, allocations: 0 / 0.791 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3355, allocations: 4 kB / 0.791 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3355, allocations: 0 / 0.791 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3355, allocations: 4 kB / 0.791 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3357, allocations: 124.9 kB / 0.7912 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.3358, allocations: 108.8 kB / 0.7913 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3358, allocations: 0 / 0.7913 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.3359, allocations: 15.98 kB / 0.7913 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.336, allocations: 7.984 kB / 0.7913 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.336, allocations: 7.938 kB / 0.7913 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002348/0.3363, allocations: 237.9 kB / 0.7915 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3363, allocations: 0 / 0.7915 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002715/0.3365, allocations: 43.84 kB / 0.7916 GB, free: 5.207 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001075/0.3376, allocations: 421.7 kB / 0.792 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3379, allocations: 99.95 kB / 0.7921 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3379, allocations: 0 / 0.7921 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.338, allocations: 35.98 kB / 0.7921 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3383, allocations: 59.62 kB / 0.7922 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/0.3391, allocations: 466.8 kB / 0.7926 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3394, allocations: 0.7479 MB / 0.7933 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.3394, allocations: 23.42 kB / 0.7934 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3394, allocations: 0 / 0.7934 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of Templates: time 0.005436/0.3449, allocations: 3.069 MB / 0.7964 GB, free: 420 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.LessCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessCalcHelperMain.o] Error 1