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.001141/0.00115, allocations: 96.14 kB / 15.87 MB, free: 16 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.00126/0.00126, allocations: 191.9 kB / 16.79 MB, free: 6.812 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.812/1.812, allocations: 205.1 MB / 222.6 MB, free: 5.016 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.811/1.811, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001456/0.001455, allocations: 65.38 kB / 0.6715 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.327, allocations: 114.6 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00297/0.3301, allocations: 0.9567 MB / 0.7843 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.3339, allocations: 2.57 MB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.334, allocations: 0 / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.025e-05/0.3341, allocations: 15.86 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.3345, allocations: 39.69 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3356, allocations: 426.8 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.336, allocations: 303.1 kB / 0.7875 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.3361, allocations: 17.95 kB / 0.7876 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.3363, allocations: 123.6 kB / 0.7877 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3366, allocations: 151.5 kB / 0.7878 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.3366, allocations: 12 kB / 0.7878 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.3373, allocations: 303.7 kB / 0.7881 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.3373, allocations: 55.8 kB / 0.7882 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.3375, allocations: 111.5 kB / 0.7883 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.3381, allocations: 407 kB / 0.7887 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3381, allocations: 0 / 0.7887 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3381, allocations: 0 / 0.7887 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3381, allocations: 0 / 0.7887 GB, free: 8.555 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.001511/0.3396, allocations: 0.6607 MB / 0.7893 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3397, allocations: 12.03 kB / 0.7893 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.14e-05/0.3398, allocations: 24.73 kB / 0.7893 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.34, allocations: 201.8 kB / 0.7895 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3401, allocations: 127.3 kB / 0.7897 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.3402, allocations: 20.38 kB / 0.7897 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.3406, allocations: 243.9 kB / 0.7899 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3406, allocations: 3.938 kB / 0.7899 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.3406, allocations: 12 kB / 0.7899 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3407, allocations: 4 kB / 0.7899 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.3409, allocations: 115.8 kB / 0.79 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.3414, allocations: 391.2 kB / 0.7904 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3429, allocations: 495.2 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.3432, allocations: 154.3 kB / 0.791 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.3432, allocations: 15.97 kB / 0.791 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.3438, allocations: 311.5 kB / 0.7913 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.3438, allocations: 0 / 0.7913 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008422/0.3447, allocations: 416.9 kB / 0.7917 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003028/0.345, allocations: 350.1 kB / 0.7921 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3452, allocations: 167.3 kB / 0.7922 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.3452, allocations: 37.7 kB / 0.7923 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3454, allocations: 101.5 kB / 0.7924 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3455, allocations: 114.5 kB / 0.7925 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3456, allocations: 98.12 kB / 0.7926 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3458, allocations: 338.8 kB / 0.7929 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3461, allocations: 109.1 kB / 0.793 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3464, allocations: 174 kB / 0.7932 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.3469, allocations: 267.2 kB / 0.7934 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.347, allocations: 3.938 kB / 0.7934 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007516/0.3477, allocations: 384.2 kB / 0.7938 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3477, allocations: 4 kB / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3478, allocations: 0 / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3478, allocations: 4 kB / 0.7938 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.3482, allocations: 79.88 kB / 0.7939 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3482, allocations: 4 kB / 0.7939 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3485, allocations: 55.56 kB / 0.7939 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.3486, allocations: 19.98 kB / 0.7939 GB, free: 2.562 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.0001902/0.3488, allocations: 159.1 kB / 0.7941 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.3489, allocations: 31.72 kB / 0.7941 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.3496, allocations: 358 kB / 0.7945 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3497, allocations: 8 kB / 0.7945 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.3497, allocations: 4 kB / 0.7945 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3497, allocations: 11.92 kB / 0.7945 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.3502, allocations: 345.1 kB / 0.7948 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3503, allocations: 7.938 kB / 0.7948 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3506, allocations: 67.91 kB / 0.7949 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.3506, allocations: 8 kB / 0.7949 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.3507, allocations: 19.98 kB / 0.7949 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3507, allocations: 7.938 kB / 0.7949 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3507, allocations: 7.938 kB / 0.7949 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.3516, allocations: 0.4902 MB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3518, allocations: 148.6 kB / 0.7956 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3518, allocations: 23.92 kB / 0.7956 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3521, allocations: 23.98 kB / 0.7956 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3522, allocations: 51.88 kB / 0.7957 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.3523, allocations: 23.98 kB / 0.7957 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001499/0.3524, allocations: 132.5 kB / 0.7958 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3524, allocations: 7.938 kB / 0.7958 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007743/0.3532, allocations: 211.7 kB / 0.796 GB, free: 320 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.0007333/0.354, allocations: 329 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007662/0.3547, allocations: 331.2 kB / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3548, allocations: 0 / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.3551, allocations: 184.2 kB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3555, allocations: 40.02 kB / 0.7969 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3568, allocations: 0.6701 MB / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3573, allocations: 0.7614 MB / 0.7983 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3575, allocations: 51.41 kB / 0.7983 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3575, allocations: 0 / 0.7983 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of Templates: time 0.009579/0.3671, allocations: 5.22 MB / 0.8034 GB, free: 8.66 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