Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadModel(Buildings): time 3.853/3.853, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.686e-05, allocations: 4 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5809, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.7746, allocations: 125 MB / 0.751 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.7749, allocations: 79.78 kB / 0.751 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.7873, allocations: 3.044 MB / 0.754 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.559e-06/0.7874, allocations: 0 / 0.754 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.7874, allocations: 7.938 kB / 0.754 GB, free: 15.42 MB / 0.6355 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.0005034/0.7879, allocations: 425.9 kB / 0.7544 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.788, allocations: 16.02 kB / 0.7545 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.788, allocations: 27.83 kB / 0.7545 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.7884, allocations: 203.6 kB / 0.7547 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.7884, allocations: 7.938 kB / 0.7547 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7884, allocations: 0 / 0.7547 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/0.7886, allocations: 67.91 kB / 0.7547 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.7889, allocations: 123.3 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-06/0.7889, allocations: 0 / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.7889, allocations: 4 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-06/0.7889, allocations: 0 / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.7894, allocations: 357.6 kB / 0.7552 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.7896, allocations: 117.1 kB / 0.7553 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.7898, allocations: 77.75 kB / 0.7554 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.7898, allocations: 4 kB / 0.7554 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.7901, allocations: 166.7 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.372e-06/0.7901, allocations: 0 / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006074/0.7908, allocations: 191 kB / 0.7557 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.7909, allocations: 114.7 kB / 0.7558 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.7911, allocations: 178.6 kB / 0.756 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.7911, allocations: 25.7 kB / 0.756 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.7912, allocations: 116.1 kB / 0.7562 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.7913, allocations: 19.72 kB / 0.7562 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.7913, allocations: 0 / 0.7562 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7915, allocations: 326.8 kB / 0.7565 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.7916, allocations: 67.97 kB / 0.7565 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.7918, allocations: 73.67 kB / 0.7566 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.792, allocations: 67.97 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-06/0.792, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004569/0.7925, allocations: 193.3 kB / 0.7569 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.7925, allocations: 41.69 kB / 0.7569 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7926, allocations: 0 / 0.7569 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.7926, allocations: 7.984 kB / 0.7569 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.7927, allocations: 8 kB / 0.7569 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.651e-06/0.7927, allocations: 0 / 0.7569 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.7928, allocations: 7.938 kB / 0.7569 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.7928, allocations: 8 kB / 0.7569 GB, free: 12.17 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001415/0.793, allocations: 149 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.7931, allocations: 15.81 kB / 0.7571 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.7932, allocations: 67.48 kB / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.798e-06/0.7933, allocations: 11.95 kB / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-06/0.7933, allocations: 0 / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7933, allocations: 0 / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.7936, allocations: 198.1 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-06/0.7936, allocations: 0 / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.7936, allocations: 7.984 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.7937, allocations: 4 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.7937, allocations: 7.938 kB / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-06/0.7937, allocations: 0 / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.018e-06/0.7937, allocations: 0 / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.7943, allocations: 261 kB / 0.7576 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.7945, allocations: 112.9 kB / 0.7577 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.7946, allocations: 11.95 kB / 0.7577 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.7946, allocations: 4 kB / 0.7577 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.7947, allocations: 3.984 kB / 0.7578 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.7947, allocations: 8 kB / 0.7578 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001562/0.7949, allocations: 145.2 kB / 0.7579 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.02e-07/0.7949, allocations: 0 / 0.7579 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003438/0.7953, allocations: 39.94 kB / 0.7579 GB, free: 11.05 MB / 0.6355 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0002368/0.7955, allocations: 135.2 kB / 0.7581 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.7959, allocations: 203.3 kB / 0.7583 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.773e-06/0.7959, allocations: 0 / 0.7583 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.7961, allocations: 147.4 kB / 0.7584 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.7963, allocations: 18.36 kB / 0.7584 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.7968, allocations: 213.6 kB / 0.7586 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.7973, allocations: 0.7306 MB / 0.7593 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.7973, allocations: 7.938 kB / 0.7593 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.7974, allocations: 15.38 kB / 0.7594 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of SimCode: time 1.439e-06/0.7974, allocations: 0 / 0.7594 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of Templates: time 0.004488/0.8019, allocations: 1.043 MB / 0.7604 GB, free: 8.469 MB / 0.6355 GB