Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7637/0.7637, allocations: 143.8 MB / 159.1 MB, free: 6.52 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009538/0.0009539, allocations: 182.5 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.7 MB / 450.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007884/0.0007886, allocations: 106.8 kB / 0.5211 GB, free: 1.68 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0016/0.0016, allocations: 288.3 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004607, allocations: 19.34 kB / 0.6948 GB, free: 59.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001796/0.1612, allocations: 1.197 MB / 0.7765 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1623, allocations: 0.7316 MB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.1624, allocations: 0 / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1625, allocations: 67.83 kB / 0.7773 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1627, allocations: 83.81 kB / 0.7773 GB, free: 12.24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.163, allocations: 75.86 kB / 0.7774 GB, free: 12.17 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1632, allocations: 91.8 kB / 0.7775 GB, free: 12.08 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.1632, allocations: 4 kB / 0.7775 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1634, allocations: 51.83 kB / 0.7776 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1635, allocations: 87.83 kB / 0.7776 GB, free: 11.94 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1636, allocations: 4 kB / 0.7776 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1637, allocations: 63.88 kB / 0.7777 GB, free: 11.87 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1638, allocations: 35.91 kB / 0.7777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.1639, allocations: 61.39 kB / 0.7778 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1641, allocations: 139.8 kB / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1641, allocations: 0 / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1641, allocations: 0 / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1641, allocations: 0 / 0.7779 GB, free: 11.63 MB / 458.7 MB 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.0005138/0.1646, allocations: 436.6 kB / 0.7783 GB, free: 11.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1647, allocations: 8.031 kB / 0.7784 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.1647, allocations: 16.75 kB / 0.7784 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1649, allocations: 204.9 kB / 0.7786 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.165, allocations: 4.375 kB / 0.7786 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.165, allocations: 4.312 kB / 0.7786 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1652, allocations: 111.7 kB / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1652, allocations: 0 / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1652, allocations: 3.938 kB / 0.7787 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1652, allocations: 0 / 0.7787 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.1653, allocations: 63.91 kB / 0.7787 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.1658, allocations: 313.5 kB / 0.779 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1659, allocations: 93.19 kB / 0.7791 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.166, allocations: 77.69 kB / 0.7792 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.166, allocations: 4 kB / 0.7792 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.1663, allocations: 146.8 kB / 0.7794 GB, free: 9.969 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1663, allocations: 0 / 0.7794 GB, free: 9.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004484/0.1667, allocations: 295.1 kB / 0.7796 GB, free: 9.668 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1668, allocations: 106.8 kB / 0.7797 GB, free: 9.539 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.167, allocations: 203.5 kB / 0.7799 GB, free: 9.332 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.167, allocations: 29.7 kB / 0.78 GB, free: 9.297 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.1671, allocations: 112.3 kB / 0.7801 GB, free: 9.184 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1671, allocations: 23.7 kB / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.1672, allocations: 0 / 0.7801 GB, free: 9.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1673, allocations: 330.8 kB / 0.7804 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.1674, allocations: 55.91 kB / 0.7805 GB, free: 8.773 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.1675, allocations: 65.69 kB / 0.7805 GB, free: 8.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1676, allocations: 177.1 kB / 0.7807 GB, free: 8.512 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1677, allocations: 0 / 0.7807 GB, free: 8.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.168, allocations: 239.1 kB / 0.7809 GB, free: 8.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.168, allocations: 41.69 kB / 0.781 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.168, allocations: 3.938 kB / 0.781 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1681, allocations: 0 / 0.781 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.1681, allocations: 8 kB / 0.781 GB, free: 8.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1682, allocations: 4.172 kB / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.1682, allocations: 15.83 kB / 0.781 GB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1683, allocations: 12.02 kB / 0.781 GB, free: 8.176 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1684, allocations: 179.4 kB / 0.7812 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1684, allocations: 15.81 kB / 0.7812 GB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1686, allocations: 67.09 kB / 0.7812 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.1686, allocations: 3.984 kB / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1686, allocations: 0 / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1686, allocations: 4 kB / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1688, allocations: 213.5 kB / 0.7815 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1688, allocations: 0 / 0.7815 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1689, allocations: 12 kB / 0.7815 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1689, allocations: 4 kB / 0.7815 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1689, allocations: 4 kB / 0.7815 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1689, allocations: 4 kB / 0.7815 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1689, allocations: 0 / 0.7815 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1693, allocations: 303.4 kB / 0.7818 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.1694, allocations: 100.9 kB / 0.7819 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1694, allocations: 4 kB / 0.7819 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.1695, allocations: 8 kB / 0.7819 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1695, allocations: 7.984 kB / 0.7819 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1696, allocations: 15.86 kB / 0.7819 GB, free: 7.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1697, allocations: 148.9 kB / 0.782 GB, free: 6.988 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1697, allocations: 0 / 0.782 GB, free: 6.988 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1699, allocations: 39.94 kB / 0.7821 GB, free: 6.949 MB / 458.7 MB 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 (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.0001991/0.1701, allocations: 139.4 kB / 0.7822 GB, free: 6.805 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.1704, allocations: 219.3 kB / 0.7824 GB, free: 6.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1704, allocations: 0 / 0.7824 GB, free: 6.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1706, allocations: 151.3 kB / 0.7826 GB, free: 6.418 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1708, allocations: 14.23 kB / 0.7826 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1713, allocations: 348.3 kB / 0.7829 GB, free: 6.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1717, allocations: 0.7197 MB / 0.7836 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.1717, allocations: 4 kB / 0.7836 GB, free: 5.285 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1717, allocations: 15.38 kB / 0.7836 GB, free: 5.27 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1717, allocations: 0 / 0.7836 GB, free: 5.27 MB / 458.7 MB Notification: Performance of Templates: time 0.003921/0.1757, allocations: 1.254 MB / 0.7849 GB, free: 4.027 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)