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.01608/0.01609, allocations: 107 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.001833/0.001832, allocations: 181.7 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.382/2.382, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.404/2.404, allocations: 236.1 MB / 492.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006633, allocations: 12 kB / 0.587 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6877, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005872/0.6936, allocations: 3.355 MB / 0.6867 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.254/0.9477, allocations: 127.3 MB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009496/0.9487, allocations: 11.94 kB / 0.811 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.9492, allocations: 67.36 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.9518, allocations: 410.9 kB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.9544, allocations: 0.5766 MB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.9564, allocations: 0.7168 MB / 0.8127 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009565/0.9574, allocations: 434.3 kB / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.9582, allocations: 318.8 kB / 0.8134 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.9589, allocations: 298.5 kB / 0.8137 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.959, allocations: 24 kB / 0.8137 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.9601, allocations: 275.7 kB / 0.814 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.9604, allocations: 159.3 kB / 0.8142 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.9607, allocations: 177.2 kB / 0.8143 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.9628, allocations: 1.038 MB / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.9628, allocations: 0 / 0.8153 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.865e-06/0.9628, allocations: 3.938 kB / 0.8153 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.9629, allocations: 0 / 0.8153 GB, free: 6.867 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003104/0.966, allocations: 1.124 MB / 0.8164 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.966, allocations: 11.98 kB / 0.8164 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.9663, allocations: 134.7 kB / 0.8166 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.97, allocations: 334.4 kB / 0.8169 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.9718, allocations: 0.6369 MB / 0.8175 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.9719, allocations: 54 kB / 0.8176 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.9722, allocations: 76 kB / 0.8176 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.9764, allocations: 0.9205 MB / 0.8185 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.9765, allocations: 3.953 kB / 0.8185 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.9767, allocations: 32 kB / 0.8186 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.9767, allocations: 20 kB / 0.8186 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005866/0.9826, allocations: 1.206 MB / 0.8198 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.9962, allocations: 2.469 MB / 0.8222 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/1.012, allocations: 0.9601 MB / 0.8231 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.013, allocations: 482 kB / 0.8236 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006514/1.02, allocations: 0.5 MB / 0.8241 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 5.27e-06/1.02, allocations: 0 / 0.8241 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.01801/1.038, allocations: 1.273 MB / 0.8253 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.038, allocations: 164.1 kB / 0.8255 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/1.043, allocations: 0.5068 MB / 0.826 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002777/1.043, allocations: 41.7 kB / 0.826 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/1.044, allocations: 336.5 kB / 0.8263 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/1.044, allocations: 240.4 kB / 0.8266 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.045, allocations: 16 kB / 0.8266 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002593/1.045, allocations: 374.7 kB / 0.8269 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.047, allocations: 293.1 kB / 0.8272 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.052, allocations: 389.8 kB / 0.8276 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/1.054, allocations: 382.5 kB / 0.8279 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.054, allocations: 0 / 0.8279 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.006082/1.061, allocations: 0.9809 MB / 0.8289 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/1.061, allocations: 56.97 kB / 0.829 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.061, allocations: 8.094 kB / 0.829 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/1.062, allocations: 80.77 kB / 0.829 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/1.064, allocations: 159.8 kB / 0.8292 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/1.069, allocations: 1.542 MB / 0.8307 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.07, allocations: 100.8 kB / 0.8308 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.071, allocations: 35.97 kB / 0.8308 GB, free: 6.355 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 (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.0007082/1.071, allocations: 246 kB / 0.8311 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.072, allocations: 67.16 kB / 0.8311 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/1.077, allocations: 1.141 MB / 0.8322 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.077, allocations: 8 kB / 0.8322 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.077, allocations: 3.984 kB / 0.8323 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.077, allocations: 3.984 kB / 0.8323 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.079, allocations: 0.8488 MB / 0.8331 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.079, allocations: 4 kB / 0.8331 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/1.08, allocations: 159.8 kB / 0.8332 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/1.081, allocations: 76.78 kB / 0.8333 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.081, allocations: 31.97 kB / 0.8333 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/1.084, allocations: 1.567 MB / 0.8349 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.084, allocations: 0 / 0.8349 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/1.089, allocations: 0.943 MB / 0.8358 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/1.09, allocations: 299.8 kB / 0.8361 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/1.09, allocations: 16 kB / 0.8361 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.091, allocations: 79.92 kB / 0.8362 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/1.091, allocations: 56.88 kB / 0.8362 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.092, allocations: 31.98 kB / 0.8363 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007621/1.092, allocations: 374.8 kB / 0.8366 GB, free: 172 kB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.092, allocations: 0 / 0.8366 GB, free: 172 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001282/1.094, allocations: 295.3 kB / 0.8369 GB, free: 15.88 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 (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.006435/1.1, allocations: 2.017 MB / 0.8389 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003873/1.104, allocations: 0.9689 MB / 0.8398 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.104, allocations: 0 / 0.8398 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.106, allocations: 0.5392 MB / 0.8403 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.108, allocations: 176.5 kB / 0.8405 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/1.116, allocations: 2.927 MB / 0.8434 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/1.117, allocations: 0.9949 MB / 0.8443 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001848/1.119, allocations: 261.3 kB / 0.8446 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/1.119, allocations: 319.3 kB / 0.8449 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of SimCode: time 1.192e-06/1.12, allocations: 3.938 kB / 0.8449 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/1.189, allocations: 18.71 MB / 0.8632 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004088/1.189, allocations: 331.3 kB / 0.8635 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/4.662, allocations: 4.062 kB / 0.8635 GB, free: 4.926 MB / 0.6823 GB