Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 101.9 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.002015/0.002015, allocations: 192.1 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.348/1.348, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.00226/0.00226, allocations: 71.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3001, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002667/0.3029, allocations: 0.915 MB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3832/0.6861, allocations: 2.509 MB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.6865, allocations: 1.125 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.6865, allocations: 16.19 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.6868, allocations: 52.42 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.688, allocations: 499.5 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.6883, allocations: 321.4 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.6884, allocations: 14.88 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.6885, allocations: 142.6 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.6887, allocations: 149.6 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.6888, allocations: 21.53 kB / 0.7893 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.6894, allocations: 379.1 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.6894, allocations: 67.33 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.6896, allocations: 119.2 kB / 0.7898 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.6902, allocations: 0.5478 MB / 0.7904 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6902, allocations: 0 / 0.7904 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6902, allocations: 0 / 0.7904 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.6902, allocations: 2.469 kB / 0.7904 GB, free: 46.41 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.00125/0.6915, allocations: 0.6631 MB / 0.791 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6915, allocations: 12.34 kB / 0.791 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.6916, allocations: 20.19 kB / 0.7911 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6917, allocations: 191.5 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.6919, allocations: 126.2 kB / 0.7914 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.6919, allocations: 24.3 kB / 0.7914 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.6922, allocations: 246.5 kB / 0.7916 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6923, allocations: 0 / 0.7916 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.6923, allocations: 9.172 kB / 0.7916 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6923, allocations: 8.719 kB / 0.7916 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.6925, allocations: 112.2 kB / 0.7917 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.6929, allocations: 398.4 kB / 0.7921 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.6942, allocations: 496.9 kB / 0.7926 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.6943, allocations: 156.7 kB / 0.7927 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.6944, allocations: 13.44 kB / 0.7928 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/0.6947, allocations: 315.5 kB / 0.7931 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.6948, allocations: 0 / 0.7931 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007236/0.6955, allocations: 413.9 kB / 0.7935 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.6956, allocations: 362.1 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.6957, allocations: 167.7 kB / 0.794 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.6957, allocations: 39.17 kB / 0.794 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.6958, allocations: 99.83 kB / 0.7941 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.6959, allocations: 107.2 kB / 0.7942 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.696, allocations: 101 kB / 0.7943 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.6961, allocations: 333.7 kB / 0.7946 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.6964, allocations: 113.6 kB / 0.7947 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.6966, allocations: 171.4 kB / 0.7949 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.6971, allocations: 266.8 kB / 0.7951 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6971, allocations: 0 / 0.7951 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006607/0.6978, allocations: 378.5 kB / 0.7955 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6978, allocations: 7.281 kB / 0.7955 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6978, allocations: 4.219 kB / 0.7955 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6978, allocations: 3.344 kB / 0.7955 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.6982, allocations: 79.2 kB / 0.7956 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6982, allocations: 3.5 kB / 0.7956 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.6985, allocations: 55.16 kB / 0.7956 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.6985, allocations: 17.11 kB / 0.7957 GB, free: 43.42 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.0001464/0.6987, allocations: 164.5 kB / 0.7958 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.6987, allocations: 25.19 kB / 0.7958 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.6993, allocations: 360 kB / 0.7962 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6993, allocations: 10.69 kB / 0.7962 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.6994, allocations: 3.312 kB / 0.7962 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6994, allocations: 6.875 kB / 0.7962 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.6997, allocations: 343.4 kB / 0.7965 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6997, allocations: 7.406 kB / 0.7965 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.7001, allocations: 75.58 kB / 0.7966 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.7001, allocations: 6.578 kB / 0.7966 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.7001, allocations: 13.88 kB / 0.7966 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/0.7002, allocations: 14.17 kB / 0.7966 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7002, allocations: 3.156 kB / 0.7966 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.7009, allocations: 498.5 kB / 0.7971 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.701, allocations: 147.5 kB / 0.7973 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.7011, allocations: 21.19 kB / 0.7973 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.7013, allocations: 37.03 kB / 0.7973 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7014, allocations: 46.05 kB / 0.7974 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.7015, allocations: 29.88 kB / 0.7974 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.405e-05/0.7016, allocations: 130.2 kB / 0.7975 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7016, allocations: 4 kB / 0.7975 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005792/0.7022, allocations: 213.7 kB / 0.7977 GB, free: 42.59 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.000455/0.7026, allocations: 332.9 kB / 0.798 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005718/0.7032, allocations: 334.5 kB / 0.7984 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7032, allocations: 1.031 kB / 0.7984 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.7035, allocations: 187.4 kB / 0.7985 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.7038, allocations: 39.97 kB / 0.7986 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.7047, allocations: 0.5688 MB / 0.7991 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.7049, allocations: 0.7552 MB / 0.7999 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.705, allocations: 49.73 kB / 0.7999 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.705, allocations: 4 kB / 0.7999 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.01014/0.7151, allocations: 5.22 MB / 0.805 GB, free: 40.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)