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.002003/0.002003, allocations: 103.4 kB / 16.35 MB, free: 6.348 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.002214/0.002215, allocations: 192.7 kB / 17.29 MB, free: 5.93 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.583/1.583, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.906/1.906, 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.001456/0.001457, allocations: 75.03 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002016/0.2444, allocations: 0.9183 MB / 0.7857 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3936/0.638, allocations: 2.504 MB / 0.7881 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.6382, allocations: 1.781 kB / 0.7881 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.6383, allocations: 17.33 kB / 0.7881 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.6386, allocations: 50.48 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.6398, allocations: 498.9 kB / 0.7887 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.64, allocations: 318.8 kB / 0.789 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.6401, allocations: 13.36 kB / 0.789 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.6403, allocations: 146.2 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.6405, allocations: 146 kB / 0.7893 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.6406, allocations: 24.22 kB / 0.7893 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.6412, allocations: 376.2 kB / 0.7896 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.6413, allocations: 70.2 kB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.6414, allocations: 118.3 kB / 0.7898 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.642, allocations: 0.5479 MB / 0.7904 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.642, allocations: 0 / 0.7904 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.642, allocations: 0 / 0.7904 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.6421, allocations: 0.5938 kB / 0.7904 GB, free: 46.27 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.001325/0.6434, allocations: 0.6617 MB / 0.791 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6435, allocations: 13.47 kB / 0.791 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.6436, allocations: 21.41 kB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.6437, allocations: 198.7 kB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.6439, allocations: 127.6 kB / 0.7913 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.6439, allocations: 21.38 kB / 0.7914 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.6443, allocations: 241.1 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6443, allocations: 5.094 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.6444, allocations: 8.422 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6444, allocations: 7.312 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.6446, allocations: 113.2 kB / 0.7917 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.6451, allocations: 401.7 kB / 0.7921 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.6465, allocations: 491.8 kB / 0.7926 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.6468, allocations: 158 kB / 0.7927 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.6469, allocations: 10.11 kB / 0.7927 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.6474, allocations: 319.3 kB / 0.793 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.023e-06/0.6474, allocations: 0 / 0.793 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008104/0.6482, allocations: 417 kB / 0.7934 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.6484, allocations: 358 kB / 0.7938 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.6485, allocations: 159.1 kB / 0.7939 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.6486, allocations: 41.3 kB / 0.794 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.6486, allocations: 97.36 kB / 0.7941 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.6487, allocations: 110.1 kB / 0.7942 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.6489, allocations: 98.33 kB / 0.7943 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.6489, allocations: 340.3 kB / 0.7946 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.6492, allocations: 115.9 kB / 0.7947 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.6495, allocations: 163.3 kB / 0.7949 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.6499, allocations: 272.8 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6499, allocations: 4 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006306/0.6506, allocations: 374.2 kB / 0.7955 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6506, allocations: 6.75 kB / 0.7955 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6506, allocations: 2.625 kB / 0.7955 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6506, allocations: 6.766 kB / 0.7955 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.651, allocations: 79.61 kB / 0.7956 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.651, allocations: 3.25 kB / 0.7956 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.6513, allocations: 54.95 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.6514, allocations: 20.55 kB / 0.7956 GB, free: 43.29 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.0001238/0.6515, allocations: 157.7 kB / 0.7958 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.6516, allocations: 22.16 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.6521, allocations: 361.9 kB / 0.7962 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.6522, allocations: 10.66 kB / 0.7962 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.6522, allocations: 3.375 kB / 0.7962 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6522, allocations: 6.703 kB / 0.7962 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.6525, allocations: 347.9 kB / 0.7965 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6525, allocations: 3.406 kB / 0.7965 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.6528, allocations: 87.58 kB / 0.7966 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6528, allocations: 6.531 kB / 0.7966 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.6528, allocations: 13.47 kB / 0.7966 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.6528, allocations: 14.09 kB / 0.7966 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6529, allocations: 3.438 kB / 0.7966 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.6534, allocations: 0.4921 MB / 0.7971 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6536, allocations: 147.9 kB / 0.7973 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.6536, allocations: 13.69 kB / 0.7973 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.6539, allocations: 35.06 kB / 0.7973 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.654, allocations: 49.09 kB / 0.7973 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.654, allocations: 26.36 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.6541, allocations: 137.1 kB / 0.7975 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6541, allocations: 0 / 0.7975 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005602/0.6547, allocations: 210.4 kB / 0.7977 GB, free: 42.45 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.0004858/0.6552, allocations: 325.1 kB / 0.798 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006495/0.6558, allocations: 336.9 kB / 0.7983 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6559, allocations: 4 kB / 0.7983 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.6561, allocations: 182.4 kB / 0.7985 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.6564, allocations: 33.28 kB / 0.7985 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.6573, allocations: 0.543 MB / 0.7991 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.6576, allocations: 0.7687 MB / 0.7998 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.6578, allocations: 58.02 kB / 0.7999 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6579, allocations: 53.75 kB / 0.7999 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.6579, allocations: 0 / 0.7999 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.01194/0.6698, allocations: 5.6 MB / 0.8054 GB, free: 40.96 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)