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.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.01289/0.01289, allocations: 225 kB / 15.18 MB, free: 5.926 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.001271/0.001271, allocations: 179.1 kB / 16.06 MB, free: 5.832 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 4.267/4.267, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.528/4.528, allocations: 472.3 MB / 0.9017 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005037, allocations: 11.98 kB / 1.008 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7735, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005623/0.7792, allocations: 3.446 MB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.973, allocations: 136.3 MB / 1.241 GB, free: 98.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007718/0.9738, allocations: 11.94 kB / 1.241 GB, free: 98.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.9742, allocations: 63.41 kB / 1.241 GB, free: 98.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.9758, allocations: 377.2 kB / 1.241 GB, free: 98.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.9779, allocations: 0.5717 MB / 1.242 GB, free: 97.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.9794, allocations: 1.023 MB / 1.243 GB, free: 96.49 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.9802, allocations: 442.1 kB / 1.243 GB, free: 96.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005941/0.9808, allocations: 298.7 kB / 1.243 GB, free: 95.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.9814, allocations: 330.5 kB / 1.244 GB, free: 95.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.9815, allocations: 23.94 kB / 1.244 GB, free: 95.44 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.9825, allocations: 303.5 kB / 1.244 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.9828, allocations: 163.3 kB / 1.244 GB, free: 94.98 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.983, allocations: 173.2 kB / 1.244 GB, free: 94.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.9846, allocations: 1.035 MB / 1.245 GB, free: 93.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.9846, allocations: 0 / 1.245 GB, free: 93.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9846, allocations: 0 / 1.245 GB, free: 93.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9846, allocations: 0 / 1.245 GB, free: 93.77 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002668/0.9873, allocations: 1.139 MB / 1.246 GB, free: 92.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.9874, allocations: 12.03 kB / 1.246 GB, free: 92.56 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.9876, allocations: 118.8 kB / 1.247 GB, free: 92.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.991, allocations: 330.4 kB / 1.247 GB, free: 92.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.9924, allocations: 0.637 MB / 1.247 GB, free: 91.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.9925, allocations: 58 kB / 1.247 GB, free: 91.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.9926, allocations: 76 kB / 1.248 GB, free: 91.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.9952, allocations: 0.9166 MB / 1.248 GB, free: 90.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9953, allocations: 7.953 kB / 1.248 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.9954, allocations: 36 kB / 1.249 GB, free: 90.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.9955, allocations: 16 kB / 1.249 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.999, allocations: 1.206 MB / 1.25 GB, free: 89.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/1.005, allocations: 2.478 MB / 1.252 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/1.01, allocations: 0.9581 MB / 1.253 GB, free: 85.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/1.011, allocations: 338.1 kB / 1.253 GB, free: 85.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/1.012, allocations: 478.1 kB / 1.254 GB, free: 84.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/1.014, allocations: 0.5078 MB / 1.254 GB, free: 84.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.597e-06/1.014, allocations: 0 / 1.254 GB, free: 84.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.006059/1.02, allocations: 1.273 MB / 1.256 GB, free: 82.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.02, allocations: 166.9 kB / 1.256 GB, free: 82.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/1.021, allocations: 0.499 MB / 1.256 GB, free: 82.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.021, allocations: 37.7 kB / 1.256 GB, free: 82.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.021, allocations: 336.5 kB / 1.257 GB, free: 81.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.021, allocations: 248.4 kB / 1.257 GB, free: 81.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/1.021, allocations: 16 kB / 1.257 GB, free: 81.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.022, allocations: 370.7 kB / 1.257 GB, free: 81.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.023, allocations: 297.1 kB / 1.257 GB, free: 80.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.024, allocations: 389.8 kB / 1.258 GB, free: 80.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.025, allocations: 386.5 kB / 1.258 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.025, allocations: 0 / 1.258 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003868/1.029, allocations: 0.977 MB / 1.259 GB, free: 79.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/1.029, allocations: 67.39 kB / 1.259 GB, free: 79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.029, allocations: 0 / 1.259 GB, free: 79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009396/1.03, allocations: 80.88 kB / 1.259 GB, free: 78.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.032, allocations: 159.8 kB / 1.259 GB, free: 78.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.034, allocations: 1.527 MB / 1.261 GB, free: 77.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.036, allocations: 103.1 kB / 1.261 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.036, allocations: 27.98 kB / 1.261 GB, free: 76.98 MB / 0.7292 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 (78): * Single equations (assignments): 75 * 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.0005699/1.036, allocations: 245.3 kB / 1.261 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.037, allocations: 75.16 kB / 1.261 GB, free: 76.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/1.041, allocations: 1.139 MB / 1.262 GB, free: 75.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.041, allocations: 12 kB / 1.263 GB, free: 75.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.041, allocations: 3.375 kB / 1.263 GB, free: 75.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.041, allocations: 3.984 kB / 1.263 GB, free: 75.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.043, allocations: 0.845 MB / 1.263 GB, free: 74.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.043, allocations: 4 kB / 1.263 GB, free: 74.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.044, allocations: 159.8 kB / 1.263 GB, free: 74.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/1.046, allocations: 84.11 kB / 1.264 GB, free: 74.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/1.046, allocations: 31.03 kB / 1.264 GB, free: 74.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/1.05, allocations: 1.544 MB / 1.265 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.05, allocations: 0 / 1.265 GB, free: 72.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/1.057, allocations: 0.9431 MB / 1.266 GB, free: 71.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.058, allocations: 299.8 kB / 1.266 GB, free: 71.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.058, allocations: 16 kB / 1.266 GB, free: 71.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.06, allocations: 79.92 kB / 1.266 GB, free: 71.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.06, allocations: 64.88 kB / 1.266 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.061, allocations: 27.98 kB / 1.266 GB, free: 71.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001004/1.062, allocations: 370.8 kB / 1.267 GB, free: 70.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.072e-06/1.062, allocations: 0 / 1.267 GB, free: 70.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001924/1.064, allocations: 295.3 kB / 1.267 GB, free: 70.56 MB / 0.7292 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 (81): * Single equations (assignments): 78 * 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.008939/1.073, allocations: 2.023 MB / 1.269 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005392/1.078, allocations: 0.965 MB / 1.27 GB, free: 67.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.078, allocations: 4 kB / 1.27 GB, free: 67.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.081, allocations: 0.5392 MB / 1.271 GB, free: 67.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.083, allocations: 193.2 kB / 1.271 GB, free: 67.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.107, allocations: 4.589 MB / 1.275 GB, free: 62.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/1.108, allocations: 0.9985 MB / 1.276 GB, free: 61.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002753/1.11, allocations: 269.6 kB / 1.276 GB, free: 61.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.112, allocations: 323.2 kB / 1.277 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/1.112, allocations: 0 / 1.277 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/1.18, allocations: 18.95 MB / 1.295 GB, free: 42.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/1.181, allocations: 349.3 kB / 1.296 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/4.847, allocations: 3.938 kB / 1.296 GB, free: 42.43 MB / 0.7292 GB