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/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.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.868/3.868, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.598e-05, allocations: 0 / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4926, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.39/5.882, allocations: 2.189 GB / 2.818 GB, free: 122.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.883, allocations: 95.77 kB / 2.818 GB, free: 122.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2994/6.182, allocations: 93.85 MB / 2.909 GB, free: 35.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.718e-06/6.182, allocations: 0 / 2.909 GB, free: 35.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.637e-05/6.182, allocations: 44 kB / 2.909 GB, free: 35.75 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.004081/6.186, allocations: 1.879 MB / 2.911 GB, free: 33.81 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/6.186, allocations: 15.97 kB / 2.911 GB, free: 33.79 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/6.201, allocations: 1.909 MB / 2.913 GB, free: 31.88 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/6.204, allocations: 0.9624 MB / 2.914 GB, free: 30.87 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/6.204, allocations: 67.88 kB / 2.914 GB, free: 30.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/6.204, allocations: 104 kB / 2.914 GB, free: 30.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007032/6.212, allocations: 2.85 MB / 2.917 GB, free: 27.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/6.217, allocations: 2.117 MB / 2.919 GB, free: 25.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/6.217, allocations: 0 / 2.919 GB, free: 25.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/6.217, allocations: 0 / 2.919 GB, free: 25.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/6.217, allocations: 51.95 kB / 2.919 GB, free: 25.64 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/6.233, allocations: 5.986 MB / 2.925 GB, free: 19.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/6.237, allocations: 1.973 MB / 2.927 GB, free: 17.61 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/6.24, allocations: 1.013 MB / 2.928 GB, free: 16.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/6.24, allocations: 0.5034 MB / 2.928 GB, free: 16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002611/6.243, allocations: 1.286 MB / 2.93 GB, free: 14.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=192): time 7.543e-06/6.243, allocations: 112 / 2.93 GB, free: 14.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=192): time 0.01921/6.262, allocations: 3.827 MB / 2.933 GB, free: 10.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/6.262, allocations: 227.6 kB / 2.933 GB, free: 10.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/6.263, allocations: 0.6094 MB / 2.934 GB, free: 9.965 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/6.264, allocations: 29.64 kB / 2.934 GB, free: 9.93 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/6.264, allocations: 0.5984 MB / 2.935 GB, free: 9.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/6.265, allocations: 0.5963 MB / 2.935 GB, free: 8.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/6.265, allocations: 0 / 2.935 GB, free: 8.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001616/6.265, allocations: 422.7 kB / 2.936 GB, free: 8.293 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/6.267, allocations: 0.7928 MB / 2.936 GB, free: 7.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/6.269, allocations: 0.9493 MB / 2.937 GB, free: 6.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/6.285, allocations: 2.629 MB / 2.94 GB, free: 3.891 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/6.285, allocations: 0 / 2.94 GB, free: 3.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.4793/6.764, allocations: 3.922 MB / 2.944 GB, free: 264.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/6.764, allocations: 64.56 kB / 2.944 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/6.764, allocations: 1.906 kB / 2.944 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/6.765, allocations: 85.14 kB / 2.944 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/6.77, allocations: 0.5603 MB / 2.944 GB, free: 264.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/6.772, allocations: 1.45 MB / 2.946 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/6.776, allocations: 283.6 kB / 2.946 GB, free: 263.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005108/6.776, allocations: 89.56 kB / 2.946 GB, free: 263.1 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.0005823/6.777, allocations: 133.5 kB / 2.946 GB, free: 263 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/6.777, allocations: 132.4 kB / 2.947 GB, free: 263 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/6.799, allocations: 4.409 MB / 2.951 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/6.799, allocations: 19.44 kB / 2.951 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.941e-06/6.799, allocations: 1.156 kB / 2.951 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/6.799, allocations: 12.09 kB / 2.951 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/6.824, allocations: 6.377 MB / 2.957 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/6.824, allocations: 0 / 2.957 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004758/6.829, allocations: 0.5363 MB / 2.958 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006905/6.83, allocations: 87.5 kB / 2.958 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004308/6.83, allocations: 53.27 kB / 2.958 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/6.832, allocations: 1.483 MB / 2.959 GB, free: 261.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.275e-06/6.832, allocations: 0 / 2.959 GB, free: 261.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/6.852, allocations: 3.995 MB / 2.963 GB, free: 260.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/6.854, allocations: 0.5292 MB / 2.964 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/6.854, allocations: 7.141 kB / 2.964 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/6.857, allocations: 227.7 kB / 2.964 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/6.857, allocations: 122.6 kB / 2.964 GB, free: 260.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003214/6.858, allocations: 87.41 kB / 2.964 GB, free: 260.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008673/6.858, allocations: 0.5089 MB / 2.965 GB, free: 260.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.47e-07/6.858, allocations: 0 / 2.965 GB, free: 260.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002451/6.861, allocations: 0.5585 MB / 2.965 GB, free: 260.6 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.002618/6.864, allocations: 1.1 MB / 2.966 GB, free: 260.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005097/6.869, allocations: 2.258 MB / 2.968 GB, free: 260.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.119e-06/6.869, allocations: 0 / 2.968 GB, free: 260.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/6.871, allocations: 1.234 MB / 2.97 GB, free: 260 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/6.873, allocations: 182.5 kB / 2.97 GB, free: 260 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/6.881, allocations: 2.629 MB / 2.972 GB, free: 259.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/6.882, allocations: 1.329 MB / 2.974 GB, free: 258.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005146/6.887, allocations: 0.5429 MB / 2.974 GB, free: 258.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/6.888, allocations: 208.3 kB / 2.974 GB, free: 258.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.833e-06/6.888, allocations: 7.719 kB / 2.974 GB, free: 258.4 MB / 0.823 GB Notification: Performance of Templates: time 0.05974/6.948, allocations: 26.81 MB / 3.001 GB, free: 256.6 MB / 0.823 GB