Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadModel(Buildings): time 3.774/3.774, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.933e-05, allocations: 4.516 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.3731, allocations: 127.8 MB / 0.7596 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.3734, allocations: 83.95 kB / 0.7597 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03376/0.4071, allocations: 8.2 MB / 0.7677 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4072, allocations: 0 / 0.7677 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.4072, allocations: 4 kB / 0.7677 GB, free: 9.574 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008304/0.4081, allocations: 0.5122 MB / 0.7682 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4081, allocations: 8.031 kB / 0.7682 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.4083, allocations: 31.7 kB / 0.7682 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.4088, allocations: 278.4 kB / 0.7685 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.4088, allocations: 12 kB / 0.7685 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4089, allocations: 12 kB / 0.7685 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.4094, allocations: 215.8 kB / 0.7687 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4094, allocations: 4 kB / 0.7687 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.4095, allocations: 8 kB / 0.7687 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-06/0.4095, allocations: 4 kB / 0.7687 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.4109, allocations: 0.7764 MB / 0.7695 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4123, allocations: 0.5786 MB / 0.77 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.4131, allocations: 328.5 kB / 0.7704 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.4134, allocations: 109.4 kB / 0.7705 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/0.4142, allocations: 457.7 kB / 0.7709 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.4147, allocations: 183.5 kB / 0.7711 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.956e-06/0.4147, allocations: 0 / 0.7711 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0008494/0.4155, allocations: 313 kB / 0.7714 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.4156, allocations: 110.8 kB / 0.7715 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.4161, allocations: 258.9 kB / 0.7717 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.4161, allocations: 33.7 kB / 0.7718 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4163, allocations: 120.9 kB / 0.7719 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.4164, allocations: 114.2 kB / 0.772 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.4164, allocations: 12 kB / 0.772 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4166, allocations: 338.8 kB / 0.7723 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.4169, allocations: 95.98 kB / 0.7724 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4172, allocations: 142.3 kB / 0.7725 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.4176, allocations: 145.6 kB / 0.7727 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-06/0.4176, allocations: 0 / 0.7727 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009064/0.4185, allocations: 414.9 kB / 0.7731 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.4186, allocations: 35.42 kB / 0.7731 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.109e-06/0.4186, allocations: 4.031 kB / 0.7731 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4186, allocations: 0 / 0.7731 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.4189, allocations: 75.84 kB / 0.7732 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.068e-06/0.419, allocations: 0 / 0.7732 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4192, allocations: 27.75 kB / 0.7732 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.4192, allocations: 15.98 kB / 0.7732 GB, free: 3.512 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.4194, allocations: 120.9 kB / 0.7733 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.4195, allocations: 23.72 kB / 0.7734 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4206, allocations: 432.5 kB / 0.7738 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.559e-06/0.4206, allocations: 4 kB / 0.7738 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.652e-06/0.4206, allocations: 3.953 kB / 0.7738 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-06/0.4207, allocations: 0 / 0.7738 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4212, allocations: 353.1 kB / 0.7741 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-06/0.4212, allocations: 0 / 0.7741 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.4215, allocations: 63.91 kB / 0.7742 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.839e-06/0.4215, allocations: 4 kB / 0.7742 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.4215, allocations: 12 kB / 0.7742 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.663e-06/0.4215, allocations: 0 / 0.7742 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-06/0.4216, allocations: 0 / 0.7742 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.4223, allocations: 353.5 kB / 0.7745 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.4226, allocations: 152.7 kB / 0.7747 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.4227, allocations: 12 kB / 0.7747 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4229, allocations: 15.98 kB / 0.7747 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.423, allocations: 23.97 kB / 0.7747 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.423, allocations: 12 kB / 0.7747 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00031/0.4233, allocations: 213.6 kB / 0.7749 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.273e-06/0.4233, allocations: 0 / 0.7749 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000492/0.4238, allocations: 99.81 kB / 0.775 GB, free: 1.555 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.425, allocations: 354.5 kB / 0.7754 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007008/0.4257, allocations: 315.6 kB / 0.7757 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.285e-06/0.4257, allocations: 0 / 0.7757 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.426, allocations: 135.8 kB / 0.7758 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.4263, allocations: 24.66 kB / 0.7758 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4273, allocations: 415.2 kB / 0.7762 GB, free: 380 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4456/0.873, allocations: 0.7578 MB / 0.777 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005635/0.8736, allocations: 156.6 kB / 0.7771 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.8737, allocations: 53.02 kB / 0.7772 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.963e-06/0.8738, allocations: 0 / 0.7772 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.009691/0.8835, allocations: 3.108 MB / 0.7802 GB, free: 139 MB / 0.6511 GB