Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00777/0.00777, allocations: 100.7 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.00133/0.00133, allocations: 189 kB / 16.79 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 2.023/2.023, allocations: 205.1 MB / 222.7 MB, free: 4.723 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.899/1.899, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001397/0.001397, allocations: 69.31 kB / 0.6715 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002892/0.3147, allocations: 0.7282 MB / 0.7841 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3162, allocations: 0.8126 MB / 0.7849 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.3163, allocations: 0 / 0.7849 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.3163, allocations: 0 / 0.7849 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3165, allocations: 4 kB / 0.7849 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.3167, allocations: 8 kB / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.3168, allocations: 23.92 kB / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3169, allocations: 8 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.317, allocations: 7.984 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3171, allocations: 11.92 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3171, allocations: 7.984 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.3172, allocations: 0 / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3172, allocations: 0 / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.3172, allocations: 19.88 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.873e-05/0.3173, allocations: 7.969 kB / 0.7849 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.3173, allocations: 4 kB / 0.7849 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3173, allocations: 3.938 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3173, allocations: 0 / 0.785 GB, free: 12.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006607/0.318, allocations: 335.7 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3181, allocations: 8.031 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.3181, allocations: 4.938 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3183, allocations: 168.4 kB / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3184, allocations: 8.375 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3184, allocations: 4.375 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3186, allocations: 42.25 kB / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3186, allocations: 192 / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3186, allocations: 11.92 kB / 0.7855 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3186, allocations: 0 / 0.7855 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3188, allocations: 27.97 kB / 0.7855 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.3192, allocations: 252.8 kB / 0.7858 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3194, allocations: 42.53 kB / 0.7858 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.3195, allocations: 20.91 kB / 0.7858 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3195, allocations: 3.938 kB / 0.7858 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3196, allocations: 38.56 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3196, allocations: 0 / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003755/0.32, allocations: 81.58 kB / 0.786 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.32, allocations: 51.41 kB / 0.786 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.3201, allocations: 105.8 kB / 0.7861 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3202, allocations: 25.7 kB / 0.7861 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.3202, allocations: 84.27 kB / 0.7862 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3203, allocations: 7.906 kB / 0.7862 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3203, allocations: 13.72 kB / 0.7862 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3205, allocations: 314.8 kB / 0.7865 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.3206, allocations: 15.98 kB / 0.7865 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.3206, allocations: 15.98 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3208, allocations: 36.89 kB / 0.7866 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3208, allocations: 0 / 0.7866 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.321, allocations: 77.53 kB / 0.7867 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3211, allocations: 4 kB / 0.7867 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3211, allocations: 0 / 0.7867 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3211, allocations: 4 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3212, allocations: 12.02 kB / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3212, allocations: 0 / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.3213, allocations: 7.984 kB / 0.7867 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3213, allocations: 0 / 0.7867 GB, free: 10.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.189e-05/0.3214, allocations: 117.7 kB / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.3214, allocations: 0 / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3217, allocations: 76.72 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3217, allocations: 4 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3217, allocations: 0 / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3217, allocations: 0 / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.3218, allocations: 161.6 kB / 0.787 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3219, allocations: 4 kB / 0.787 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.3219, allocations: 8 kB / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3219, allocations: 3.984 kB / 0.7871 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3219, allocations: 0 / 0.7871 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3219, allocations: 0 / 0.7871 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.322, allocations: 0 / 0.7871 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3222, allocations: 175.3 kB / 0.7872 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.3223, allocations: 81.05 kB / 0.7873 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3223, allocations: 4.125 kB / 0.7873 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3224, allocations: 7.984 kB / 0.7873 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3224, allocations: 7.984 kB / 0.7873 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3224, allocations: 4.031 kB / 0.7873 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.3225, allocations: 79.28 kB / 0.7874 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3225, allocations: 0 / 0.7874 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002102/0.3227, allocations: 8 kB / 0.7874 GB, free: 9.492 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 (2): * Single equations (assignments): 2 * 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.000182/0.3229, allocations: 99.23 kB / 0.7875 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3231, allocations: 31.97 kB / 0.7875 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3231, allocations: 4.062 kB / 0.7875 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.3232, allocations: 15.98 kB / 0.7876 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3235, allocations: 23.09 kB / 0.7876 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.3239, allocations: 133 kB / 0.7877 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3242, allocations: 0.677 MB / 0.7884 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.3242, allocations: 11.5 kB / 0.7884 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3242, allocations: 0 / 0.7884 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.001895/0.3261, allocations: 0.5293 MB / 0.7889 GB, free: 7.91 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.TanCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.TanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.TanCalcHelperMain.o] Error 1