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 2.108/2.108, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001032/0.001032, allocations: 178.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.000977/0.0009769, allocations: 93.61 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 15.19 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3101, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001113/0.3112, allocations: 0.5796 MB / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3137, allocations: 2.345 MB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.3138, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.3139, allocations: 7.875 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.3141, allocations: 55.81 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.3149, allocations: 359 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.3151, allocations: 175.7 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.3152, allocations: 17.95 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.3154, allocations: 143.6 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3156, allocations: 131.5 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3156, allocations: 12 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.316, allocations: 275.7 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3161, allocations: 59.78 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.3161, allocations: 61.64 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.3166, allocations: 379 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3166, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3166, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3166, allocations: 0 / 0.9839 GB, free: 23.12 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.001218/0.3178, allocations: 0.6225 MB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3179, allocations: 12.02 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.318, allocations: 31.69 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3181, allocations: 190.7 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.3183, allocations: 126.8 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.3183, allocations: 20 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.3187, allocations: 255.5 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3187, allocations: 4 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3188, allocations: 8 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3188, allocations: 4 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.319, allocations: 119.7 kB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.3198, allocations: 0.9511 MB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.3211, allocations: 495.5 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.3211, allocations: 16.17 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.3216, allocations: 300 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.3216, allocations: 0 / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006636/0.3222, allocations: 406.5 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3224, allocations: 350.1 kB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3225, allocations: 177.6 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.3225, allocations: 49.64 kB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.3226, allocations: 108.9 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.3227, allocations: 106.5 kB / 0.9881 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.3227, allocations: 12 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.3228, allocations: 330.8 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.323, allocations: 105.1 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3233, allocations: 176.4 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.3235, allocations: 119.9 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3235, allocations: 0 / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005847/0.3241, allocations: 372.9 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3242, allocations: 8 kB / 0.9892 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3242, allocations: 8 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3242, allocations: 4 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3245, allocations: 79.83 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3246, allocations: 4 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.3249, allocations: 55.66 kB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3249, allocations: 23.98 kB / 0.9893 GB, free: 17 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.0001541/0.3251, allocations: 157.7 kB / 0.9895 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.3251, allocations: 23.72 kB / 0.9895 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.3257, allocations: 370 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3257, allocations: 8 kB / 0.9899 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3258, allocations: 7.953 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3258, allocations: 7.984 kB / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.3261, allocations: 345.1 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3261, allocations: 4 kB / 0.9902 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.3264, allocations: 71.91 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3264, allocations: 4 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.3264, allocations: 23.98 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3264, allocations: 7.938 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3264, allocations: 4.25 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.3271, allocations: 0.6058 MB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3272, allocations: 152.5 kB / 0.991 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.3273, allocations: 19.98 kB / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3275, allocations: 39.98 kB / 0.9911 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3277, allocations: 51.83 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3277, allocations: 23.98 kB / 0.9912 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.3278, allocations: 131.6 kB / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3278, allocations: 0 / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005969/0.3284, allocations: 203.8 kB / 0.9915 GB, free: 14.57 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.0005271/0.3289, allocations: 318.6 kB / 0.9918 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.3295, allocations: 319.9 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3295, allocations: 0 / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.3298, allocations: 184 kB / 0.9923 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.33, allocations: 20.19 kB / 0.9923 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3311, allocations: 0.641 MB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3315, allocations: 0.7691 MB / 0.9937 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.3318, allocations: 54.31 kB / 0.9937 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3319, allocations: 43.41 kB / 0.9938 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3319, allocations: 0 / 0.9938 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.008517/0.3404, allocations: 5.047 MB / 0.9987 GB, free: 7.152 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)