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.0008729/0.0008731, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009067/0.0009068, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.69/1.69, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005183/0.0005184, allocations: 17.47 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2573, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001092/0.2584, allocations: 0.5833 MB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2619, allocations: 2.416 MB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2621, allocations: 4 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.2621, allocations: 7.875 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.2624, allocations: 51.83 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2636, allocations: 410.9 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.2639, allocations: 191.6 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.264, allocations: 17.94 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.2643, allocations: 143.6 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2645, allocations: 139.6 kB / 0.791 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.2646, allocations: 12 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.2652, allocations: 291.7 kB / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.2652, allocations: 55.8 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.2653, allocations: 61.64 kB / 0.7914 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.2659, allocations: 407 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2659, allocations: 0 / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2659, allocations: 0 / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2659, allocations: 0 / 0.7918 GB, free: 7.191 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.001323/0.2673, allocations: 0.6293 MB / 0.7924 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2673, allocations: 12.03 kB / 0.7924 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.2674, allocations: 23.75 kB / 0.7924 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2676, allocations: 199.4 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2677, allocations: 126.8 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.2678, allocations: 20 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.2682, allocations: 239.7 kB / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2682, allocations: 0 / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2682, allocations: 0 / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2682, allocations: 8 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2684, allocations: 111.7 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.2689, allocations: 395.2 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.2703, allocations: 0.4957 MB / 0.7939 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.2704, allocations: 8 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.2709, allocations: 319.5 kB / 0.7943 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.2709, allocations: 0 / 0.7943 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008684/0.2718, allocations: 405.4 kB / 0.7946 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.272, allocations: 362.1 kB / 0.795 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2721, allocations: 171.2 kB / 0.7952 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.2722, allocations: 45.7 kB / 0.7952 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.2723, allocations: 89.14 kB / 0.7953 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.2724, allocations: 114.4 kB / 0.7954 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.2724, allocations: 12 kB / 0.7954 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2726, allocations: 334.8 kB / 0.7957 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.2728, allocations: 117 kB / 0.7958 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.2731, allocations: 161 kB / 0.796 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.2734, allocations: 118.9 kB / 0.7961 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2734, allocations: 4 kB / 0.7961 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007474/0.2742, allocations: 376.4 kB / 0.7965 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2742, allocations: 4 kB / 0.7965 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2742, allocations: 0 / 0.7965 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2743, allocations: 4 kB / 0.7965 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.2746, allocations: 75.88 kB / 0.7965 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2747, allocations: 7.938 kB / 0.7966 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.275, allocations: 67.56 kB / 0.7966 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.2751, allocations: 19.98 kB / 0.7966 GB, free: 1.668 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0002028/0.2753, allocations: 150.4 kB / 0.7968 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.2754, allocations: 28.8 kB / 0.7968 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/0.2761, allocations: 370 kB / 0.7972 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.2761, allocations: 8 kB / 0.7972 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2761, allocations: 4 kB / 0.7972 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.2761, allocations: 4 kB / 0.7972 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.2766, allocations: 353.1 kB / 0.7975 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.2766, allocations: 4 kB / 0.7975 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.2769, allocations: 71.91 kB / 0.7976 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.2769, allocations: 8 kB / 0.7976 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.277, allocations: 19.98 kB / 0.7976 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.277, allocations: 7.938 kB / 0.7976 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.277, allocations: 4 kB / 0.7976 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.2778, allocations: 0.6099 MB / 0.7982 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.278, allocations: 148.6 kB / 0.7984 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.2781, allocations: 19.98 kB / 0.7984 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.2783, allocations: 43.97 kB / 0.7984 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2784, allocations: 47.88 kB / 0.7985 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.2785, allocations: 23.94 kB / 0.7985 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2786, allocations: 140.5 kB / 0.7986 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2786, allocations: 3.938 kB / 0.7986 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005819/0.2792, allocations: 211.7 kB / 0.7988 GB, free: 15.22 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 (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.0006221/0.2798, allocations: 325 kB / 0.7991 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2804, allocations: 323.2 kB / 0.7994 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2805, allocations: 4 kB / 0.7994 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.2808, allocations: 188.1 kB / 0.7996 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.281, allocations: 24.17 kB / 0.7997 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.282, allocations: 0.6361 MB / 0.8003 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2824, allocations: 0.7691 MB / 0.801 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.2826, allocations: 54.94 kB / 0.8011 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2827, allocations: 47.42 kB / 0.8011 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2827, allocations: 0 / 0.8011 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.01023/0.2929, allocations: 5.155 MB / 0.8062 GB, free: 7.641 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: