Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.458/2.458, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001767/0.001767, allocations: 175.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 100 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 15.8 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1541, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00141/0.1556, allocations: 1.183 MB / 0.9799 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1565, allocations: 0.5829 MB / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.1566, allocations: 0 / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1567, allocations: 67.83 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1569, allocations: 87.8 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1572, allocations: 63.84 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.1573, allocations: 59.92 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.622e-05/0.1574, allocations: 15.86 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1575, allocations: 55.88 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1577, allocations: 71.8 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1577, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1578, allocations: 63.94 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.1579, allocations: 31.89 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.1579, allocations: 41.64 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1581, allocations: 92.08 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.497e-06/0.1581, allocations: 0 / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1581, allocations: 0 / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1581, allocations: 4 kB / 0.9811 GB, free: 25.77 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004129/0.1585, allocations: 436.4 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1586, allocations: 16.02 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.1586, allocations: 11.81 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1588, allocations: 199.6 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1588, allocations: 7.938 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1589, allocations: 4 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.159, allocations: 99.38 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-06/0.1591, allocations: 0 / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1591, allocations: 7.984 kB / 0.9818 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-06/0.1591, allocations: 4 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1592, allocations: 59.91 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.1596, allocations: 297.8 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1597, allocations: 93.2 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1598, allocations: 15.91 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.16, allocations: 142.7 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.16, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004813/0.1605, allocations: 376.4 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1605, allocations: 118.9 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1607, allocations: 207.1 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1608, allocations: 25.7 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.1608, allocations: 112.1 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1609, allocations: 19.72 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-06/0.1609, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.1609, allocations: 330.8 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.161, allocations: 55.97 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.1611, allocations: 73.62 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.318e-05/0.1612, allocations: 77.69 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-06/0.1613, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003137/0.1616, allocations: 239.1 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.1616, allocations: 37.7 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-06/0.1616, allocations: 3.984 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1617, allocations: 4 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1618, allocations: 4 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.176e-06/0.1618, allocations: 0 / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.747e-05/0.1619, allocations: 15.92 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1619, allocations: 4 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001271/0.1621, allocations: 171.5 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1621, allocations: 19.81 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.1623, allocations: 71.09 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-06/0.1623, allocations: 0 / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-06/0.1623, allocations: 0 / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1623, allocations: 11.94 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1625, allocations: 217.5 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-06/0.1625, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.1626, allocations: 7.984 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.544e-06/0.1626, allocations: 4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1626, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.473e-06/0.1626, allocations: 8.062 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-06/0.1626, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.163, allocations: 321 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1631, allocations: 97 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1632, allocations: 4 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.1633, allocations: 11.98 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1633, allocations: 4 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1633, allocations: 11.89 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001182/0.1635, allocations: 161.1 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.74e-07/0.1635, allocations: 0 / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003256/0.1638, allocations: 44 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001758/0.164, allocations: 130.8 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1643, allocations: 219.3 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.849e-06/0.1643, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1645, allocations: 151.3 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.1647, allocations: 12.17 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.1652, allocations: 347.4 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.1654, allocations: 0.7197 MB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.1655, allocations: 7.906 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.1655, allocations: 11.44 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.378e-06/0.1655, allocations: 0 / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.004408/0.1699, allocations: 1.233 MB / 0.9879 GB, free: 18.28 MB / 0.6198 GB