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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 221.6 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.001114/0.001113, allocations: 179 kB / 16.06 MB, free: 5.828 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 3.842/3.842, 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.262/4.262, allocations: 472.3 MB / 0.9018 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004836, allocations: 15.94 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6627, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004605/0.6674, allocations: 3.45 MB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.8377, allocations: 136.3 MB / 1.241 GB, free: 98.59 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.8385, allocations: 11.94 kB / 1.241 GB, free: 98.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.8388, allocations: 67.41 kB / 1.241 GB, free: 98.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.8402, allocations: 376.9 kB / 1.241 GB, free: 98.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.8421, allocations: 0.5649 MB / 1.242 GB, free: 97.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.8433, allocations: 1.027 MB / 1.243 GB, free: 96.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.8439, allocations: 436.8 kB / 1.243 GB, free: 96.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.8444, allocations: 302.6 kB / 1.243 GB, free: 95.86 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.8448, allocations: 330.5 kB / 1.244 GB, free: 95.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.8449, allocations: 20 kB / 1.244 GB, free: 95.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.8457, allocations: 303.5 kB / 1.244 GB, free: 95.22 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.8459, allocations: 159.3 kB / 1.244 GB, free: 95.07 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.846, allocations: 173.2 kB / 1.244 GB, free: 94.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.8471, allocations: 1.034 MB / 1.245 GB, free: 93.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.334e-06/0.8471, allocations: 0 / 1.245 GB, free: 93.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.351e-06/0.8471, allocations: 0 / 1.245 GB, free: 93.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.8471, allocations: 0 / 1.245 GB, free: 93.86 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.001807/0.8489, allocations: 1.132 MB / 1.246 GB, free: 92.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.849, allocations: 8.031 kB / 1.246 GB, free: 92.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.8514, allocations: 334.3 kB / 1.247 GB, free: 92.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.8525, allocations: 0.6369 MB / 1.247 GB, free: 91.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.8526, allocations: 58 kB / 1.247 GB, free: 91.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.8527, allocations: 72 kB / 1.247 GB, free: 91.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.8547, allocations: 0.9205 MB / 1.248 GB, free: 90.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.8548, allocations: 0 / 1.248 GB, free: 90.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.8549, allocations: 39.89 kB / 1.248 GB, free: 90.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.8549, allocations: 20 kB / 1.248 GB, free: 90.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.8576, allocations: 1.21 MB / 1.249 GB, free: 89.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/0.8622, allocations: 2.465 MB / 1.252 GB, free: 86.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.8654, allocations: 0.9593 MB / 1.253 GB, free: 85.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008983/0.8663, allocations: 342.6 kB / 1.253 GB, free: 85.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.8669, allocations: 478.1 kB / 1.254 GB, free: 84.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.8682, allocations: 0.5078 MB / 1.254 GB, free: 84.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.515e-06/0.8682, allocations: 0 / 1.254 GB, free: 84.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.004243/0.8724, allocations: 1.272 MB / 1.255 GB, free: 83.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.8725, allocations: 162.9 kB / 1.256 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.8732, allocations: 0.5106 MB / 1.256 GB, free: 82.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.576e-05/0.8733, allocations: 41.7 kB / 1.256 GB, free: 82.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.8735, allocations: 328.5 kB / 1.256 GB, free: 82.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.8737, allocations: 236.5 kB / 1.257 GB, free: 81.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.8738, allocations: 16 kB / 1.257 GB, free: 81.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8739, allocations: 374.7 kB / 1.257 GB, free: 81.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.8748, allocations: 313.8 kB / 1.257 GB, free: 81.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.8758, allocations: 407.9 kB / 1.258 GB, free: 80.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.8768, allocations: 410.2 kB / 1.258 GB, free: 80.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8769, allocations: 0 / 1.258 GB, free: 80.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002887/0.8798, allocations: 1.032 MB / 1.259 GB, free: 79.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.8798, allocations: 59.41 kB / 1.259 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.529e-06/0.8798, allocations: 0 / 1.259 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.8805, allocations: 92.8 kB / 1.259 GB, free: 79.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8815, allocations: 171.8 kB / 1.259 GB, free: 78.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.8835, allocations: 1.531 MB / 1.261 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.8844, allocations: 99.31 kB / 1.261 GB, free: 77.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.8846, allocations: 31.98 kB / 1.261 GB, free: 77.08 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0004668/0.8851, allocations: 255.1 kB / 1.261 GB, free: 76.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8852, allocations: 78.66 kB / 1.261 GB, free: 76.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.8886, allocations: 1.133 MB / 1.262 GB, free: 75.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8887, allocations: 8 kB / 1.262 GB, free: 75.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-06/0.8887, allocations: 4 kB / 1.262 GB, free: 75.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.8887, allocations: 7.125 kB / 1.262 GB, free: 75.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.8898, allocations: 0.841 MB / 1.263 GB, free: 74.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-06/0.8899, allocations: 0 / 1.263 GB, free: 74.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/0.8908, allocations: 155.8 kB / 1.263 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005694/0.8914, allocations: 84.77 kB / 1.263 GB, free: 74.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.8915, allocations: 27.98 kB / 1.263 GB, free: 74.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.8934, allocations: 1.55 MB / 1.265 GB, free: 72.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.488e-06/0.8934, allocations: 0 / 1.265 GB, free: 72.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.8961, allocations: 0.9508 MB / 1.266 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.8966, allocations: 291.9 kB / 1.266 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.8968, allocations: 18.81 kB / 1.266 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.8976, allocations: 79.92 kB / 1.266 GB, free: 71.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.8978, allocations: 56.88 kB / 1.266 GB, free: 71.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/0.8979, allocations: 35.98 kB / 1.266 GB, free: 71.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004922/0.8984, allocations: 366.8 kB / 1.267 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.81e-07/0.8984, allocations: 4 kB / 1.267 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009538/0.8993, allocations: 307.1 kB / 1.267 GB, free: 70.65 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.001827/0.9012, allocations: 0.6051 MB / 1.268 GB, free: 70.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.9036, allocations: 1.014 MB / 1.269 GB, free: 69.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.592e-06/0.9037, allocations: 0 / 1.269 GB, free: 69.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.905, allocations: 0.5393 MB / 1.269 GB, free: 68.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.9061, allocations: 183.8 kB / 1.269 GB, free: 68.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.9104, allocations: 2.018 MB / 1.271 GB, free: 66.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.9108, allocations: 0.991 MB / 1.272 GB, free: 65.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0014/0.9123, allocations: 270 kB / 1.273 GB, free: 65.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.9126, allocations: 95.39 kB / 1.273 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.777e-06/0.9127, allocations: 0 / 1.273 GB, free: 65.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.02729/0.94, allocations: 12.7 MB / 1.285 GB, free: 52.91 MB / 0.7292 GB