Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.001268/0.001268, 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.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.646/1.646, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005267/0.0005267, allocations: 23.28 kB / 0.6736 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, 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.SunRiseSetNegativeStartTime): time 0.001011/0.2737, allocations: 0.5911 MB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2764, allocations: 2.408 MB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.2765, allocations: 0 / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.2765, allocations: 7.875 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2768, allocations: 51.89 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.2775, allocations: 414.1 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.2778, allocations: 183.7 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.2778, allocations: 25.92 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2781, allocations: 135.6 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.2783, allocations: 147.5 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.2783, allocations: 12 kB / 0.791 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.2788, allocations: 295.7 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.2789, allocations: 55.8 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.279, allocations: 61.62 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.2795, allocations: 407 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2795, allocations: 0 / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2795, allocations: 7.875 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2795, allocations: 0 / 0.7918 GB, free: 7.172 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.001279/0.2808, allocations: 0.6255 MB / 0.7924 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2808, allocations: 8.031 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.2809, allocations: 19.81 kB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.281, allocations: 195.4 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.2812, allocations: 130.8 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.2813, allocations: 20 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.2816, allocations: 235.7 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2816, allocations: 4 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.2817, allocations: 4 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2817, allocations: 4 kB / 0.793 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.2819, allocations: 115.7 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.2824, allocations: 399.2 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.2838, allocations: 495.5 kB / 0.7939 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.2838, allocations: 8.062 kB / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.2843, allocations: 319.5 kB / 0.7943 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.2843, allocations: 0 / 0.7943 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007463/0.2851, allocations: 414.4 kB / 0.7947 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.2852, allocations: 366.5 kB / 0.795 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2854, allocations: 167.2 kB / 0.7952 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.2854, allocations: 37.7 kB / 0.7952 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.2855, allocations: 93.14 kB / 0.7953 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2856, allocations: 118.4 kB / 0.7954 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.2856, allocations: 8 kB / 0.7954 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2858, allocations: 334.8 kB / 0.7957 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.2861, allocations: 121 kB / 0.7958 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2863, allocations: 157 kB / 0.796 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.2866, allocations: 122.8 kB / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2866, allocations: 0 / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00065/0.2873, allocations: 375.7 kB / 0.7965 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2873, allocations: 8 kB / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2873, allocations: 0 / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2873, allocations: 4 kB / 0.7965 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.2877, allocations: 75.88 kB / 0.7966 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2877, allocations: 7.938 kB / 0.7966 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.288, allocations: 59.56 kB / 0.7966 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.288, allocations: 19.98 kB / 0.7966 GB, free: 1.664 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.0001715/0.2882, allocations: 157.7 kB / 0.7968 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.2883, allocations: 23.8 kB / 0.7968 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.2889, allocations: 366 kB / 0.7972 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2889, allocations: 8 kB / 0.7972 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.289, allocations: 7.938 kB / 0.7972 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.289, allocations: 3.984 kB / 0.7972 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.2893, allocations: 353.1 kB / 0.7975 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2893, allocations: 0 / 0.7975 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.2896, allocations: 71.91 kB / 0.7976 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.2896, allocations: 12.38 kB / 0.7976 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.2897, allocations: 15.98 kB / 0.7976 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.2897, allocations: 15.94 kB / 0.7976 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2897, allocations: 4 kB / 0.7976 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.2904, allocations: 0.614 MB / 0.7982 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.2906, allocations: 156.5 kB / 0.7984 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.2907, allocations: 16 kB / 0.7984 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.2909, allocations: 35.97 kB / 0.7984 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2911, allocations: 51.88 kB / 0.7985 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.2911, allocations: 27.98 kB / 0.7985 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001046/0.2912, allocations: 132.5 kB / 0.7986 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2912, allocations: 4 kB / 0.7986 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007128/0.2919, allocations: 211.7 kB / 0.7988 GB, free: 15.21 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.0005912/0.2925, allocations: 321 kB / 0.7991 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.2932, allocations: 319.7 kB / 0.7994 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2933, allocations: 0 / 0.7994 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.2936, allocations: 183.7 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.0001989/0.2938, allocations: 24.17 kB / 0.7996 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2948, allocations: 0.6409 MB / 0.8003 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2951, allocations: 0.7691 MB / 0.801 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.2953, allocations: 63.17 kB / 0.8011 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2955, allocations: 43.41 kB / 0.8011 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.2955, allocations: 0 / 0.8011 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.009035/0.3045, allocations: 5.165 MB / 0.8062 GB, free: 7.625 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: