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.001195/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001362/0.001362, allocations: 190.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 222 MB, free: 4.762 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.8/1.8, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001506/0.001506, allocations: 67.75 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2778, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002753/0.2806, allocations: 0.9645 MB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003843/0.2845, allocations: 2.574 MB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2847, allocations: 0 / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.606e-05/0.2848, allocations: 11.86 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.2851, allocations: 35.69 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2865, allocations: 422.8 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.2869, allocations: 307.1 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.287, allocations: 17.95 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.2872, allocations: 123.7 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2875, allocations: 147.4 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.2875, allocations: 16 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.2882, allocations: 299.8 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.2882, allocations: 59.8 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2884, allocations: 111.5 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.2891, allocations: 0.5376 MB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2891, allocations: 0 / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2891, allocations: 0 / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2891, allocations: 0 / 0.7881 GB, free: 8.387 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.001513/0.2906, allocations: 0.6607 MB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2907, allocations: 8.031 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.2908, allocations: 24.66 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.291, allocations: 192.8 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.2912, allocations: 127.4 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.2912, allocations: 16.38 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2916, allocations: 247.8 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2916, allocations: 0 / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.2917, allocations: 15.92 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2917, allocations: 4 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.2919, allocations: 119.7 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.2924, allocations: 395.1 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.2939, allocations: 499.2 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2941, allocations: 158.3 kB / 0.7905 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.2942, allocations: 11.94 kB / 0.7905 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.2947, allocations: 307.5 kB / 0.7908 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.2947, allocations: 0 / 0.7908 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.000862/0.2956, allocations: 406.6 kB / 0.7912 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.2958, allocations: 358.6 kB / 0.7916 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2959, allocations: 171.2 kB / 0.7917 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.296, allocations: 41.7 kB / 0.7918 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.2961, allocations: 101 kB / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.2962, allocations: 110.5 kB / 0.792 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2963, allocations: 94.22 kB / 0.792 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2965, allocations: 338.8 kB / 0.7924 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.2967, allocations: 113.1 kB / 0.7925 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2971, allocations: 177 kB / 0.7926 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.2976, allocations: 259.1 kB / 0.7929 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2976, allocations: 4 kB / 0.7929 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007466/0.2984, allocations: 380.1 kB / 0.7933 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2984, allocations: 4 kB / 0.7933 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2984, allocations: 0 / 0.7933 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2984, allocations: 4 kB / 0.7933 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.2988, allocations: 79.97 kB / 0.7933 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2989, allocations: 3.938 kB / 0.7933 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2991, allocations: 55.66 kB / 0.7934 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2992, allocations: 23.97 kB / 0.7934 GB, free: 2.402 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.2994, allocations: 154.4 kB / 0.7936 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.2995, allocations: 35.58 kB / 0.7936 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006831/0.3002, allocations: 362 kB / 0.7939 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3002, allocations: 8 kB / 0.794 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3002, allocations: 4 kB / 0.794 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3002, allocations: 7.984 kB / 0.794 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.3006, allocations: 345.1 kB / 0.7943 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3006, allocations: 7.938 kB / 0.7943 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3009, allocations: 67.89 kB / 0.7944 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.3009, allocations: 12 kB / 0.7944 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3009, allocations: 16.25 kB / 0.7944 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.301, allocations: 11.94 kB / 0.7944 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.301, allocations: 7.984 kB / 0.7944 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.3017, allocations: 0.49 MB / 0.7949 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3019, allocations: 144.6 kB / 0.795 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.3019, allocations: 19.92 kB / 0.7951 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3022, allocations: 35.97 kB / 0.7951 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3023, allocations: 55.81 kB / 0.7951 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3023, allocations: 20 kB / 0.7952 GB, free: 500 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001122/0.3025, allocations: 132.5 kB / 0.7953 GB, free: 368 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3025, allocations: 0 / 0.7953 GB, free: 368 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006082/0.3031, allocations: 211.7 kB / 0.7955 GB, free: 156 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005864/0.3037, allocations: 333.1 kB / 0.7958 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006905/0.3044, allocations: 326.4 kB / 0.7961 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3044, allocations: 0 / 0.7961 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.3047, allocations: 187.6 kB / 0.7963 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.305, allocations: 34.66 kB / 0.7963 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.306, allocations: 0.6499 MB / 0.797 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3064, allocations: 0.7575 MB / 0.7977 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.3066, allocations: 54.67 kB / 0.7978 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3068, allocations: 47.41 kB / 0.7978 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.3068, allocations: 4 kB / 0.7978 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.00986/0.3166, allocations: 5.318 MB / 0.803 GB, free: 8.387 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (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)