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.Examples.DiffusePerez.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadModel(Buildings): time 3.827/3.827, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.596e-05, allocations: 3.359 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 98.72 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/5.664, allocations: 2.189 GB / 2.824 GB, free: 176 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/5.664, allocations: 83.95 kB / 2.824 GB, free: 176 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3229/5.987, allocations: 95.59 MB / 2.917 GB, free: 79.99 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.304e-06/5.987, allocations: 4 kB / 2.917 GB, free: 79.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001126/5.987, allocations: 47.88 kB / 2.917 GB, free: 79.94 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.004626/5.992, allocations: 1.883 MB / 2.919 GB, free: 77.99 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/5.992, allocations: 8.031 kB / 2.919 GB, free: 77.98 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/6.008, allocations: 1.913 MB / 2.921 GB, free: 76.06 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/6.01, allocations: 0.974 MB / 2.922 GB, free: 75.05 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/6.01, allocations: 139.8 kB / 2.922 GB, free: 74.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/6.011, allocations: 180 kB / 2.922 GB, free: 74.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/6.017, allocations: 2.371 MB / 2.925 GB, free: 72.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/6.017, allocations: 0 / 2.925 GB, free: 72.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/6.018, allocations: 76 kB / 2.925 GB, free: 72.25 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/6.018, allocations: 48 kB / 2.925 GB, free: 72.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/6.025, allocations: 2.95 MB / 2.928 GB, free: 69.25 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/6.043, allocations: 6.302 MB / 2.934 GB, free: 62.87 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/6.048, allocations: 2.081 MB / 2.936 GB, free: 60.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/6.051, allocations: 1.066 MB / 2.937 GB, free: 59.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/6.052, allocations: 0.4995 MB / 2.937 GB, free: 59.12 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003239/6.055, allocations: 1.345 MB / 2.939 GB, free: 57.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=192): time 6.064e-06/6.055, allocations: 0 / 2.939 GB, free: 57.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=192): time 0.00636/6.061, allocations: 2.125 MB / 2.941 GB, free: 55.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/6.061, allocations: 227.6 kB / 2.941 GB, free: 55.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/6.063, allocations: 0.7076 MB / 2.942 GB, free: 54.63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/6.063, allocations: 57.7 kB / 2.942 GB, free: 54.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/6.064, allocations: 0.5947 MB / 2.942 GB, free: 53.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000739/6.064, allocations: 0.6197 MB / 2.943 GB, free: 53.33 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/6.065, allocations: 36 kB / 2.943 GB, free: 53.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001887/6.065, allocations: 426.7 kB / 2.943 GB, free: 52.87 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/6.067, allocations: 0.8202 MB / 2.944 GB, free: 52.05 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/6.07, allocations: 0.9923 MB / 2.945 GB, free: 51.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/6.072, allocations: 0.9111 MB / 2.946 GB, free: 50.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.84e-06/6.072, allocations: 0 / 2.946 GB, free: 50.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00644/6.078, allocations: 2.297 MB / 2.948 GB, free: 47.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/6.079, allocations: 59.41 kB / 2.948 GB, free: 47.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/6.079, allocations: 0 / 2.948 GB, free: 47.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/6.079, allocations: 96.91 kB / 2.948 GB, free: 47.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/6.084, allocations: 0.5538 MB / 2.949 GB, free: 47.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/6.086, allocations: 1.528 MB / 2.951 GB, free: 45.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/6.089, allocations: 334.3 kB / 2.951 GB, free: 45.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/6.09, allocations: 87.89 kB / 2.951 GB, free: 44.98 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (205): * Single equations (assignments): 202 * 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.0005954/6.091, allocations: 192.9 kB / 2.951 GB, free: 44.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/6.091, allocations: 134.4 kB / 2.951 GB, free: 44.65 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008419/6.099, allocations: 2.753 MB / 2.954 GB, free: 41.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/6.1, allocations: 20 kB / 2.954 GB, free: 41.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.93e-06/6.1, allocations: 0 / 2.954 GB, free: 41.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/6.1, allocations: 11.95 kB / 2.954 GB, free: 41.85 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/6.111, allocations: 4.923 MB / 2.959 GB, free: 36.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/6.111, allocations: 0 / 2.959 GB, free: 36.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004376/6.116, allocations: 0.5344 MB / 2.959 GB, free: 36.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006584/6.116, allocations: 92.77 kB / 2.959 GB, free: 36.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/6.117, allocations: 63.92 kB / 2.959 GB, free: 36.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/6.119, allocations: 1.54 MB / 2.961 GB, free: 34.48 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.909e-06/6.119, allocations: 3.938 kB / 2.961 GB, free: 34.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006169/6.125, allocations: 2.301 MB / 2.963 GB, free: 32.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/6.127, allocations: 0.5337 MB / 2.964 GB, free: 31.61 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/6.127, allocations: 39.95 kB / 2.964 GB, free: 31.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/6.13, allocations: 259.7 kB / 2.964 GB, free: 31.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/6.131, allocations: 125.8 kB / 2.964 GB, free: 31.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/6.131, allocations: 87.84 kB / 2.964 GB, free: 31.11 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001134/6.132, allocations: 0.597 MB / 2.965 GB, free: 30.49 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.001e-06/6.132, allocations: 4 kB / 2.965 GB, free: 30.49 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003104/6.135, allocations: 0.6234 MB / 2.965 GB, free: 29.86 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.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * 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.002954/6.138, allocations: 1.08 MB / 2.966 GB, free: 28.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005963/6.144, allocations: 2.346 MB / 2.969 GB, free: 26.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.625e-06/6.144, allocations: 4 kB / 2.969 GB, free: 26.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/6.148, allocations: 1.283 MB / 2.97 GB, free: 25.23 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/6.149, allocations: 222.7 kB / 2.97 GB, free: 25.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/6.157, allocations: 2.731 MB / 2.973 GB, free: 22.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/6.158, allocations: 1.341 MB / 2.974 GB, free: 20.88 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005555/6.164, allocations: 0.5374 MB / 2.975 GB, free: 20.34 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/6.165, allocations: 215.2 kB / 2.975 GB, free: 20.12 MB / 0.823 GB Notification: Performance of SimCode: time 2.243e-06/6.165, allocations: 0 / 2.975 GB, free: 20.12 MB / 0.823 GB Notification: Performance of Templates: time 0.5276/6.693, allocations: 33.44 MB / 3.008 GB, free: 252.9 MB / 0.823 GB