Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 288.4 MB / 303.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001099, allocations: 185.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008249, allocations: 86.44 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 11.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008465/0.2153, allocations: 0.5873 MB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2173, allocations: 2.329 MB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.2174, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.2174, allocations: 7.875 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2176, allocations: 47.61 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.2183, allocations: 363 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.2185, allocations: 259.1 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.2186, allocations: 13.97 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2187, allocations: 127.6 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.2188, allocations: 131.5 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.2189, allocations: 12 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.2193, allocations: 279.8 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.2193, allocations: 55.8 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.2194, allocations: 61.62 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.2197, allocations: 383 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2197, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2197, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2197, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001145/0.2209, allocations: 0.6186 MB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2209, allocations: 12.03 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.221, allocations: 23.72 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2211, allocations: 190.7 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.2212, allocations: 130.8 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.2213, allocations: 27.98 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2216, allocations: 251.6 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2216, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.2217, allocations: 8 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2217, allocations: 4 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.2219, allocations: 119.7 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.2226, allocations: 0.9589 MB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.2238, allocations: 495.2 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.224, allocations: 150.4 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.224, allocations: 11.94 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.2244, allocations: 304 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.2245, allocations: 0 / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006733/0.2251, allocations: 409.3 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.2253, allocations: 354.1 kB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2254, allocations: 177.1 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2254, allocations: 41.69 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2255, allocations: 101.5 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.2255, allocations: 118.5 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.2256, allocations: 4 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.2257, allocations: 334.8 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.2259, allocations: 105 kB / 0.9889 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2261, allocations: 184.4 kB / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2264, allocations: 108 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2264, allocations: 0 / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006046/0.227, allocations: 368.9 kB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.227, allocations: 8 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.227, allocations: 0 / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2271, allocations: 7.953 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.2274, allocations: 83.88 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2274, allocations: 8.938 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.2277, allocations: 59.66 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.2278, allocations: 19.98 kB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.0001126/0.2279, allocations: 163.8 kB / 0.9898 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.2279, allocations: 23.72 kB / 0.9898 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.2285, allocations: 365.9 kB / 0.9902 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2285, allocations: 12 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.2285, allocations: 7.953 kB / 0.9902 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2285, allocations: 3.984 kB / 0.9902 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.2288, allocations: 349.1 kB / 0.9906 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2288, allocations: 4 kB / 0.9906 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.2291, allocations: 75.83 kB / 0.9906 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2291, allocations: 8 kB / 0.9906 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2291, allocations: 16 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.2292, allocations: 7.984 kB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2292, allocations: 4 kB / 0.9907 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.2297, allocations: 489.9 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2299, allocations: 152.5 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.2299, allocations: 12 kB / 0.9913 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.2302, allocations: 44.22 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.2303, allocations: 55.77 kB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.2303, allocations: 27.98 kB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.828e-05/0.2304, allocations: 127.2 kB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2304, allocations: 0 / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004743/0.2309, allocations: 211.8 kB / 0.9917 GB, free: 14.46 MB / 0.6198 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.0003945/0.2313, allocations: 318.5 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.2317, allocations: 311.9 kB / 0.9923 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2318, allocations: 0 / 0.9923 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.232, allocations: 179.7 kB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2322, allocations: 36.17 kB / 0.9925 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.233, allocations: 0.6399 MB / 0.9932 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2331, allocations: 0.7614 MB / 0.9939 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.2333, allocations: 51.55 kB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2334, allocations: 43.41 kB / 0.994 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2334, allocations: 0 / 0.994 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.006836/0.2403, allocations: 5.038 MB / 0.9989 GB, free: 7.02 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)