Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.03114/0.03114, allocations: 106.3 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001908/0.001908, allocations: 180.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.269/2.269, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.644/2.644, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006482, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7348, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005927/0.7408, allocations: 3.381 MB / 0.6867 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2268/0.9677, allocations: 127.3 MB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.9686, allocations: 11.94 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.969, allocations: 71.33 kB / 0.8111 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.9712, allocations: 410.9 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.9738, allocations: 0.5728 MB / 0.8121 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.9758, allocations: 0.7245 MB / 0.8128 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.9769, allocations: 491 kB / 0.8132 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.9778, allocations: 318.7 kB / 0.8135 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.9785, allocations: 314.4 kB / 0.8138 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.9786, allocations: 24 kB / 0.8139 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.9797, allocations: 279.7 kB / 0.8141 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.98, allocations: 167.3 kB / 0.8143 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.9803, allocations: 185.2 kB / 0.8145 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.9825, allocations: 1.081 MB / 0.8155 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9825, allocations: 0 / 0.8155 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.346e-06/0.9825, allocations: 0 / 0.8155 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.9826, allocations: 3.938 kB / 0.8155 GB, free: 6.77 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003224/0.9858, allocations: 1.174 MB / 0.8167 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.9859, allocations: 12.03 kB / 0.8167 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003898/0.9863, allocations: 139.4 kB / 0.8168 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.9906, allocations: 394.3 kB / 0.8172 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.9925, allocations: 0.6602 MB / 0.8178 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.9926, allocations: 66 kB / 0.8179 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.9929, allocations: 84 kB / 0.818 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.9966, allocations: 1.014 MB / 0.819 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.9967, allocations: 3.953 kB / 0.819 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.9969, allocations: 39.94 kB / 0.819 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.9969, allocations: 24 kB / 0.819 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005095/1.002, allocations: 1.3 MB / 0.8203 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008151/1.01, allocations: 2.652 MB / 0.8229 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/1.016, allocations: 1.007 MB / 0.8239 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.017, allocations: 474.1 kB / 0.8243 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/1.02, allocations: 0.5351 MB / 0.8248 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=74): time 3.797e-06/1.02, allocations: 0 / 0.8248 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74): time 0.009142/1.029, allocations: 1.344 MB / 0.8262 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.029, allocations: 170.9 kB / 0.8263 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.03, allocations: 0.5185 MB / 0.8268 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/1.031, allocations: 37.7 kB / 0.8269 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/1.031, allocations: 368.3 kB / 0.8272 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/1.032, allocations: 240.5 kB / 0.8274 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.032, allocations: 12 kB / 0.8275 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002553/1.032, allocations: 378.8 kB / 0.8278 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.035, allocations: 317.1 kB / 0.8281 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/1.037, allocations: 413.9 kB / 0.8285 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/1.044, allocations: 406.4 kB / 0.8289 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.044, allocations: 0 / 0.8289 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.01473/1.059, allocations: 1.024 MB / 0.8299 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/1.059, allocations: 63.39 kB / 0.83 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.059, allocations: 0 / 0.83 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/1.06, allocations: 84.83 kB / 0.83 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/1.063, allocations: 179.7 kB / 0.8302 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/1.071, allocations: 1.532 MB / 0.8317 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.073, allocations: 104.9 kB / 0.8318 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.073, allocations: 31.97 kB / 0.8318 GB, free: 5.398 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009574/1.074, allocations: 249.7 kB / 0.8321 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008316/1.083, allocations: 75.06 kB / 0.8321 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/1.095, allocations: 1.193 MB / 0.8333 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/1.095, allocations: 8 kB / 0.8333 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.095, allocations: 0 / 0.8333 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/1.095, allocations: 7.969 kB / 0.8333 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/1.098, allocations: 0.8722 MB / 0.8342 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.098, allocations: 4 kB / 0.8342 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005174/1.103, allocations: 171.8 kB / 0.8343 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/1.104, allocations: 84.77 kB / 0.8344 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/1.105, allocations: 23.98 kB / 0.8345 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/1.109, allocations: 1.548 MB / 0.836 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.109, allocations: 0 / 0.836 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006657/1.115, allocations: 1.002 MB / 0.8369 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.117, allocations: 295.7 kB / 0.8372 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/1.117, allocations: 19.95 kB / 0.8372 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.119, allocations: 87.92 kB / 0.8373 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/1.119, allocations: 64.91 kB / 0.8374 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.119, allocations: 27.98 kB / 0.8374 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007975/1.12, allocations: 386.8 kB / 0.8378 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.12, allocations: 4 kB / 0.8378 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001382/1.121, allocations: 303.2 kB / 0.8381 GB, free: 14.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007362/1.129, allocations: 2.059 MB / 0.8401 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004463/1.133, allocations: 1.027 MB / 0.8411 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.133, allocations: 4 kB / 0.8411 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.136, allocations: 0.5549 MB / 0.8416 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.137, allocations: 177.2 kB / 0.8418 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/1.147, allocations: 3.056 MB / 0.8448 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/1.148, allocations: 1.015 MB / 0.8458 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002037/1.15, allocations: 277.2 kB / 0.846 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.151, allocations: 343.3 kB / 0.8464 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/1.151, allocations: 0 / 0.8464 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07215/1.223, allocations: 18.94 MB / 0.8649 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000408/1.223, allocations: 317.2 kB / 0.8652 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.495/4.718, allocations: 0 / 0.8652 GB, free: 3.27 MB / 0.6823 GB