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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001054/0.001054, allocations: 185 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.541/1.541, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0009827/0.0009826, allocations: 85.64 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3003, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001305/0.3017, allocations: 0.5835 MB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3049, allocations: 2.334 MB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.3051, allocations: 0 / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.3051, allocations: 11.88 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.3054, allocations: 55.83 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.3064, allocations: 367 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3066, allocations: 171.7 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.3066, allocations: 21.92 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.3068, allocations: 135.7 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.307, allocations: 143.5 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.3071, allocations: 12 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.3075, allocations: 271.7 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.3075, allocations: 59.78 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.3076, allocations: 57.64 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.308, allocations: 379 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3081, allocations: 4 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.027e-06/0.3081, allocations: 4 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3081, allocations: 0 / 0.9839 GB, free: 23.09 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.001268/0.3094, allocations: 0.6186 MB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3094, allocations: 16.02 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3095, allocations: 27.7 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3096, allocations: 186.8 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3098, allocations: 126.8 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3098, allocations: 16 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.3102, allocations: 251.6 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3102, allocations: 4 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.3102, allocations: 11.98 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3102, allocations: 4 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3104, allocations: 119.7 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.3112, allocations: 0.9472 MB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.3126, allocations: 0.4917 MB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.3126, allocations: 7.984 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.313, allocations: 308.2 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.3131, allocations: 4 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006787/0.3137, allocations: 405.1 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3139, allocations: 358 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.314, allocations: 177.1 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.314, allocations: 38.2 kB / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.3141, allocations: 108.9 kB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.3142, allocations: 114.5 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.3142, allocations: 8 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3143, allocations: 334.8 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3145, allocations: 101.1 kB / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.3148, allocations: 180.4 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.315, allocations: 111.9 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.315, allocations: 0 / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005905/0.3156, allocations: 376.9 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3157, allocations: 4 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3157, allocations: 0 / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3157, allocations: 12 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3161, allocations: 75.83 kB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3161, allocations: 4 kB / 0.9892 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3164, allocations: 59.66 kB / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.3164, allocations: 19.98 kB / 0.9893 GB, free: 16.99 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.0001512/0.3166, allocations: 167 kB / 0.9895 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.3166, allocations: 24.72 kB / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.3172, allocations: 366 kB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3173, allocations: 12 kB / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3173, allocations: 7.953 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.3173, allocations: 3.984 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.3176, allocations: 349.1 kB / 0.9902 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3176, allocations: 4 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.3179, allocations: 71.89 kB / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3179, allocations: 8 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.318, allocations: 19.98 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.318, allocations: 7.938 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.318, allocations: 8 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3187, allocations: 0.6019 MB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3189, allocations: 152.5 kB / 0.991 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.3189, allocations: 16 kB / 0.9911 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3192, allocations: 39.97 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.3193, allocations: 56.2 kB / 0.9912 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3193, allocations: 23.98 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.691e-05/0.3194, allocations: 127.2 kB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3194, allocations: 0 / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006075/0.32, allocations: 207.7 kB / 0.9915 GB, free: 14.55 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.0004983/0.3205, allocations: 314.8 kB / 0.9918 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.3211, allocations: 327.6 kB / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3211, allocations: 0 / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3213, allocations: 179.7 kB / 0.9923 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.3216, allocations: 22.81 kB / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.3224, allocations: 0.6361 MB / 0.9929 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.3226, allocations: 0.7652 MB / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.3229, allocations: 53.81 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.323, allocations: 47.41 kB / 0.9938 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.323, allocations: 4 kB / 0.9938 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.007992/0.331, allocations: 5.046 MB / 0.9987 GB, free: 7.137 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)