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.0008091/0.0008095, allocations: 99.27 kB / 16.02 MB, free: 76 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.0009391/0.0009392, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.82/1.82, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.822/1.822, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0008469/0.0008471, allocations: 11.06 kB / 0.675 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.288, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001161/0.2893, allocations: 0.614 MB / 0.7892 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2926, allocations: 2.547 MB / 0.7916 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.2927, allocations: 0 / 0.7916 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.2927, allocations: 11.86 kB / 0.7917 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.293, allocations: 39.75 kB / 0.7917 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.2938, allocations: 418.9 kB / 0.7921 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2941, allocations: 303.1 kB / 0.7924 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.2942, allocations: 17.94 kB / 0.7924 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2944, allocations: 135.6 kB / 0.7925 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.2946, allocations: 143.5 kB / 0.7927 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2947, allocations: 12 kB / 0.7927 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.2952, allocations: 303.7 kB / 0.793 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.2952, allocations: 55.8 kB / 0.793 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2954, allocations: 137.2 kB / 0.7932 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.2959, allocations: 407 kB / 0.7935 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2959, allocations: 0 / 0.7935 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2959, allocations: 4 kB / 0.7935 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2959, allocations: 0 / 0.7935 GB, free: 6.426 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.001318/0.2972, allocations: 0.6217 MB / 0.7942 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2973, allocations: 12.03 kB / 0.7942 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.2973, allocations: 24.67 kB / 0.7942 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.2975, allocations: 200.6 kB / 0.7944 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.2977, allocations: 127.3 kB / 0.7945 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.2977, allocations: 20.38 kB / 0.7945 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.2981, allocations: 247.9 kB / 0.7948 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2981, allocations: 3.938 kB / 0.7948 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2982, allocations: 8 kB / 0.7948 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2982, allocations: 4 kB / 0.7948 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2984, allocations: 123.8 kB / 0.7949 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.2989, allocations: 391.2 kB / 0.7953 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3003, allocations: 495.3 kB / 0.7957 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.3005, allocations: 150.3 kB / 0.7959 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.3006, allocations: 11.98 kB / 0.7959 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.3011, allocations: 319.4 kB / 0.7962 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.3011, allocations: 0 / 0.7962 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.000809/0.3019, allocations: 414.1 kB / 0.7966 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.3021, allocations: 350.2 kB / 0.7969 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3023, allocations: 175.2 kB / 0.7971 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.3023, allocations: 37.7 kB / 0.7971 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.3024, allocations: 97.12 kB / 0.7972 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.3025, allocations: 102.5 kB / 0.7973 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.3026, allocations: 53.69 kB / 0.7974 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3027, allocations: 338.8 kB / 0.7977 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.303, allocations: 113.1 kB / 0.7978 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.3033, allocations: 169 kB / 0.798 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3039, allocations: 270.1 kB / 0.7982 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3039, allocations: 0 / 0.7982 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007888/0.3047, allocations: 385.1 kB / 0.7986 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3047, allocations: 4 kB / 0.7986 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3047, allocations: 4.938 kB / 0.7986 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3047, allocations: 0 / 0.7986 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3051, allocations: 83.88 kB / 0.7987 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3051, allocations: 4 kB / 0.7987 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3054, allocations: 59.66 kB / 0.7987 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3055, allocations: 19.98 kB / 0.7988 GB, free: 0.5078 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.3057, allocations: 157.6 kB / 0.7989 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.3057, allocations: 31.64 kB / 0.7989 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.3064, allocations: 358.1 kB / 0.7993 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3064, allocations: 8 kB / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3064, allocations: 4 kB / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3065, allocations: 7.984 kB / 0.7993 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.3069, allocations: 349 kB / 0.7996 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.3069, allocations: 15.81 kB / 0.7996 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3072, allocations: 67.91 kB / 0.7997 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.3072, allocations: 8 kB / 0.7997 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.3072, allocations: 19.98 kB / 0.7997 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3072, allocations: 7.938 kB / 0.7997 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3072, allocations: 7.938 kB / 0.7997 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.308, allocations: 0.4902 MB / 0.8002 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3081, allocations: 152.6 kB / 0.8004 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3082, allocations: 19.98 kB / 0.8004 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.3085, allocations: 35.97 kB / 0.8004 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3086, allocations: 55.88 kB / 0.8005 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.3086, allocations: 20 kB / 0.8005 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3087, allocations: 136.5 kB / 0.8006 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3087, allocations: 0 / 0.8006 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005886/0.3093, allocations: 211.7 kB / 0.8008 GB, free: 14.24 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 (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.0005244/0.3099, allocations: 325.1 kB / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.3105, allocations: 333.5 kB / 0.8015 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3105, allocations: 4 kB / 0.8015 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.3108, allocations: 187.7 kB / 0.8016 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3111, allocations: 31.98 kB / 0.8017 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3122, allocations: 0.6777 MB / 0.8023 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3126, allocations: 0.7614 MB / 0.8031 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3127, allocations: 47.42 kB / 0.8031 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3127, allocations: 0 / 0.8031 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.007801/0.3205, allocations: 5.207 MB / 0.8082 GB, free: 6.605 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++ -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.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