Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.0009211, allocations: 102.6 kB / 15.71 MB, free: 460 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.001176/0.001176, allocations: 175 kB / 16.58 MB, free: 5.969 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.838/1.838, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.965/1.965, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005828/0.0005829, allocations: 17.12 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 116.3 MB / 0.7879 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001067/0.3006, allocations: 0.591 MB / 0.7885 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.3033, allocations: 2.404 MB / 0.7909 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3034, allocations: 0 / 0.7909 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.3034, allocations: 7.875 kB / 0.7909 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3037, allocations: 43.69 kB / 0.7909 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.3044, allocations: 406.8 kB / 0.7913 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3047, allocations: 275.1 kB / 0.7916 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.3048, allocations: 17.89 kB / 0.7916 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.305, allocations: 131.6 kB / 0.7917 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3052, allocations: 139.6 kB / 0.7918 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3052, allocations: 19.94 kB / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.3057, allocations: 279.8 kB / 0.7921 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.3058, allocations: 55.86 kB / 0.7922 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.3058, allocations: 65.58 kB / 0.7922 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3063, allocations: 410.9 kB / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3063, allocations: 0 / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3063, allocations: 4 kB / 0.7926 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3063, allocations: 0 / 0.7926 GB, free: 7.055 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001182/0.3075, allocations: 0.6216 MB / 0.7932 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3075, allocations: 8.031 kB / 0.7933 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.3076, allocations: 19.81 kB / 0.7933 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3078, allocations: 199.4 kB / 0.7935 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.3079, allocations: 126.8 kB / 0.7936 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.308, allocations: 24 kB / 0.7936 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.3083, allocations: 231.8 kB / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3084, allocations: 7.938 kB / 0.7938 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3084, allocations: 4 kB / 0.7938 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3084, allocations: 4 kB / 0.7938 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.3086, allocations: 111.8 kB / 0.7939 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.3091, allocations: 407.1 kB / 0.7943 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3104, allocations: 0.4914 MB / 0.7948 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3106, allocations: 154.3 kB / 0.795 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.3107, allocations: 7.984 kB / 0.795 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.3111, allocations: 311.5 kB / 0.7953 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.3111, allocations: 4 kB / 0.7953 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007719/0.3119, allocations: 405.8 kB / 0.7957 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.3121, allocations: 350.1 kB / 0.796 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3122, allocations: 175.2 kB / 0.7962 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.3123, allocations: 38.2 kB / 0.7962 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3124, allocations: 97.14 kB / 0.7963 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.3125, allocations: 110.4 kB / 0.7964 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.3125, allocations: 12 kB / 0.7964 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3126, allocations: 330.8 kB / 0.7967 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.3129, allocations: 117 kB / 0.7968 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3131, allocations: 169 kB / 0.797 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3134, allocations: 122.8 kB / 0.7971 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3135, allocations: 0 / 0.7971 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007048/0.3142, allocations: 367.8 kB / 0.7975 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3142, allocations: 8 kB / 0.7975 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3142, allocations: 3.938 kB / 0.7975 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3142, allocations: 4 kB / 0.7975 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.3146, allocations: 76 kB / 0.7975 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3146, allocations: 11.94 kB / 0.7976 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3149, allocations: 63.56 kB / 0.7976 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.315, allocations: 19.98 kB / 0.7976 GB, free: 1.359 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.3151, allocations: 159.1 kB / 0.7978 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3152, allocations: 23.8 kB / 0.7978 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/0.3159, allocations: 369.9 kB / 0.7982 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3159, allocations: 8 kB / 0.7982 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.3159, allocations: 8 kB / 0.7982 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.316, allocations: 3.984 kB / 0.7982 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3163, allocations: 353.1 kB / 0.7985 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3164, allocations: 3.938 kB / 0.7985 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.3166, allocations: 67.91 kB / 0.7986 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.3166, allocations: 11.98 kB / 0.7986 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3167, allocations: 12 kB / 0.7986 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3167, allocations: 11.94 kB / 0.7986 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3167, allocations: 4 kB / 0.7986 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.3174, allocations: 0.4981 MB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3176, allocations: 144.6 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.3176, allocations: 19.98 kB / 0.7993 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3179, allocations: 35.97 kB / 0.7993 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.318, allocations: 59.83 kB / 0.7994 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.318, allocations: 20 kB / 0.7994 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3182, allocations: 132.5 kB / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3182, allocations: 0 / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006074/0.3188, allocations: 215.7 kB / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/0.3193, allocations: 316.9 kB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.3199, allocations: 331.2 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3199, allocations: 0 / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.3202, allocations: 188.1 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3205, allocations: 34.61 kB / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.3215, allocations: 0.6699 MB / 0.8012 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3218, allocations: 0.7574 MB / 0.8019 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.322, allocations: 47.41 kB / 0.802 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.322, allocations: 4 kB / 0.802 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.007879/0.3299, allocations: 5.196 MB / 0.8071 GB, free: 7.496 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTimeCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTimeCalcHelperMain.o] Error 1