Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.671/1.671, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001062/0.001062, allocations: 171.5 kB / 393.1 MB, free: 4.109 MB / 314.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.386/1.386, allocations: 225.7 MB / 0.6743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009325, allocations: 94.66 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 9.469 kB / 0.9224 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001616/0.6016, allocations: 1.211 MB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.6027, allocations: 0.7181 MB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.6027, allocations: 1.375 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.6029, allocations: 76.56 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.6031, allocations: 81.98 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.6034, allocations: 68.83 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.6035, allocations: 95.86 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.6036, allocations: 6.906 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.6038, allocations: 54.8 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.6039, allocations: 86.25 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.6039, allocations: 3.312 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.604, allocations: 71.92 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.6041, allocations: 20.86 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.6042, allocations: 67.22 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.6043, allocations: 132.9 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6044, allocations: 0 / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6044, allocations: 1.969 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6044, allocations: 0 / 1.043 GB, free: 56.83 MB / 0.698 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.0004297/0.6048, allocations: 437 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6048, allocations: 6.781 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.6049, allocations: 15.5 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.6051, allocations: 213.3 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.6051, allocations: 1.875 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.6051, allocations: 4.969 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.6053, allocations: 111.6 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6053, allocations: 8.562 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6053, allocations: 0.5 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6053, allocations: 3.219 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.6054, allocations: 59.61 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.6057, allocations: 296.9 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6059, allocations: 104.1 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.6059, allocations: 71.95 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.606, allocations: 3.188 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6062, allocations: 148.2 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.6062, allocations: 1.172 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003627/0.6065, allocations: 299.1 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6066, allocations: 112.6 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.6067, allocations: 202.4 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6068, allocations: 33.17 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.6068, allocations: 105.6 kB / 1.046 GB, free: 55.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.6069, allocations: 28.09 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6069, allocations: 1.375 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.6069, allocations: 334.7 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.607, allocations: 48.97 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.6071, allocations: 71.94 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.6072, allocations: 173.5 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6072, allocations: 0 / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.6075, allocations: 241.4 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.6075, allocations: 38.23 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6075, allocations: 0.5312 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6075, allocations: 2.594 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.6076, allocations: 9.812 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6076, allocations: 7.547 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.6077, allocations: 4.25 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6077, allocations: 7.062 kB / 1.047 GB, free: 54.41 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.6078, allocations: 180.1 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.6079, allocations: 15.56 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.608, allocations: 70.03 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.608, allocations: 3.938 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.608, allocations: 2.219 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.608, allocations: 4.156 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.6081, allocations: 214.7 kB / 1.047 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6082, allocations: 0 / 1.047 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.6082, allocations: 11.91 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6082, allocations: 3.656 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6082, allocations: 5.641 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6082, allocations: 0 / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6082, allocations: 0 / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.6085, allocations: 309.9 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.6086, allocations: 105.4 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.6086, allocations: 7.891 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.6087, allocations: 5.219 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6087, allocations: 2.312 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.6088, allocations: 13.55 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.219e-05/0.6089, allocations: 154.9 kB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6089, allocations: 0 / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000216/0.6091, allocations: 34.92 kB / 1.048 GB, free: 53.6 MB / 0.698 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 (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.0001639/0.6093, allocations: 136.8 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.6095, allocations: 219.6 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6095, allocations: 0 / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6096, allocations: 151 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.6099, allocations: 10.98 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.6103, allocations: 360.1 kB / 1.048 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.6105, allocations: 0.7278 MB / 1.049 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.6105, allocations: 0 / 1.049 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.6105, allocations: 9.812 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.6105, allocations: 2.469 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of Templates: time 0.003448/0.614, allocations: 1.264 MB / 1.05 GB, free: 52.23 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)