Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.982/3.982, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.634e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5016, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/5.89, allocations: 2.185 GB / 2.814 GB, free: 126.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/5.891, allocations: 102 kB / 2.814 GB, free: 126.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1931/6.084, allocations: 60.16 MB / 2.873 GB, free: 73.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.518e-06/6.084, allocations: 0 / 2.873 GB, free: 73.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.778e-05/6.084, allocations: 27.94 kB / 2.873 GB, free: 73.76 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.001818/6.086, allocations: 1.074 MB / 2.874 GB, free: 72.62 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/6.086, allocations: 12.02 kB / 2.874 GB, free: 72.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/6.088, allocations: 326.3 kB / 2.874 GB, free: 72.29 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/6.09, allocations: 0.5414 MB / 2.874 GB, free: 71.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/6.09, allocations: 35.94 kB / 2.875 GB, free: 71.67 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/6.09, allocations: 44 kB / 2.875 GB, free: 71.62 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002066/6.092, allocations: 1.066 MB / 2.876 GB, free: 70.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/6.093, allocations: 0.7528 MB / 2.876 GB, free: 69.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/6.094, allocations: 0 / 2.876 GB, free: 69.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/6.094, allocations: 0 / 2.876 GB, free: 69.77 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/6.094, allocations: 20 kB / 2.876 GB, free: 69.75 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/6.098, allocations: 2.329 MB / 2.879 GB, free: 67.37 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/6.101, allocations: 0.8021 MB / 2.879 GB, free: 66.56 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/6.101, allocations: 279.1 kB / 2.88 GB, free: 66.29 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/6.102, allocations: 474.3 kB / 2.88 GB, free: 65.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008196/6.103, allocations: 448.6 kB / 2.881 GB, free: 65.27 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 4.003e-06/6.103, allocations: 0 / 2.881 GB, free: 65.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.006251/6.109, allocations: 1.102 MB / 2.882 GB, free: 64.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/6.109, allocations: 218.4 kB / 2.882 GB, free: 63.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/6.11, allocations: 457.3 kB / 2.882 GB, free: 63.44 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/6.11, allocations: 29.64 kB / 2.882 GB, free: 63.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/6.11, allocations: 340.4 kB / 2.883 GB, free: 63.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/6.11, allocations: 232.5 kB / 2.883 GB, free: 62.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/6.111, allocations: 0 / 2.883 GB, free: 62.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000103/6.111, allocations: 366.7 kB / 2.883 GB, free: 62.47 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/6.111, allocations: 237.5 kB / 2.883 GB, free: 62.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/6.112, allocations: 334.6 kB / 2.884 GB, free: 61.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00488/6.117, allocations: 0.6484 MB / 2.884 GB, free: 61.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.047e-06/6.117, allocations: 0 / 2.884 GB, free: 61.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.006749/6.123, allocations: 1.175 MB / 2.886 GB, free: 60.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/6.124, allocations: 63.34 kB / 2.886 GB, free: 59.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-06/6.124, allocations: 0 / 2.886 GB, free: 59.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/6.124, allocations: 80.84 kB / 2.886 GB, free: 59.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/6.125, allocations: 159.8 kB / 2.886 GB, free: 59.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/6.127, allocations: 1.457 MB / 2.887 GB, free: 58.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/6.128, allocations: 79.47 kB / 2.887 GB, free: 58.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/6.128, allocations: 31.97 kB / 2.887 GB, free: 58.04 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 () * 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.0002179/6.129, allocations: 117 kB / 2.887 GB, free: 57.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/6.129, allocations: 67.23 kB / 2.888 GB, free: 57.86 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/6.135, allocations: 1.354 MB / 2.889 GB, free: 56.49 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/6.135, allocations: 8 kB / 2.889 GB, free: 56.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.436e-06/6.135, allocations: 0 / 2.889 GB, free: 56.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/6.135, allocations: 7.984 kB / 2.889 GB, free: 56.47 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/6.136, allocations: 0.7633 MB / 2.89 GB, free: 55.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.038e-06/6.136, allocations: 0 / 2.89 GB, free: 55.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000958/6.137, allocations: 163.8 kB / 2.89 GB, free: 55.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/6.138, allocations: 84.77 kB / 2.89 GB, free: 55.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/6.138, allocations: 19.97 kB / 2.89 GB, free: 55.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/6.14, allocations: 1.484 MB / 2.891 GB, free: 53.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-06/6.14, allocations: 4.062 kB / 2.891 GB, free: 53.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/6.146, allocations: 1.183 MB / 2.892 GB, free: 52.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/6.146, allocations: 291.9 kB / 2.893 GB, free: 52.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/6.146, allocations: 0 / 2.893 GB, free: 52.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/6.147, allocations: 71.92 kB / 2.893 GB, free: 52.22 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/6.147, allocations: 52.7 kB / 2.893 GB, free: 52.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/6.148, allocations: 39.91 kB / 2.893 GB, free: 52.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005168/6.148, allocations: 362.9 kB / 2.893 GB, free: 51.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.57e-07/6.148, allocations: 0 / 2.893 GB, free: 51.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001194/6.149, allocations: 339.1 kB / 2.894 GB, free: 51.44 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) * 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.002355/6.152, allocations: 1.111 MB / 2.895 GB, free: 50.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001713/6.153, allocations: 0.8413 MB / 2.895 GB, free: 49.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.699e-06/6.153, allocations: 0 / 2.895 GB, free: 49.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/6.154, allocations: 472.7 kB / 2.896 GB, free: 49.03 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/6.155, allocations: 146.6 kB / 2.896 GB, free: 48.89 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/6.159, allocations: 1.258 MB / 2.897 GB, free: 47.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/6.16, allocations: 0.9951 MB / 2.898 GB, free: 46.58 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001474/6.161, allocations: 260.7 kB / 2.899 GB, free: 46.32 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/6.161, allocations: 95.38 kB / 2.899 GB, free: 46.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.741e-06/6.161, allocations: 0 / 2.899 GB, free: 46.23 MB / 0.823 GB Notification: Performance of Templates: time 0.03331/6.195, allocations: 15.29 MB / 2.914 GB, free: 31.07 MB / 0.823 GB