Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001398, allocations: 99.86 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.00143/0.00143, allocations: 177.3 kB / 15.95 MB, free: 216 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.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.709/1.709, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005183, allocations: 12.91 kB / 0.6736 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001037/0.2555, allocations: 0.5872 MB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.2583, allocations: 2.416 MB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.2584, allocations: 0 / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2584, allocations: 7.875 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2586, allocations: 55.83 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.2593, allocations: 407 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.2596, allocations: 187.7 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.2597, allocations: 21.94 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.2599, allocations: 135.6 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2601, allocations: 143.5 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.2602, allocations: 16 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.2606, allocations: 295.7 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.2607, allocations: 59.78 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.2608, allocations: 57.64 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.2613, allocations: 403 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2613, allocations: 4 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2613, allocations: 0 / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2613, allocations: 0 / 0.7918 GB, free: 7.176 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.00127/0.2626, allocations: 0.6332 MB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2626, allocations: 8.031 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.2627, allocations: 23.75 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2629, allocations: 191.4 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2631, allocations: 130.8 kB / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.2631, allocations: 20 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.2635, allocations: 235.7 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2635, allocations: 0 / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.2635, allocations: 8 kB / 0.793 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2635, allocations: 4 kB / 0.793 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.2637, allocations: 119.7 kB / 0.7931 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.2642, allocations: 395.2 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.2656, allocations: 499.5 kB / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.2656, allocations: 12.14 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.2661, allocations: 315.5 kB / 0.7943 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.2661, allocations: 0 / 0.7943 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007324/0.2668, allocations: 404.9 kB / 0.7946 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.267, allocations: 358.6 kB / 0.795 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2671, allocations: 175.2 kB / 0.7952 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.2672, allocations: 37.7 kB / 0.7952 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.2672, allocations: 97.12 kB / 0.7953 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.2674, allocations: 114.5 kB / 0.7954 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.2674, allocations: 8 kB / 0.7954 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2675, allocations: 334.8 kB / 0.7957 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.2678, allocations: 117.1 kB / 0.7958 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.268, allocations: 161 kB / 0.796 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2683, allocations: 124.2 kB / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2683, allocations: 0 / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006752/0.269, allocations: 374.3 kB / 0.7965 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.269, allocations: 4 kB / 0.7965 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.269, allocations: 4 kB / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2691, allocations: 0 / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.2695, allocations: 79.88 kB / 0.7965 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2695, allocations: 11.92 kB / 0.7966 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.2698, allocations: 59.56 kB / 0.7966 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2698, allocations: 19.98 kB / 0.7966 GB, free: 1.66 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.000153/0.27, allocations: 165.7 kB / 0.7968 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2701, allocations: 19.81 kB / 0.7968 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006312/0.2707, allocations: 362.8 kB / 0.7972 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2707, allocations: 16.03 kB / 0.7972 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2707, allocations: 0 / 0.7972 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2707, allocations: 7.984 kB / 0.7972 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.2711, allocations: 353.1 kB / 0.7975 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2711, allocations: 0 / 0.7975 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.2714, allocations: 79.83 kB / 0.7976 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2714, allocations: 8 kB / 0.7976 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.2714, allocations: 16 kB / 0.7976 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.2714, allocations: 15.92 kB / 0.7976 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2714, allocations: 0 / 0.7976 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.2721, allocations: 0.6102 MB / 0.7982 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.2723, allocations: 152.6 kB / 0.7984 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.2724, allocations: 20 kB / 0.7984 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2726, allocations: 35.97 kB / 0.7984 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.2727, allocations: 51.88 kB / 0.7985 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.2728, allocations: 31.92 kB / 0.7985 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.135e-05/0.2729, allocations: 132.5 kB / 0.7986 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2729, allocations: 4 kB / 0.7986 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000533/0.2734, allocations: 211.7 kB / 0.7988 GB, free: 15.2 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.0004737/0.2739, allocations: 321 kB / 0.7991 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005775/0.2745, allocations: 318.4 kB / 0.7994 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2745, allocations: 4 kB / 0.7994 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.2748, allocations: 183.7 kB / 0.7996 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.2749, allocations: 20.19 kB / 0.7996 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.2759, allocations: 0.6424 MB / 0.8003 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2762, allocations: 0.773 MB / 0.801 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.2764, allocations: 59.23 kB / 0.8011 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2765, allocations: 47.41 kB / 0.8011 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2765, allocations: 0 / 0.8011 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of Templates: time 0.009067/0.2856, allocations: 5.132 MB / 0.8061 GB, free: 7.637 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: