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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.3 MB / 303.2 MB, free: 8.242 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.001055/0.001055, allocations: 185 kB / 371.8 MB, free: 10.27 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.493/1.493, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.0009777/0.0009776, allocations: 99.91 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 15 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001172/0.2767, allocations: 0.5874 MB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.2791, allocations: 2.334 MB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.2792, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.2792, allocations: 11.86 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2795, allocations: 55.89 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.2802, allocations: 368.8 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2804, allocations: 175.7 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.2805, allocations: 9.969 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.2807, allocations: 143.6 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2809, allocations: 135.5 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2809, allocations: 12 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.2814, allocations: 279.7 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.2814, allocations: 51.8 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.2815, allocations: 61.64 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.2819, allocations: 375 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2819, allocations: 8 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2819, allocations: 0 / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.2819, allocations: 3.938 kB / 0.9839 GB, free: 23.07 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.001182/0.2831, allocations: 0.6225 MB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2832, allocations: 12.03 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.2833, allocations: 27.72 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2834, allocations: 190.7 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.2835, allocations: 126.8 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.2836, allocations: 16 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.2839, allocations: 255.5 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2839, allocations: 4 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.284, allocations: 4 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.284, allocations: 12 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2842, allocations: 115.7 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.2849, allocations: 0.9511 MB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2862, allocations: 0.4917 MB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.2863, allocations: 8.172 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.2867, allocations: 300.1 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.2867, allocations: 3.938 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.000671/0.2874, allocations: 401.5 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2875, allocations: 354.1 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2876, allocations: 177.1 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.2876, allocations: 37.7 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.2877, allocations: 113.4 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.2878, allocations: 110.5 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.2878, allocations: 12 kB / 0.9881 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.2879, allocations: 330.8 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2881, allocations: 101.1 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.2883, allocations: 180.4 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.2886, allocations: 123.9 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2886, allocations: 0 / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005717/0.2891, allocations: 365 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2892, allocations: 11.92 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2892, allocations: 4 kB / 0.9892 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2892, allocations: 9 kB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2896, allocations: 75.83 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2896, allocations: 4 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.2899, allocations: 55.67 kB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.2899, allocations: 24.34 kB / 0.9893 GB, free: 16.96 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.0001367/0.2901, allocations: 157.7 kB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.2901, allocations: 23.72 kB / 0.9895 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.2907, allocations: 374.1 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2907, allocations: 11.94 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2907, allocations: 7.953 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2908, allocations: 3.984 kB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.2911, allocations: 353.1 kB / 0.9902 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2911, allocations: 4 kB / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.2913, allocations: 67.91 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.2914, allocations: 8 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2914, allocations: 19.98 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2914, allocations: 11.92 kB / 0.9903 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2914, allocations: 8 kB / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.292, allocations: 0.6058 MB / 0.9909 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2922, allocations: 148.8 kB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.2923, allocations: 19.98 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2925, allocations: 43.98 kB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.2926, allocations: 55.81 kB / 0.9912 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2926, allocations: 20 kB / 0.9912 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.2927, allocations: 131.2 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2927, allocations: 0 / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005936/0.2933, allocations: 203.8 kB / 0.9915 GB, free: 14.52 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.0004806/0.2938, allocations: 310.6 kB / 0.9918 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.2943, allocations: 315.5 kB / 0.9921 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2943, allocations: 0 / 0.9921 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.2946, allocations: 188.3 kB / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.2948, allocations: 16.7 kB / 0.9923 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.2956, allocations: 0.6402 MB / 0.9929 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2958, allocations: 0.7652 MB / 0.9937 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000215/0.296, allocations: 55.62 kB / 0.9937 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2961, allocations: 51.34 kB / 0.9938 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2961, allocations: 4 kB / 0.9938 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.007647/0.3038, allocations: 5.008 MB / 0.9987 GB, free: 7.102 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)