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.009116/0.009116, allocations: 110.2 kB / 15.06 MB, free: 5.965 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.001135/0.001135, allocations: 185.8 kB / 15.94 MB, free: 5.93 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 1.798/1.798, allocations: 194.5 MB / 211.2 MB, free: 11.31 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.157/2.157, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 20 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5463, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.99, allocations: 2.175 GB / 2.859 GB, free: 297.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/5.991, allocations: 95.56 kB / 2.859 GB, free: 297.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1959/6.187, allocations: 62.14 MB / 2.919 GB, free: 237.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.63e-06/6.187, allocations: 0 / 2.919 GB, free: 237.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.349e-05/6.187, allocations: 23.94 kB / 2.92 GB, free: 237.8 MB / 0.823 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.002034/6.189, allocations: 1.175 MB / 2.921 GB, free: 236.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/6.189, allocations: 8.031 kB / 2.921 GB, free: 236.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/6.191, allocations: 322.5 kB / 2.921 GB, free: 236.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/6.192, allocations: 0.5414 MB / 2.921 GB, free: 235.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/6.192, allocations: 61.95 kB / 2.922 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/6.193, allocations: 76 kB / 2.922 GB, free: 235.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/6.195, allocations: 0.9088 MB / 2.923 GB, free: 234.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/6.195, allocations: 4 kB / 2.923 GB, free: 234.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/6.195, allocations: 36 kB / 2.923 GB, free: 234.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/6.195, allocations: 20 kB / 2.923 GB, free: 234.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/6.198, allocations: 1.21 MB / 2.924 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/6.203, allocations: 2.496 MB / 2.926 GB, free: 230.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/6.206, allocations: 0.968 MB / 2.927 GB, free: 229.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/6.207, allocations: 466.2 kB / 2.928 GB, free: 229.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/6.208, allocations: 0.5233 MB / 2.928 GB, free: 228.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 4.197e-06/6.208, allocations: 0 / 2.928 GB, free: 228.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.004487/6.213, allocations: 1.297 MB / 2.929 GB, free: 227.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/6.213, allocations: 214.3 kB / 2.93 GB, free: 227.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/6.213, allocations: 0.5139 MB / 2.93 GB, free: 226.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/6.214, allocations: 41.7 kB / 2.93 GB, free: 226.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/6.214, allocations: 336.5 kB / 2.93 GB, free: 226.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/6.214, allocations: 244.5 kB / 2.931 GB, free: 225.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/6.214, allocations: 16 kB / 2.931 GB, free: 225.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001024/6.214, allocations: 370.7 kB / 2.931 GB, free: 225.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/6.215, allocations: 301.1 kB / 2.931 GB, free: 225.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/6.216, allocations: 394.7 kB / 2.932 GB, free: 224.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/6.217, allocations: 398.4 kB / 2.932 GB, free: 224.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.023e-06/6.217, allocations: 4 kB / 2.932 GB, free: 224.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002897/6.22, allocations: 0.977 MB / 2.933 GB, free: 223.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/6.22, allocations: 63.41 kB / 2.933 GB, free: 223.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.591e-06/6.22, allocations: 0 / 2.933 GB, free: 223.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/6.221, allocations: 84.83 kB / 2.933 GB, free: 223.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/6.222, allocations: 163.7 kB / 2.933 GB, free: 223.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/6.224, allocations: 1.544 MB / 2.935 GB, free: 221.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009933/6.225, allocations: 95.39 kB / 2.935 GB, free: 221.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/6.225, allocations: 35.97 kB / 2.935 GB, free: 221.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * 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.000559/6.226, allocations: 250.2 kB / 2.935 GB, free: 221.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/6.226, allocations: 71.16 kB / 2.935 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/6.23, allocations: 1.145 MB / 2.936 GB, free: 219.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/6.23, allocations: 8 kB / 2.936 GB, free: 219.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-06/6.23, allocations: 0 / 2.936 GB, free: 219.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/6.23, allocations: 7.984 kB / 2.936 GB, free: 219.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/6.231, allocations: 0.8761 MB / 2.937 GB, free: 218.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/6.231, allocations: 0 / 2.937 GB, free: 218.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/6.232, allocations: 155.8 kB / 2.937 GB, free: 218.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/6.233, allocations: 84.72 kB / 2.937 GB, free: 218.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/6.233, allocations: 23.98 kB / 2.938 GB, free: 218.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/6.235, allocations: 1.563 MB / 2.939 GB, free: 216.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-06/6.235, allocations: 0 / 2.939 GB, free: 216.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/6.238, allocations: 0.9664 MB / 2.94 GB, free: 215.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/6.238, allocations: 288.2 kB / 2.94 GB, free: 215.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/6.239, allocations: 23.98 kB / 2.94 GB, free: 215.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/6.239, allocations: 71.94 kB / 2.94 GB, free: 215.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/6.24, allocations: 64.86 kB / 2.94 GB, free: 215.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/6.24, allocations: 35.97 kB / 2.94 GB, free: 215.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006645/6.24, allocations: 426.8 kB / 2.941 GB, free: 215 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.85e-07/6.24, allocations: 0 / 2.941 GB, free: 215 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001282/6.242, allocations: 367 kB / 2.941 GB, free: 214.7 MB / 0.823 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.002467/6.244, allocations: 1.095 MB / 2.942 GB, free: 213.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002599/6.247, allocations: 0.9922 MB / 2.943 GB, free: 212.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.123e-06/6.247, allocations: 4 kB / 2.943 GB, free: 212.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/6.248, allocations: 0.5392 MB / 2.944 GB, free: 212.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/6.249, allocations: 176.5 kB / 2.944 GB, free: 212 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/6.254, allocations: 2.039 MB / 2.946 GB, free: 209.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/6.254, allocations: 0.9991 MB / 2.947 GB, free: 208.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001477/6.256, allocations: 257 kB / 2.947 GB, free: 208.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/6.256, allocations: 95.38 kB / 2.947 GB, free: 208.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.124e-06/6.256, allocations: 0 / 2.947 GB, free: 208.6 MB / 0.823 GB Notification: Performance of Templates: time 0.03973/6.296, allocations: 19.97 MB / 2.967 GB, free: 188.7 MB / 0.823 GB