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.001413/0.001412, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.779/1.779, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.987/1.987, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001509/0.001509, allocations: 67.94 kB / 0.6715 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3409, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.004519/0.3455, allocations: 0.9035 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006131/0.3517, allocations: 2.515 MB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.352, allocations: 0 / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3522, allocations: 15.75 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.3528, allocations: 55.55 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.3555, allocations: 0.5025 MB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.3563, allocations: 307.1 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3565, allocations: 13.69 kB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.357, allocations: 139.6 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.3575, allocations: 151.5 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3576, allocations: 24 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3589, allocations: 315.8 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.359, allocations: 71.78 kB / 0.7883 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.3593, allocations: 115.5 kB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.361, allocations: 0.5455 MB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.361, allocations: 0 / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.361, allocations: 0 / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.361, allocations: 0 / 0.7889 GB, free: 7.789 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.002075/0.3631, allocations: 0.6607 MB / 0.7895 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/0.3632, allocations: 8.031 kB / 0.7895 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3634, allocations: 24.66 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3636, allocations: 192.7 kB / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.3638, allocations: 131.4 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.3639, allocations: 20.36 kB / 0.7899 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.3645, allocations: 239.9 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3645, allocations: 7.938 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3645, allocations: 4 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.3646, allocations: 4 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3649, allocations: 111.8 kB / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.3657, allocations: 403 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.3678, allocations: 495.3 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.3682, allocations: 154.3 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.3682, allocations: 15.98 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/0.369, allocations: 319.5 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.369, allocations: 0 / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001244/0.3703, allocations: 410.2 kB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.3706, allocations: 358.1 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3708, allocations: 173.3 kB / 0.7925 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.3709, allocations: 37.7 kB / 0.7925 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.371, allocations: 101 kB / 0.7926 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.3711, allocations: 114.5 kB / 0.7927 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3713, allocations: 94.22 kB / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3716, allocations: 330.8 kB / 0.7931 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.3719, allocations: 121 kB / 0.7932 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.3724, allocations: 161 kB / 0.7934 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.3732, allocations: 277.5 kB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.3732, allocations: 4 kB / 0.7937 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00115/0.3744, allocations: 380.7 kB / 0.794 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.3744, allocations: 8 kB / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3744, allocations: 0 / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.3745, allocations: 4 kB / 0.794 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.375, allocations: 75.88 kB / 0.7941 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.3751, allocations: 5 kB / 0.7941 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.3755, allocations: 47.67 kB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.3756, allocations: 27.97 kB / 0.7942 GB, free: 1.797 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.0002505/0.3758, allocations: 150.4 kB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.376, allocations: 27.66 kB / 0.7944 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.377, allocations: 362.1 kB / 0.7947 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/0.377, allocations: 8 kB / 0.7947 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.3771, allocations: 4 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.3771, allocations: 11.92 kB / 0.7947 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.3777, allocations: 349.1 kB / 0.7951 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3777, allocations: 7.938 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.3781, allocations: 71.91 kB / 0.7951 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.3782, allocations: 4 kB / 0.7951 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.3782, allocations: 23.92 kB / 0.7952 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.3782, allocations: 4 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.3783, allocations: 7.938 kB / 0.7952 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3793, allocations: 497.8 kB / 0.7956 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3796, allocations: 152.8 kB / 0.7958 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.3797, allocations: 16 kB / 0.7958 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.3801, allocations: 32.22 kB / 0.7958 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.3803, allocations: 59.86 kB / 0.7959 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.3803, allocations: 23.98 kB / 0.7959 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3805, allocations: 132.8 kB / 0.796 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3805, allocations: 3.938 kB / 0.796 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001085/0.3816, allocations: 219.7 kB / 0.7963 GB, free: 15.54 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 (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.0007821/0.3824, allocations: 318.1 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3835, allocations: 355.5 kB / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3835, allocations: 0 / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.3839, allocations: 187.6 kB / 0.7971 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3844, allocations: 30.73 kB / 0.7971 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3859, allocations: 0.5612 MB / 0.7977 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3864, allocations: 0.7611 MB / 0.7984 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003519/0.3867, allocations: 53.92 kB / 0.7984 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3869, allocations: 59.34 kB / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.3869, allocations: 3.938 kB / 0.7985 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.01597/0.4029, allocations: 5.621 MB / 0.804 GB, free: 7.547 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)