Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.01829/0.01829, allocations: 222.4 kB / 15.17 MB, free: 5.93 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.001821/0.00182, allocations: 178.4 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.106/4.106, allocations: 389 MB / 405.9 MB, free: 13.32 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.645/4.645, allocations: 472.3 MB / 0.9018 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005319, allocations: 12 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7365, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.008766/0.7454, allocations: 3.358 MB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.233/0.9785, allocations: 136.3 MB / 1.241 GB, free: 98.62 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.9793, allocations: 11.94 kB / 1.241 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.9797, allocations: 63.47 kB / 1.241 GB, free: 98.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.9814, allocations: 372.2 kB / 1.241 GB, free: 98.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.9836, allocations: 0.5651 MB / 1.241 GB, free: 97.63 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.9853, allocations: 0.9961 MB / 1.242 GB, free: 96.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008773/0.9862, allocations: 414.5 kB / 1.243 GB, free: 96.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007843/0.987, allocations: 290.7 kB / 1.243 GB, free: 95.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.9876, allocations: 322.4 kB / 1.243 GB, free: 95.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.9878, allocations: 23.56 kB / 1.243 GB, free: 95.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.9888, allocations: 299.6 kB / 1.244 GB, free: 95.33 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.989, allocations: 159.3 kB / 1.244 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.9893, allocations: 176.5 kB / 1.244 GB, free: 95 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.9908, allocations: 0.9991 MB / 1.245 GB, free: 94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.9909, allocations: 0 / 1.245 GB, free: 94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9909, allocations: 0 / 1.245 GB, free: 94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.9909, allocations: 0 / 1.245 GB, free: 94 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002587/0.9935, allocations: 1.116 MB / 1.246 GB, free: 92.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.9936, allocations: 12.03 kB / 1.246 GB, free: 92.81 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.9939, allocations: 118.6 kB / 1.246 GB, free: 92.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.997, allocations: 310.5 kB / 1.247 GB, free: 92.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.9985, allocations: 0.6292 MB / 1.247 GB, free: 91.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.9986, allocations: 58 kB / 1.247 GB, free: 91.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.9988, allocations: 68 kB / 1.247 GB, free: 91.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/1.001, allocations: 0.8815 MB / 1.248 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/1.001, allocations: 3.953 kB / 1.248 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/1.002, allocations: 36 kB / 1.248 GB, free: 90.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/1.002, allocations: 16 kB / 1.248 GB, free: 90.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/1.005, allocations: 1.171 MB / 1.249 GB, free: 89.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005798/1.011, allocations: 2.386 MB / 1.252 GB, free: 87.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/1.014, allocations: 0.9092 MB / 1.253 GB, free: 86.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.015, allocations: 321.2 kB / 1.253 GB, free: 85.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008605/1.016, allocations: 478 kB / 1.253 GB, free: 85.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/1.018, allocations: 490.6 kB / 1.254 GB, free: 84.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 3.627e-06/1.018, allocations: 0 / 1.254 GB, free: 84.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.006846/1.025, allocations: 1.195 MB / 1.255 GB, free: 83.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.025, allocations: 162.8 kB / 1.255 GB, free: 83.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/1.026, allocations: 0.5067 MB / 1.256 GB, free: 82.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/1.026, allocations: 45.7 kB / 1.256 GB, free: 82.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.026, allocations: 328.4 kB / 1.256 GB, free: 82.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.026, allocations: 232.6 kB / 1.256 GB, free: 82.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/1.026, allocations: 12 kB / 1.256 GB, free: 82.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.027, allocations: 366.8 kB / 1.257 GB, free: 81.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.028, allocations: 276.1 kB / 1.257 GB, free: 81.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/1.029, allocations: 369.9 kB / 1.257 GB, free: 81.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.03, allocations: 358.5 kB / 1.258 GB, free: 80.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.03, allocations: 3.953 kB / 1.258 GB, free: 80.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003627/1.034, allocations: 0.9379 MB / 1.258 GB, free: 79.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/1.034, allocations: 59.41 kB / 1.258 GB, free: 79.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.034, allocations: 3.688 kB / 1.258 GB, free: 79.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/1.035, allocations: 84.86 kB / 1.259 GB, free: 79.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.036, allocations: 151.8 kB / 1.259 GB, free: 79.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/1.039, allocations: 1.508 MB / 1.26 GB, free: 77.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.04, allocations: 95.17 kB / 1.26 GB, free: 77.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.04, allocations: 43.86 kB / 1.26 GB, free: 77.74 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 (75): * Single equations (assignments): 72 * 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.0005682/1.041, allocations: 230.4 kB / 1.261 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/1.041, allocations: 67.16 kB / 1.261 GB, free: 77.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/1.046, allocations: 1.052 MB / 1.262 GB, free: 76.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.046, allocations: 15.95 kB / 1.262 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.046, allocations: 0 / 1.262 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.046, allocations: 3.984 kB / 1.262 GB, free: 76.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/1.051, allocations: 1.882 MB / 1.263 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.051, allocations: 3.312 kB / 1.263 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.052, allocations: 155.8 kB / 1.264 GB, free: 74.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008421/1.053, allocations: 80.78 kB / 1.264 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.053, allocations: 23.98 kB / 1.264 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/1.056, allocations: 1.55 MB / 1.265 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.056, allocations: 0 / 1.265 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/1.06, allocations: 0.9552 MB / 1.266 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/1.061, allocations: 291.1 kB / 1.266 GB, free: 71.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.061, allocations: 12 kB / 1.266 GB, free: 71.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.063, allocations: 79.92 kB / 1.267 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.063, allocations: 56.58 kB / 1.267 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.063, allocations: 35.91 kB / 1.267 GB, free: 71.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006345/1.064, allocations: 362.8 kB / 1.267 GB, free: 70.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.064, allocations: 4 kB / 1.267 GB, free: 70.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001204/1.065, allocations: 279.3 kB / 1.267 GB, free: 70.39 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.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.006007/1.071, allocations: 2.023 MB / 1.269 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003323/1.074, allocations: 0.9209 MB / 1.27 GB, free: 67.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.074, allocations: 0 / 1.27 GB, free: 67.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.076, allocations: 0.5099 MB / 1.271 GB, free: 67.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.078, allocations: 190.2 kB / 1.271 GB, free: 66.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.093, allocations: 4.425 MB / 1.275 GB, free: 62.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.093, allocations: 0.9871 MB / 1.276 GB, free: 61.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002112/1.095, allocations: 254 kB / 1.276 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009905/1.096, allocations: 307.3 kB / 1.277 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/1.096, allocations: 0 / 1.277 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07564/1.172, allocations: 18.15 MB / 1.294 GB, free: 43.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.172, allocations: 323.5 kB / 1.295 GB, free: 43.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/4.795, allocations: 0 / 1.295 GB, free: 43.32 MB / 0.7292 GB