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.001606/0.001607, allocations: 105.7 kB / 16.36 MB, free: 6.309 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.001875/0.001875, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001453/0.001453, allocations: 71.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2506, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002286/0.2529, allocations: 0.9103 MB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3984/0.6514, allocations: 2.52 MB / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.6516, allocations: 0 / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.6517, allocations: 12.19 kB / 0.7882 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.6519, allocations: 47.33 kB / 0.7882 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.6531, allocations: 0.4898 MB / 0.7887 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.6534, allocations: 320.9 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.6534, allocations: 16.36 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.6536, allocations: 141.3 kB / 0.7891 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.6538, allocations: 155.9 kB / 0.7893 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.6538, allocations: 22.66 kB / 0.7893 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.6543, allocations: 369.5 kB / 0.7897 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.6544, allocations: 69.47 kB / 0.7897 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.6545, allocations: 118.7 kB / 0.7898 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.6551, allocations: 0.5538 MB / 0.7904 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6551, allocations: 0 / 0.7904 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6551, allocations: 1.844 kB / 0.7904 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6551, allocations: 1.125 kB / 0.7904 GB, free: 46.35 MB / 0.6544 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.001189/0.6563, allocations: 0.6605 MB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6563, allocations: 13.56 kB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.6564, allocations: 19.25 kB / 0.7911 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.6565, allocations: 192.2 kB / 0.7912 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.6566, allocations: 129.8 kB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.6567, allocations: 22.28 kB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.657, allocations: 240.2 kB / 0.7916 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.657, allocations: 11.53 kB / 0.7916 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.657, allocations: 3.125 kB / 0.7916 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.657, allocations: 2.625 kB / 0.7916 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.6572, allocations: 117.9 kB / 0.7917 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.6576, allocations: 400.8 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.6589, allocations: 496.3 kB / 0.7926 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.6591, allocations: 157 kB / 0.7927 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.6591, allocations: 9.266 kB / 0.7928 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.6594, allocations: 312.5 kB / 0.7931 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.833e-06/0.6595, allocations: 0 / 0.7931 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007278/0.6602, allocations: 421.5 kB / 0.7935 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.6603, allocations: 356.8 kB / 0.7938 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6604, allocations: 163.1 kB / 0.794 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6605, allocations: 38.67 kB / 0.794 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.6605, allocations: 96.14 kB / 0.7941 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.6606, allocations: 115.4 kB / 0.7942 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6607, allocations: 102.7 kB / 0.7943 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.6608, allocations: 334.1 kB / 0.7946 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.661, allocations: 116.6 kB / 0.7947 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.6613, allocations: 170.2 kB / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.6618, allocations: 269.6 kB / 0.7951 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.6618, allocations: 3.469 kB / 0.7951 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006286/0.6624, allocations: 371.2 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6624, allocations: 6.969 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6624, allocations: 5.625 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6625, allocations: 3.469 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.6628, allocations: 73.36 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6628, allocations: 3.438 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.6631, allocations: 60.27 kB / 0.7956 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.6631, allocations: 17.23 kB / 0.7957 GB, free: 43.36 MB / 0.6544 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.0001316/0.6633, allocations: 154.7 kB / 0.7958 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.6633, allocations: 32.66 kB / 0.7958 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.6639, allocations: 357.6 kB / 0.7962 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6639, allocations: 10.41 kB / 0.7962 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.664, allocations: 3.5 kB / 0.7962 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.664, allocations: 6.547 kB / 0.7962 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.6643, allocations: 347.7 kB / 0.7965 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6643, allocations: 3.438 kB / 0.7965 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.6646, allocations: 77.5 kB / 0.7966 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6646, allocations: 6.938 kB / 0.7966 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.6646, allocations: 16.58 kB / 0.7966 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6646, allocations: 3.5 kB / 0.7966 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6646, allocations: 7.469 kB / 0.7966 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.6652, allocations: 0.4931 MB / 0.7971 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.6653, allocations: 149.7 kB / 0.7973 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.6654, allocations: 17.92 kB / 0.7973 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6656, allocations: 26.19 kB / 0.7973 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.6657, allocations: 53.38 kB / 0.7974 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.6658, allocations: 31.22 kB / 0.7974 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.6658, allocations: 130.8 kB / 0.7975 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6658, allocations: 4.25 kB / 0.7975 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005607/0.6664, allocations: 216.2 kB / 0.7977 GB, free: 42.53 MB / 0.6544 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.0004565/0.6669, allocations: 324.2 kB / 0.798 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.6675, allocations: 341 kB / 0.7984 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6675, allocations: 0 / 0.7984 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.6677, allocations: 193.2 kB / 0.7985 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.668, allocations: 25.77 kB / 0.7986 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.669, allocations: 0.5705 MB / 0.7991 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.6692, allocations: 0.7619 MB / 0.7999 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.6693, allocations: 50.7 kB / 0.7999 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6693, allocations: 0 / 0.7999 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.01029/0.6796, allocations: 5.225 MB / 0.805 GB, free: 40.87 MB / 0.6544 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)