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.0008655/0.0008655, allocations: 91.53 kB / 16.02 MB, free: 80 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.001282/0.001282, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.809/1.809, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.804/1.804, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005863/0.0005868, allocations: 16.3 kB / 0.675 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3143, allocations: 116.3 MB / 0.7885 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001324/0.3157, allocations: 0.6178 MB / 0.7892 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.3191, allocations: 2.543 MB / 0.7916 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.3192, allocations: 7.938 kB / 0.7916 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.3193, allocations: 3.938 kB / 0.7916 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3195, allocations: 43.67 kB / 0.7917 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3206, allocations: 426.1 kB / 0.7921 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.3209, allocations: 303.1 kB / 0.7924 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.321, allocations: 13.95 kB / 0.7924 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.3212, allocations: 135.6 kB / 0.7925 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3215, allocations: 143.5 kB / 0.7927 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3215, allocations: 12 kB / 0.7927 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.3221, allocations: 299.8 kB / 0.793 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3222, allocations: 59.78 kB / 0.793 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.3223, allocations: 137.2 kB / 0.7931 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.3229, allocations: 411 kB / 0.7935 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.3229, allocations: 0 / 0.7935 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3229, allocations: 3.938 kB / 0.7935 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3229, allocations: 4 kB / 0.7935 GB, free: 6.395 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.00149/0.3244, allocations: 0.6217 MB / 0.7942 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3245, allocations: 8.031 kB / 0.7942 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.3246, allocations: 20.75 kB / 0.7942 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3248, allocations: 192.7 kB / 0.7944 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.3249, allocations: 131.2 kB / 0.7945 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.325, allocations: 28.36 kB / 0.7945 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.3254, allocations: 239.9 kB / 0.7947 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3254, allocations: 0 / 0.7947 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3255, allocations: 11.98 kB / 0.7948 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3255, allocations: 4 kB / 0.7948 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.3257, allocations: 119.7 kB / 0.7949 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.3263, allocations: 395.2 kB / 0.7953 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3277, allocations: 495.3 kB / 0.7957 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.328, allocations: 154.3 kB / 0.7959 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.328, allocations: 12 kB / 0.7959 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.3285, allocations: 311.5 kB / 0.7962 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.3285, allocations: 0 / 0.7962 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008876/0.3294, allocations: 422.4 kB / 0.7966 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/0.3297, allocations: 354.6 kB / 0.7969 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3298, allocations: 171.3 kB / 0.7971 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.3299, allocations: 41.69 kB / 0.7971 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.33, allocations: 97.05 kB / 0.7972 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3301, allocations: 106.5 kB / 0.7973 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.3302, allocations: 53.69 kB / 0.7974 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3303, allocations: 330.8 kB / 0.7977 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.3306, allocations: 121.1 kB / 0.7978 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.3309, allocations: 165 kB / 0.798 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.3315, allocations: 266 kB / 0.7982 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3315, allocations: 8 kB / 0.7982 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007614/0.3323, allocations: 376.3 kB / 0.7986 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.3323, allocations: 8 kB / 0.7986 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3323, allocations: 0 / 0.7986 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3324, allocations: 4 kB / 0.7986 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.3327, allocations: 79.81 kB / 0.7987 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3328, allocations: 4 kB / 0.7987 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.3331, allocations: 59.66 kB / 0.7987 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3331, allocations: 23.98 kB / 0.7988 GB, free: 492 kB / 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.000182/0.3333, allocations: 154.4 kB / 0.7989 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.3334, allocations: 27.66 kB / 0.7989 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.3341, allocations: 358.1 kB / 0.7993 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.3341, allocations: 8 kB / 0.7993 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3341, allocations: 4 kB / 0.7993 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3341, allocations: 7.984 kB / 0.7993 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.3345, allocations: 349 kB / 0.7996 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3346, allocations: 12.38 kB / 0.7996 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.3349, allocations: 79.83 kB / 0.7997 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3349, allocations: 4 kB / 0.7997 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.3349, allocations: 23.98 kB / 0.7997 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3349, allocations: 7.938 kB / 0.7997 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3349, allocations: 4 kB / 0.7997 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.3357, allocations: 493.9 kB / 0.8002 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.3358, allocations: 152.5 kB / 0.8004 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3359, allocations: 20 kB / 0.8004 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3362, allocations: 39.97 kB / 0.8004 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3363, allocations: 51.81 kB / 0.8005 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.3364, allocations: 27.98 kB / 0.8005 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3365, allocations: 132.5 kB / 0.8006 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3365, allocations: 0 / 0.8006 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006946/0.3372, allocations: 211.7 kB / 0.8008 GB, free: 14.22 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.000585/0.3378, allocations: 329.1 kB / 0.8011 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.3384, allocations: 334.8 kB / 0.8015 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3384, allocations: 0 / 0.8015 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3387, allocations: 192.5 kB / 0.8016 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3391, allocations: 30.95 kB / 0.8017 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3402, allocations: 0.6808 MB / 0.8023 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3406, allocations: 0.7652 MB / 0.8031 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3407, allocations: 47.41 kB / 0.8031 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.3407, allocations: 0 / 0.8031 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of Templates: time 0.009326/0.3501, allocations: 5.205 MB / 0.8082 GB, free: 6.578 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