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 5.088/5.088, allocations: 0.5623 GB / 0.5776 GB, free: 3.395 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002545/0.002544, allocations: 356.7 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.143/4.143, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00184/0.00184, allocations: 184 kB / 1.226 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004797, allocations: 12 kB / 1.349 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7804, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001769/0.7822, allocations: 1.198 MB / 1.463 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.7834, allocations: 0.5686 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.7835, allocations: 5.312 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.7837, allocations: 72.62 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.7839, allocations: 72.94 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.7843, allocations: 74.28 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.7844, allocations: 71.81 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.7845, allocations: 5.344 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.7846, allocations: 56.72 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.7848, allocations: 75.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.7848, allocations: 4.812 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.785, allocations: 75.86 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.785, allocations: 24.5 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.7851, allocations: 44.33 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.7853, allocations: 93.97 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7853, allocations: 3.938 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7853, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7853, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 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.0005206/0.7858, allocations: 432.4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7859, allocations: 12.81 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.786, allocations: 11.91 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7862, allocations: 203.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7862, allocations: 6 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.7862, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.7864, allocations: 103.4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7865, allocations: 1.922 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7865, allocations: 8.625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.7865, allocations: 4.578 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.7866, allocations: 59.92 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.7871, allocations: 301.5 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7873, allocations: 89.2 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.7874, allocations: 82.39 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.7874, allocations: 1.781 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.7877, allocations: 146.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/0.7877, allocations: 0.5312 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0005452/0.7883, allocations: 304.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.7883, allocations: 110.8 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7885, allocations: 204.2 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.7886, allocations: 25.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.7886, allocations: 112.9 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.7887, allocations: 28.31 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.7887, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.7888, allocations: 323.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.7889, allocations: 61.81 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.789, allocations: 65.69 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.7891, allocations: 85.62 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7891, allocations: 1.281 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003582/0.7895, allocations: 239.1 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.7895, allocations: 37.69 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7896, allocations: 4.984 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7896, allocations: 4 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.7897, allocations: 4.812 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.7897, allocations: 4 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.7899, allocations: 8.453 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.7899, allocations: 5.312 kB / 1.467 GB, free: 278.7 MB / 0.8542 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.0001475/0.79, allocations: 173.5 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.7901, allocations: 25.53 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.7903, allocations: 63.08 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7903, allocations: 0 / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7903, allocations: 0.9375 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.7904, allocations: 104.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.7904, allocations: 16.59 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.7905, allocations: 4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.7906, allocations: 9 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004965/0.7911, allocations: 476.6 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004466/0.7916, allocations: 0.5089 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001342/0.7917, allocations: 89.19 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001482/0.7919, allocations: 155.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of Backend: time 8.31e-07/0.7919, allocations: 0.6875 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007757/0.7927, allocations: 258.7 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007347/0.7934, allocations: 0.7871 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.005297/0.7987, allocations: 1.264 MB / 1.47 GB, free: 274.7 MB / 0.8542 GB