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.001985/0.001985, allocations: 105.4 kB / 15.7 MB, free: 24 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.001979/0.001979, allocations: 197.1 kB / 16.64 MB, free: 6.445 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.839/1.839, allocations: 292.3 MB / 0.549 GB, free: 12.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.001573/0.001573, allocations: 67.12 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3326, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002797/0.3354, allocations: 0.911 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.3397, allocations: 2.515 MB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.3401, allocations: 4 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3404, allocations: 15.8 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006069/0.341, allocations: 47.56 kB / 0.7876 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.3434, allocations: 0.4976 MB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.3443, allocations: 315.1 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3444, allocations: 21.66 kB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.3449, allocations: 139.6 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.3452, allocations: 151.5 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.3453, allocations: 27.94 kB / 0.7887 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.3461, allocations: 367.7 kB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.3462, allocations: 67.84 kB / 0.7891 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3464, allocations: 119.5 kB / 0.7892 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3475, allocations: 0.5494 MB / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.3475, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.947e-06/0.3476, allocations: 4 kB / 0.7897 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3476, allocations: 0 / 0.7897 GB, free: 6.953 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.001627/0.3492, allocations: 0.6568 MB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.3493, allocations: 12.03 kB / 0.7904 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3494, allocations: 28.59 kB / 0.7904 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3495, allocations: 184.9 kB / 0.7906 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3497, allocations: 127.4 kB / 0.7907 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3498, allocations: 20.38 kB / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.3502, allocations: 239.8 kB / 0.791 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3502, allocations: 0 / 0.791 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.3502, allocations: 8 kB / 0.791 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3502, allocations: 4 kB / 0.791 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.3504, allocations: 115.7 kB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.3509, allocations: 403.1 kB / 0.7915 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.3524, allocations: 499.2 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.3526, allocations: 162.2 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.3527, allocations: 19.91 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.3532, allocations: 311.5 kB / 0.7924 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.3532, allocations: 4 kB / 0.7924 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009109/0.3541, allocations: 409 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.3544, allocations: 354.6 kB / 0.7931 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3546, allocations: 169.3 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.3546, allocations: 41.7 kB / 0.7933 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.3547, allocations: 105 kB / 0.7934 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3548, allocations: 106.5 kB / 0.7935 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.355, allocations: 94.22 kB / 0.7936 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3552, allocations: 334.8 kB / 0.794 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.3555, allocations: 121 kB / 0.7941 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.3558, allocations: 165 kB / 0.7942 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.3564, allocations: 267 kB / 0.7945 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3564, allocations: 4 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008355/0.3572, allocations: 379.6 kB / 0.7948 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3573, allocations: 4 kB / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3573, allocations: 4 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.3573, allocations: 4 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.3577, allocations: 80.81 kB / 0.7949 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3578, allocations: 4 kB / 0.7949 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.3581, allocations: 51.66 kB / 0.795 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.3581, allocations: 19.98 kB / 0.795 GB, free: 0.9609 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.0002108/0.3583, allocations: 145.8 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.3584, allocations: 31.64 kB / 0.7952 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.3591, allocations: 366.8 kB / 0.7955 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3592, allocations: 8 kB / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3592, allocations: 8 kB / 0.7955 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3592, allocations: 4 kB / 0.7955 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.3596, allocations: 349.1 kB / 0.7959 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3596, allocations: 7.938 kB / 0.7959 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.3599, allocations: 75.84 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3599, allocations: 4 kB / 0.796 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.36, allocations: 19.98 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.36, allocations: 4 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.36, allocations: 4 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.3607, allocations: 0.4939 MB / 0.7965 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3609, allocations: 144.6 kB / 0.7966 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.3609, allocations: 20.23 kB / 0.7966 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3612, allocations: 31.98 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3613, allocations: 51.81 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.3613, allocations: 31.98 kB / 0.7967 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3614, allocations: 132.8 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3614, allocations: 0 / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006532/0.3621, allocations: 215.7 kB / 0.7971 GB, free: 14.71 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.000585/0.3627, allocations: 330 kB / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007328/0.3634, allocations: 338.8 kB / 0.7977 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3634, allocations: 0 / 0.7977 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3637, allocations: 187.7 kB / 0.7979 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3641, allocations: 30.64 kB / 0.7979 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3651, allocations: 0.5534 MB / 0.7985 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3654, allocations: 0.7611 MB / 0.7992 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.3656, allocations: 58.67 kB / 0.7993 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3658, allocations: 51.41 kB / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3658, allocations: 0 / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.01043/0.3762, allocations: 5.617 MB / 0.8048 GB, free: 6.738 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)