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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 267.6 MB, free: 10.94 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.001047/0.001047, allocations: 184.2 kB / 327.3 MB, free: 2.199 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.756/1.756, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0007746/0.0007746, allocations: 93.56 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 13.16 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1961, allocations: 106.3 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008826/0.197, allocations: 0.5957 MB / 0.9014 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1996, allocations: 2.41 MB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1997, allocations: 3.938 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.1998, allocations: 3.938 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.2001, allocations: 47.67 kB / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2012, allocations: 410.8 kB / 0.9042 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.2015, allocations: 283 kB / 0.9045 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.2016, allocations: 13.67 kB / 0.9045 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2018, allocations: 123.7 kB / 0.9046 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2019, allocations: 147.5 kB / 0.9048 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.202, allocations: 16 kB / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.2025, allocations: 275.8 kB / 0.905 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.2025, allocations: 59.78 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.2026, allocations: 61.64 kB / 0.9052 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.203, allocations: 403.3 kB / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.203, allocations: 0 / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.203, allocations: 0 / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.203, allocations: 4 kB / 0.9055 GB, free: 59.41 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.001187/0.2042, allocations: 0.6409 MB / 0.9062 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2042, allocations: 8.031 kB / 0.9062 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.2043, allocations: 19.81 kB / 0.9062 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.2044, allocations: 187.5 kB / 0.9064 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2045, allocations: 130.8 kB / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2046, allocations: 16 kB / 0.9065 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2049, allocations: 239.7 kB / 0.9067 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2049, allocations: 0 / 0.9067 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2049, allocations: 4 kB / 0.9067 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2049, allocations: 4 kB / 0.9068 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.2051, allocations: 119.7 kB / 0.9069 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.2055, allocations: 403 kB / 0.9073 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2067, allocations: 499.3 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2068, allocations: 158.3 kB / 0.9079 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.2069, allocations: 15.92 kB / 0.9079 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.2072, allocations: 308.2 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.2073, allocations: 0 / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006978/0.208, allocations: 405.9 kB / 0.9086 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.2081, allocations: 358.6 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2082, allocations: 166.1 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2082, allocations: 37.7 kB / 0.9091 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2082, allocations: 97.12 kB / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.2083, allocations: 114.4 kB / 0.9093 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.2084, allocations: 8 kB / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.2084, allocations: 338.8 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.2087, allocations: 117.1 kB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.2089, allocations: 164.9 kB / 0.9099 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.2092, allocations: 121.9 kB / 0.91 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2092, allocations: 0 / 0.91 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006038/0.2098, allocations: 380.9 kB / 0.9104 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2098, allocations: 15.98 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2098, allocations: 0 / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.2098, allocations: 4 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.2102, allocations: 71.83 kB / 0.9105 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2102, allocations: 7.984 kB / 0.9105 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.2105, allocations: 55.8 kB / 0.9105 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2106, allocations: 23.98 kB / 0.9106 GB, free: 53.7 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.0001237/0.2107, allocations: 157.7 kB / 0.9107 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.2108, allocations: 23.72 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.2113, allocations: 362.7 kB / 0.9111 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2114, allocations: 8 kB / 0.9111 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2114, allocations: 4 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2114, allocations: 3.984 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.2117, allocations: 357.2 kB / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2117, allocations: 0 / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.212, allocations: 75.84 kB / 0.9115 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.212, allocations: 11.98 kB / 0.9115 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.2121, allocations: 19.98 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2121, allocations: 8 kB / 0.9115 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.2121, allocations: 4 kB / 0.9116 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.2127, allocations: 0.4902 MB / 0.912 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2128, allocations: 152.5 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.2129, allocations: 12 kB / 0.9122 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.2131, allocations: 43.97 kB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.2132, allocations: 51.83 kB / 0.9123 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.2133, allocations: 27.98 kB / 0.9123 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.2134, allocations: 127.8 kB / 0.9124 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2134, allocations: 4 kB / 0.9124 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006038/0.214, allocations: 215.7 kB / 0.9126 GB, free: 51.44 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.0004744/0.2145, allocations: 324.8 kB / 0.9129 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.215, allocations: 324.5 kB / 0.9133 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.215, allocations: 0 / 0.9133 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.2153, allocations: 183.7 kB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2156, allocations: 36.12 kB / 0.9135 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.2164, allocations: 0.6574 MB / 0.9141 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.2166, allocations: 0.7575 MB / 0.9148 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2167, allocations: 47.41 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2168, allocations: 4 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.006281/0.223, allocations: 5.191 MB / 0.92 GB, free: 43.84 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)