Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 183 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006816/0.0006817, allocations: 80.09 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003306, allocations: 11.53 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2011, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0009015/0.2021, allocations: 0.5957 MB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.2045, allocations: 2.414 MB / 0.9038 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.2046, allocations: 3.938 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2046, allocations: 7.922 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.2049, allocations: 43.69 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.2057, allocations: 402.8 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.2059, allocations: 279.1 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.206, allocations: 17.67 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2061, allocations: 131.6 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2063, allocations: 143.5 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.2064, allocations: 12 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.2068, allocations: 279.8 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.2068, allocations: 59.78 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.2069, allocations: 57.64 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2073, allocations: 403.3 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2073, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2073, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2073, allocations: 4 kB / 0.9055 GB, free: 59.05 MB / 0.6042 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.001163/0.2085, allocations: 0.637 MB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2085, allocations: 12.03 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.2086, allocations: 23.81 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2087, allocations: 191.4 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.2088, allocations: 122.8 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.2089, allocations: 27.98 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2092, allocations: 231.7 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2092, allocations: 0 / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2092, allocations: 8 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2092, allocations: 4 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2094, allocations: 119.7 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.2098, allocations: 407 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.2111, allocations: 495.3 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.2112, allocations: 158.2 kB / 0.9079 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2113, allocations: 11.98 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.2117, allocations: 308.2 kB / 0.9082 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.2117, allocations: 4 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0007123/0.2124, allocations: 406.4 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.2125, allocations: 358.1 kB / 0.9089 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2126, allocations: 166.1 kB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.2127, allocations: 41.69 kB / 0.9091 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.2127, allocations: 93.14 kB / 0.9092 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.2128, allocations: 110.5 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.2128, allocations: 12 kB / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.2129, allocations: 338.8 kB / 0.9096 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.2132, allocations: 117 kB / 0.9098 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.2134, allocations: 165 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2137, allocations: 126 kB / 0.91 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2137, allocations: 0 / 0.91 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006098/0.2143, allocations: 376 kB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2143, allocations: 4 kB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2144, allocations: 0 / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2144, allocations: 4 kB / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.2147, allocations: 83.81 kB / 0.9105 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2148, allocations: 0 / 0.9105 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.2151, allocations: 63.66 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.2151, allocations: 19.98 kB / 0.9106 GB, free: 53.34 MB / 0.6042 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.2153, allocations: 149.7 kB / 0.9107 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2153, allocations: 27.72 kB / 0.9107 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.2159, allocations: 354.7 kB / 0.9111 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.2159, allocations: 8.188 kB / 0.9111 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.2159, allocations: 4 kB / 0.9111 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2159, allocations: 15.91 kB / 0.9111 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.2163, allocations: 353.1 kB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2163, allocations: 4 kB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.2166, allocations: 75.84 kB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2166, allocations: 8 kB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.2166, allocations: 19.98 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2166, allocations: 4.312 kB / 0.9115 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2167, allocations: 4 kB / 0.9115 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.2172, allocations: 0.4939 MB / 0.912 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2174, allocations: 152.5 kB / 0.9122 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.2174, allocations: 19.98 kB / 0.9122 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2177, allocations: 39.92 kB / 0.9122 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.2178, allocations: 47.89 kB / 0.9123 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.2178, allocations: 27.98 kB / 0.9123 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.2179, allocations: 131.8 kB / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2179, allocations: 0 / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005543/0.2185, allocations: 211.7 kB / 0.9126 GB, free: 51.08 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005457/0.219, allocations: 336.8 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.2196, allocations: 317.5 kB / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2196, allocations: 0 / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2199, allocations: 191.7 kB / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2201, allocations: 39.22 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.2211, allocations: 0.6506 MB / 0.9141 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2213, allocations: 0.7614 MB / 0.9148 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2214, allocations: 47.36 kB / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2214, allocations: 4 kB / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.007613/0.229, allocations: 5.212 MB / 0.92 GB, free: 43.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)