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.0008128/0.0008129, allocations: 102.4 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.0009713/0.0009714, allocations: 176.7 kB / 16.59 MB, free: 6.402 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.77/1.77, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.807/1.807, allocations: 292.7 MB / 0.5505 GB, free: 14.59 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.0005444/0.0005445, allocations: 21.22 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3231, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001235/0.3244, allocations: 0.5987 MB / 0.7885 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.3284, allocations: 2.4 MB / 0.7909 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3286, allocations: 0 / 0.7909 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.3287, allocations: 11.88 kB / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.329, allocations: 47.69 kB / 0.7909 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3306, allocations: 402.8 kB / 0.7913 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.331, allocations: 271.1 kB / 0.7916 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.3312, allocations: 13.97 kB / 0.7916 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.3314, allocations: 131.6 kB / 0.7917 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.3318, allocations: 139.6 kB / 0.7918 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.3318, allocations: 12 kB / 0.7918 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.3327, allocations: 287.7 kB / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.3328, allocations: 51.86 kB / 0.7922 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3329, allocations: 61.58 kB / 0.7922 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.3336, allocations: 414.9 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3337, allocations: 4 kB / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3337, allocations: 0 / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3337, allocations: 3.938 kB / 0.7926 GB, free: 7.121 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.001869/0.3356, allocations: 0.6255 MB / 0.7932 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.3357, allocations: 8.031 kB / 0.7933 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.3358, allocations: 19.81 kB / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.336, allocations: 199.4 kB / 0.7935 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.3363, allocations: 126.8 kB / 0.7936 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3363, allocations: 20 kB / 0.7936 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.3369, allocations: 235.8 kB / 0.7938 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3369, allocations: 7.922 kB / 0.7938 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.337, allocations: 8 kB / 0.7938 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.337, allocations: 7.938 kB / 0.7938 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3374, allocations: 107.8 kB / 0.794 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.3381, allocations: 411.1 kB / 0.7943 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.3401, allocations: 495.3 kB / 0.7948 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.3405, allocations: 146.3 kB / 0.795 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/0.3406, allocations: 15.98 kB / 0.795 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006877/0.3413, allocations: 315.5 kB / 0.7953 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 3.367e-06/0.3413, allocations: 0 / 0.7953 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001196/0.3425, allocations: 406.5 kB / 0.7957 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.3427, allocations: 354.1 kB / 0.796 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.343, allocations: 167.2 kB / 0.7962 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.343, allocations: 41.7 kB / 0.7962 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.3431, allocations: 93.62 kB / 0.7963 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.3433, allocations: 114.5 kB / 0.7964 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3433, allocations: 12 kB / 0.7964 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3435, allocations: 338.8 kB / 0.7967 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3439, allocations: 109.1 kB / 0.7968 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.3443, allocations: 169.1 kB / 0.797 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.3448, allocations: 123.3 kB / 0.7971 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3448, allocations: 0 / 0.7971 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001051/0.3458, allocations: 372.5 kB / 0.7975 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3459, allocations: 4 kB / 0.7975 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3459, allocations: 4 kB / 0.7975 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3459, allocations: 3.984 kB / 0.7975 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.3465, allocations: 75.88 kB / 0.7976 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.3465, allocations: 7.938 kB / 0.7976 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.3469, allocations: 63.56 kB / 0.7976 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.347, allocations: 19.98 kB / 0.7976 GB, free: 1.426 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.0002419/0.3472, allocations: 162.4 kB / 0.7978 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.3473, allocations: 23.8 kB / 0.7978 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/0.3483, allocations: 361.9 kB / 0.7982 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.3483, allocations: 8 kB / 0.7982 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.3483, allocations: 11.88 kB / 0.7982 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.3484, allocations: 7.984 kB / 0.7982 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.3489, allocations: 353.1 kB / 0.7985 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3489, allocations: 4 kB / 0.7985 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.3494, allocations: 75.89 kB / 0.7986 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.3494, allocations: 4 kB / 0.7986 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.3495, allocations: 12 kB / 0.7986 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.3495, allocations: 7.938 kB / 0.7986 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3495, allocations: 4 kB / 0.7986 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3505, allocations: 0.4902 MB / 0.7991 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.3508, allocations: 156.6 kB / 0.7993 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.3509, allocations: 16 kB / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3512, allocations: 39.97 kB / 0.7993 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3514, allocations: 56.02 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.3515, allocations: 20 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001468/0.3516, allocations: 132.5 kB / 0.7995 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3516, allocations: 0 / 0.7995 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001021/0.3527, allocations: 223.7 kB / 0.7997 GB, free: 15.16 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.0007633/0.3535, allocations: 317 kB / 0.8 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009439/0.3544, allocations: 324.9 kB / 0.8003 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3544, allocations: 8 kB / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.3549, allocations: 175.7 kB / 0.8005 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3553, allocations: 36.11 kB / 0.8005 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3567, allocations: 0.6651 MB / 0.8012 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.3573, allocations: 0.7652 MB / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3574, allocations: 47.41 kB / 0.802 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.3575, allocations: 0 / 0.802 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.01231/0.3698, allocations: 5.193 MB / 0.8071 GB, free: 7.562 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++ 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.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