Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01109/0.01109, allocations: 100.2 kB / 15.87 MB, free: 6.328 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.001829/0.001829, allocations: 193.7 kB / 16.79 MB, free: 6.254 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.863/1.863, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.958/1.958, 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.001506/0.001506, allocations: 68.36 kB / 0.6715 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3614, allocations: 114.5 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.003227/0.3647, allocations: 0.9683 MB / 0.7843 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004461/0.3692, allocations: 2.57 MB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3693, allocations: 3.938 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.39e-05/0.3694, allocations: 7.938 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3698, allocations: 43.67 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.3713, allocations: 425.6 kB / 0.7872 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.3718, allocations: 303.1 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.3719, allocations: 21.89 kB / 0.7876 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.3721, allocations: 131.6 kB / 0.7877 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3723, allocations: 143.5 kB / 0.7878 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.3724, allocations: 12 kB / 0.7878 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.3731, allocations: 303.7 kB / 0.7881 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.3732, allocations: 59.78 kB / 0.7882 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3733, allocations: 107.5 kB / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.3739, allocations: 411 kB / 0.7887 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3739, allocations: 4 kB / 0.7887 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.374, allocations: 0 / 0.7887 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.374, allocations: 0 / 0.7887 GB, free: 8.48 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.001609/0.3756, allocations: 0.6568 MB / 0.7893 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3756, allocations: 12.03 kB / 0.7893 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3758, allocations: 20.66 kB / 0.7893 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.376, allocations: 200.7 kB / 0.7895 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3762, allocations: 127.4 kB / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.3763, allocations: 20.36 kB / 0.7897 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.3767, allocations: 239.9 kB / 0.7899 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3767, allocations: 0 / 0.7899 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3767, allocations: 11.94 kB / 0.7899 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.3768, allocations: 4 kB / 0.7899 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.377, allocations: 115.8 kB / 0.79 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3776, allocations: 391.1 kB / 0.7904 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.3791, allocations: 499.2 kB / 0.7909 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3793, allocations: 162.2 kB / 0.791 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3794, allocations: 8 kB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.38, allocations: 315.4 kB / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.38, allocations: 0 / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009903/0.381, allocations: 409.9 kB / 0.7917 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002704/0.3813, allocations: 354.6 kB / 0.7921 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3815, allocations: 171.2 kB / 0.7922 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.3815, allocations: 41.69 kB / 0.7923 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.3816, allocations: 97.05 kB / 0.7924 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3818, allocations: 114.5 kB / 0.7925 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.382, allocations: 94.22 kB / 0.7926 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3822, allocations: 334.8 kB / 0.7929 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.3825, allocations: 113.1 kB / 0.793 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.3829, allocations: 173 kB / 0.7932 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.3835, allocations: 262.3 kB / 0.7934 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3835, allocations: 128 / 0.7934 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008387/0.3843, allocations: 384.5 kB / 0.7938 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3844, allocations: 8.938 kB / 0.7938 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3844, allocations: 3.938 kB / 0.7938 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.3844, allocations: 4 kB / 0.7938 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.3848, allocations: 83.81 kB / 0.7939 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3849, allocations: 0 / 0.7939 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.3852, allocations: 51.66 kB / 0.7939 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3853, allocations: 19.98 kB / 0.7939 GB, free: 2.504 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.0002489/0.3855, allocations: 163 kB / 0.7941 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.3856, allocations: 31.59 kB / 0.7941 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.3864, allocations: 362 kB / 0.7945 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.3864, allocations: 8 kB / 0.7945 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3865, allocations: 4 kB / 0.7945 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.3865, allocations: 7.984 kB / 0.7945 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.387, allocations: 345.1 kB / 0.7948 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.387, allocations: 7.938 kB / 0.7948 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.3874, allocations: 75.83 kB / 0.7949 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3874, allocations: 8 kB / 0.7949 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3874, allocations: 16 kB / 0.7949 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.3874, allocations: 8.234 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3874, allocations: 7.938 kB / 0.7949 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.3883, allocations: 0.4939 MB / 0.7954 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3885, allocations: 144.6 kB / 0.7956 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.3886, allocations: 19.94 kB / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3888, allocations: 27.97 kB / 0.7956 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.389, allocations: 55.88 kB / 0.7957 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.3891, allocations: 20 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001182/0.3892, allocations: 136.5 kB / 0.7958 GB, free: 468 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3892, allocations: 0 / 0.7958 GB, free: 468 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008001/0.39, allocations: 211.7 kB / 0.796 GB, free: 256 kB / 0.6075 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.0006252/0.3907, allocations: 328.2 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007548/0.3914, allocations: 335.2 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3914, allocations: 0 / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.3918, allocations: 188 kB / 0.7968 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3921, allocations: 35.92 kB / 0.7969 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3935, allocations: 0.6713 MB / 0.7975 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.3941, allocations: 0.7614 MB / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3943, allocations: 51.41 kB / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.3943, allocations: 0 / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.009673/0.404, allocations: 5.219 MB / 0.8034 GB, free: 8.602 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTimeCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTimeCalcHelperMain.o] Error 1