Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01077/0.01077, allocations: 223.6 kB / 15.18 MB, free: 6 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.001126/0.001126, allocations: 180.9 kB / 16.06 MB, free: 5.871 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 3.85/3.85, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.462/4.462, allocations: 472.3 MB / 0.9018 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004898, allocations: 12 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6525, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003069/0.6556, allocations: 1.412 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.6578, allocations: 1.476 MB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.6579, allocations: 2.594 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.6582, allocations: 14.77 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.6586, allocations: 47.97 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.6591, allocations: 88.56 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.6595, allocations: 221.4 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.6597, allocations: 12.31 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.6599, allocations: 84.12 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.6603, allocations: 95.73 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/0.6604, allocations: 10.84 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.6608, allocations: 100.6 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.6609, allocations: 66.83 kB / 1.108 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.661, allocations: 57.73 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.6615, allocations: 229.4 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.236e-06/0.6616, allocations: 3.938 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.233e-06/0.6616, allocations: 3.312 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.6616, allocations: 0 / 1.108 GB, free: 210.6 MB / 0.7292 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.0008561/0.6625, allocations: 0.5102 MB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.6625, allocations: 9.906 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.6628, allocations: 32.58 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.6633, allocations: 272.2 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.6633, allocations: 22.56 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.6634, allocations: 18.08 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.6642, allocations: 219.5 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.6643, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.6643, allocations: 5.406 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6644, allocations: 3.312 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.667, allocations: 0.7864 MB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.6687, allocations: 0.5939 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.6701, allocations: 336.8 kB / 1.111 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.6705, allocations: 111.8 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009281/0.6715, allocations: 463.5 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000669/0.6721, allocations: 187.8 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 5.408e-06/0.6722, allocations: 0 / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.001726/0.6739, allocations: 411.7 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.674, allocations: 110.8 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.6746, allocations: 293.8 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.6747, allocations: 33.27 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6748, allocations: 122.4 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.675, allocations: 121.8 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.675, allocations: 5.156 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6752, allocations: 338 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.6756, allocations: 100.3 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.6762, allocations: 140 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.6767, allocations: 152.1 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-06/0.6768, allocations: 5.766 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001387/0.6782, allocations: 421.6 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.6782, allocations: 30.67 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6783, allocations: 3.953 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.6783, allocations: 1.344 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.6789, allocations: 62.28 kB / 1.114 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.6789, allocations: 7.672 kB / 1.114 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.6793, allocations: 36.64 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/0.6794, allocations: 18.3 kB / 1.114 GB, free: 207 MB / 0.7292 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 () * Number of clocked 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.0003348/0.6798, allocations: 158.9 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6799, allocations: 27.53 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.6817, allocations: 441 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6817, allocations: 7.672 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.98e-06/0.6817, allocations: 1.344 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6818, allocations: 1.688 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.6823, allocations: 333.8 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.378e-06/0.6824, allocations: 0 / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.6828, allocations: 65.97 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.6828, allocations: 1.531 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.6829, allocations: 13.59 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.863e-06/0.6829, allocations: 6.656 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.679e-06/0.6829, allocations: 3.953 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6841, allocations: 346 kB / 1.115 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6845, allocations: 158 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.6846, allocations: 6.312 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.6849, allocations: 19.86 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.685, allocations: 29.11 kB / 1.115 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.6851, allocations: 11.73 kB / 1.115 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003822/0.6855, allocations: 225.7 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.197e-06/0.6855, allocations: 0 / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007913/0.6863, allocations: 83.69 kB / 1.115 GB, free: 206 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001722/0.688, allocations: 370 kB / 1.116 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.6891, allocations: 324.4 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.677e-06/0.6892, allocations: 1.562 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.6897, allocations: 141.7 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.6903, allocations: 31.11 kB / 1.116 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.692, allocations: 0.5806 MB / 1.117 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6924, allocations: 0.7621 MB / 1.118 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008802/0.6933, allocations: 161 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.6935, allocations: 42.89 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.107e-06/0.6935, allocations: 6.281 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.01606/0.7096, allocations: 3.079 MB / 1.121 GB, free: 204.5 MB / 0.7292 GB