Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.884/1.884, allocations: 288.4 MB / 303.7 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 192.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001047, allocations: 98.28 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005289, allocations: 12.12 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3098, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001116/0.311, allocations: 0.5835 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003044/0.314, allocations: 2.333 MB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.3142, allocations: 4 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.3142, allocations: 7.875 kB / 0.983 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3145, allocations: 31.75 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.3154, allocations: 378.8 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.3157, allocations: 263.2 kB / 0.9836 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3158, allocations: 9.969 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.316, allocations: 127.6 kB / 0.9838 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3162, allocations: 131.6 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.3163, allocations: 12 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.3168, allocations: 271.7 kB / 0.9842 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.3169, allocations: 51.86 kB / 0.9842 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.317, allocations: 137.2 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.3175, allocations: 379 kB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.3175, allocations: 0 / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.897e-06/0.3175, allocations: 0 / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3175, allocations: 0 / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001324/0.3189, allocations: 0.6227 MB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.319, allocations: 8.031 kB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.3191, allocations: 28.66 kB / 0.9854 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3192, allocations: 196.1 kB / 0.9855 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.3194, allocations: 127.4 kB / 0.9857 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.3195, allocations: 24.38 kB / 0.9857 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3198, allocations: 255.7 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3199, allocations: 0 / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.3199, allocations: 8 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3199, allocations: 4 kB / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.3201, allocations: 115.8 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.3211, allocations: 0.9628 MB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3224, allocations: 491.3 kB / 0.9875 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3226, allocations: 150.3 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.3226, allocations: 15.98 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004224/0.3231, allocations: 303.8 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.3231, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006929/0.3238, allocations: 410 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3239, allocations: 350.1 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.324, allocations: 173.1 kB / 0.9888 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3241, allocations: 45.69 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3242, allocations: 97.05 kB / 0.9889 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.3242, allocations: 118.4 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.3243, allocations: 16.09 kB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3244, allocations: 330.8 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.3246, allocations: 113 kB / 0.9895 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3249, allocations: 172.4 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.3253, allocations: 282.5 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3254, allocations: 0 / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006207/0.326, allocations: 364.9 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.326, allocations: 8 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.326, allocations: 1 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3261, allocations: 8 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.3264, allocations: 83.81 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3264, allocations: 4 kB / 0.9904 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.3267, allocations: 55.59 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3268, allocations: 23.98 kB / 0.9904 GB, free: 16.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.0001415/0.3269, allocations: 167.5 kB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.327, allocations: 31.72 kB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.3275, allocations: 350.1 kB / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3275, allocations: 8 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3276, allocations: 4 kB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3276, allocations: 11.92 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.3279, allocations: 349.1 kB / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3279, allocations: 0 / 0.9913 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.3281, allocations: 79.83 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3281, allocations: 4 kB / 0.9914 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.3282, allocations: 16 kB / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3282, allocations: 11.97 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3282, allocations: 12.31 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.3287, allocations: 493.7 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3289, allocations: 152.5 kB / 0.9921 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.3289, allocations: 20 kB / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3292, allocations: 43.91 kB / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.3293, allocations: 51.88 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3293, allocations: 23.98 kB / 0.9922 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.3294, allocations: 123.2 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3294, allocations: 0 / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005769/0.33, allocations: 207.8 kB / 0.9925 GB, free: 13.91 MB / 0.6198 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.0004762/0.3305, allocations: 326.7 kB / 0.9928 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.331, allocations: 315.5 kB / 0.9931 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.331, allocations: 0 / 0.9931 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.3313, allocations: 179.7 kB / 0.9933 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3316, allocations: 37.61 kB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.3325, allocations: 0.6361 MB / 0.9939 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3328, allocations: 0.7614 MB / 0.9947 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.333, allocations: 51.44 kB / 0.9947 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3331, allocations: 51.41 kB / 0.9948 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/0.3331, allocations: 4 kB / 0.9948 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.008194/0.3413, allocations: 5.038 MB / 0.9997 GB, free: 6.484 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)