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.001879/0.001879, allocations: 109.4 kB / 15.69 MB, free: 128 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.001897/0.001897, allocations: 185.6 kB / 16.62 MB, free: 6.613 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.73/1.73, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.815/1.815, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001465/0.001465, allocations: 67.56 kB / 0.6723 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3042, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002341/0.3066, allocations: 0.9111 MB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.31, allocations: 2.511 MB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3101, allocations: 4 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.3102, allocations: 15.81 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3105, allocations: 51.55 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3118, allocations: 0.4905 MB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.3121, allocations: 323 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.3122, allocations: 13.67 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.3125, allocations: 139.7 kB / 0.7885 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3127, allocations: 151.5 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.3128, allocations: 27.94 kB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.3134, allocations: 371.7 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.3135, allocations: 71.78 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3137, allocations: 115.5 kB / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.3144, allocations: 0.5455 MB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3145, allocations: 0 / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3145, allocations: 4 kB / 0.7897 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.3145, allocations: 0 / 0.7897 GB, free: 6.992 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.001686/0.3162, allocations: 0.6606 MB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.3163, allocations: 12.02 kB / 0.7904 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3164, allocations: 24.66 kB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3166, allocations: 188.8 kB / 0.7906 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3168, allocations: 131.4 kB / 0.7907 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.3169, allocations: 20.38 kB / 0.7907 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.3174, allocations: 243.8 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3174, allocations: 4 kB / 0.791 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3175, allocations: 0 / 0.791 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3175, allocations: 7.984 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.3178, allocations: 119.7 kB / 0.7911 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.3184, allocations: 391.1 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3202, allocations: 495.3 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.3205, allocations: 158.3 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.3205, allocations: 15.92 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.3213, allocations: 323.5 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 3.005e-06/0.3213, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001092/0.3224, allocations: 410.5 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/0.3227, allocations: 350.1 kB / 0.7931 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3228, allocations: 169.8 kB / 0.7933 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.3229, allocations: 49.64 kB / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.323, allocations: 101 kB / 0.7934 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3231, allocations: 106.5 kB / 0.7935 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3232, allocations: 98.22 kB / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3234, allocations: 330.8 kB / 0.7939 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.3237, allocations: 113.1 kB / 0.794 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.324, allocations: 172.9 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.3246, allocations: 261.9 kB / 0.7945 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3246, allocations: 0 / 0.7945 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008391/0.3255, allocations: 383.8 kB / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.3255, allocations: 8 kB / 0.7948 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3256, allocations: 4 kB / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.3256, allocations: 4 kB / 0.7948 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.3261, allocations: 79.81 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.3261, allocations: 4 kB / 0.7949 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3265, allocations: 47.66 kB / 0.795 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.3265, allocations: 27.92 kB / 0.795 GB, free: 1 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.0003167/0.3269, allocations: 150.4 kB / 0.7951 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.327, allocations: 39.64 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.3279, allocations: 354 kB / 0.7955 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3279, allocations: 8 kB / 0.7955 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.3279, allocations: 4.438 kB / 0.7955 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.3279, allocations: 7.984 kB / 0.7955 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.3285, allocations: 345.1 kB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.3285, allocations: 11.94 kB / 0.7959 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.3289, allocations: 75.91 kB / 0.7959 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3289, allocations: 7.984 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3289, allocations: 16 kB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.3289, allocations: 7.938 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.329, allocations: 4 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.3297, allocations: 0.49 MB / 0.7965 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.3299, allocations: 144.6 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.33, allocations: 23.98 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3302, allocations: 31.97 kB / 0.7966 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3304, allocations: 51.83 kB / 0.7967 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.3304, allocations: 23.98 kB / 0.7967 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3305, allocations: 132.8 kB / 0.7968 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3305, allocations: 0 / 0.7968 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006465/0.3312, allocations: 219.7 kB / 0.7971 GB, free: 14.75 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.0006013/0.3318, allocations: 326.3 kB / 0.7974 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.3325, allocations: 343 kB / 0.7977 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3325, allocations: 0 / 0.7977 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.3328, allocations: 188.5 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3331, allocations: 31.98 kB / 0.7979 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3341, allocations: 0.5535 MB / 0.7984 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3345, allocations: 0.7611 MB / 0.7992 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.3347, allocations: 55.31 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3349, allocations: 43.42 kB / 0.7993 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3349, allocations: 0 / 0.7993 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.01005/0.3449, allocations: 5.623 MB / 0.8048 GB, free: 6.781 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)