Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 105.9 kB / 16.36 MB, free: 6.34 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.001541/0.001542, allocations: 188.5 kB / 17.3 MB, free: 5.895 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001667/0.001667, allocations: 79.88 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2282, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00224/0.2305, allocations: 0.9111 MB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4411/0.6716, allocations: 2.511 MB / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.6718, allocations: 0.5625 kB / 0.7881 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.6719, allocations: 18.92 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.6721, allocations: 47 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.6733, allocations: 0.4917 MB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.6736, allocations: 313.4 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/0.6737, allocations: 20.05 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.6739, allocations: 141.7 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.6741, allocations: 150.4 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.6742, allocations: 23.62 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.6747, allocations: 378.1 kB / 0.7897 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.6748, allocations: 62.81 kB / 0.7897 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.6749, allocations: 121.4 kB / 0.7898 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.6755, allocations: 0.5497 MB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6755, allocations: 4.156 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6755, allocations: 0 / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6755, allocations: 0 / 0.7904 GB, free: 46.36 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.001252/0.6768, allocations: 0.6583 MB / 0.791 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6769, allocations: 13.28 kB / 0.791 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.6769, allocations: 19.25 kB / 0.7911 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.677, allocations: 192.8 kB / 0.7912 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.6772, allocations: 130.6 kB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.6772, allocations: 17.25 kB / 0.7914 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.6775, allocations: 246.6 kB / 0.7916 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6775, allocations: 5.281 kB / 0.7916 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6776, allocations: 6.25 kB / 0.7916 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6776, allocations: 5.25 kB / 0.7916 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.6778, allocations: 114.3 kB / 0.7917 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.6781, allocations: 398.9 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.6794, allocations: 498.9 kB / 0.7926 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.6796, allocations: 153.7 kB / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.6796, allocations: 14.81 kB / 0.7928 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.6801, allocations: 317.7 kB / 0.7931 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.6801, allocations: 0 / 0.7931 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007334/0.6808, allocations: 417.5 kB / 0.7935 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.6809, allocations: 352 kB / 0.7938 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6811, allocations: 167.4 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.6811, allocations: 36.77 kB / 0.794 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.6811, allocations: 100.4 kB / 0.7941 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.6812, allocations: 107.4 kB / 0.7942 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6813, allocations: 106.1 kB / 0.7943 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.6814, allocations: 333.8 kB / 0.7946 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.6817, allocations: 117.4 kB / 0.7947 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.6819, allocations: 166.1 kB / 0.7949 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.6824, allocations: 275.5 kB / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6824, allocations: 0 / 0.7951 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006521/0.6831, allocations: 375.6 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6831, allocations: 3.469 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6831, allocations: 3.469 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6832, allocations: 2.688 kB / 0.7955 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.6835, allocations: 78.67 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6835, allocations: 10.73 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.6838, allocations: 51.72 kB / 0.7956 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.6839, allocations: 20.61 kB / 0.7957 GB, free: 43.37 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.0001229/0.684, allocations: 153.8 kB / 0.7958 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.684, allocations: 26.09 kB / 0.7958 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.6846, allocations: 361.9 kB / 0.7962 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.6846, allocations: 8.609 kB / 0.7962 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6846, allocations: 5.938 kB / 0.7962 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.6847, allocations: 6.453 kB / 0.7962 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.685, allocations: 351.5 kB / 0.7965 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.685, allocations: 3.406 kB / 0.7965 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.6852, allocations: 77.31 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6853, allocations: 3.5 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.6853, allocations: 20.12 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6853, allocations: 10.91 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6853, allocations: 3.406 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.6859, allocations: 499.1 kB / 0.7971 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.6861, allocations: 148.4 kB / 0.7973 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.6861, allocations: 19.28 kB / 0.7973 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.6864, allocations: 28 kB / 0.7973 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.6865, allocations: 52.98 kB / 0.7974 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.6865, allocations: 30.92 kB / 0.7974 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.216e-05/0.6866, allocations: 134.2 kB / 0.7975 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6866, allocations: 0 / 0.7975 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005719/0.6872, allocations: 213 kB / 0.7977 GB, free: 42.54 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.0004665/0.6876, allocations: 327.1 kB / 0.798 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006072/0.6883, allocations: 338.4 kB / 0.7983 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6883, allocations: 0 / 0.7983 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.6885, allocations: 188.6 kB / 0.7985 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.6888, allocations: 29.62 kB / 0.7986 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.6897, allocations: 0.5722 MB / 0.7991 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.6899, allocations: 0.7625 MB / 0.7999 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.69, allocations: 50.34 kB / 0.7999 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6901, allocations: 0 / 0.7999 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.01088/0.7009, allocations: 5.201 MB / 0.805 GB, free: 40.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)