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.004317/0.004317, allocations: 238.5 kB / 15.8 MB, free: 6.285 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.001184/0.001184, allocations: 179.4 kB / 16.69 MB, free: 5.449 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.984/3.984, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.16/4.16, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 14.38 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 98.73 MB / 1.105 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002115/0.1793, allocations: 1.407 MB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1816, allocations: 1.488 MB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.1817, allocations: 3.938 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.182, allocations: 11.92 kB / 1.107 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1822, allocations: 58.78 kB / 1.108 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1826, allocations: 88.42 kB / 1.108 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1829, allocations: 217.6 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.183, allocations: 16.22 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1832, allocations: 76.55 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1834, allocations: 91 kB / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.1835, allocations: 12 kB / 1.108 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.1837, allocations: 111.7 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.1838, allocations: 71.8 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.1839, allocations: 57.58 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1842, allocations: 227.8 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1843, allocations: 0 / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1843, allocations: 0 / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1843, allocations: 0 / 1.108 GB, free: 38.21 MB / 0.6042 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.0008104/0.1851, allocations: 0.5195 MB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1851, allocations: 8.031 kB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1853, allocations: 27.72 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1856, allocations: 265 kB / 1.109 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1857, allocations: 8.938 kB / 1.109 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1857, allocations: 21.38 kB / 1.109 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.1862, allocations: 224.9 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1862, allocations: 0 / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1863, allocations: 11.89 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1863, allocations: 4 kB / 1.109 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1877, allocations: 0.7809 MB / 1.11 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1889, allocations: 0.5976 MB / 1.111 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.1898, allocations: 333.7 kB / 1.111 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.19, allocations: 109.4 kB / 1.111 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/0.1909, allocations: 468.8 kB / 1.112 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.1913, allocations: 184.9 kB / 1.112 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 4.429e-06/0.1914, allocations: 4 kB / 1.112 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.001075/0.1925, allocations: 413.9 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1925, allocations: 114.6 kB / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1928, allocations: 299.3 kB / 1.113 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1929, allocations: 29.7 kB / 1.113 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.193, allocations: 116.7 kB / 1.113 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.1931, allocations: 122.3 kB / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1931, allocations: 4 kB / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.1932, allocations: 336 kB / 1.113 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.1935, allocations: 103.9 kB / 1.113 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.1938, allocations: 141.2 kB / 1.113 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1941, allocations: 154.9 kB / 1.114 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1941, allocations: 0 / 1.114 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008374/0.195, allocations: 427 kB / 1.114 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.195, allocations: 29.7 kB / 1.114 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.195, allocations: 7.938 kB / 1.114 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1951, allocations: 0 / 1.114 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1955, allocations: 63.91 kB / 1.114 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1955, allocations: 3.984 kB / 1.114 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.1957, allocations: 31.34 kB / 1.114 GB, free: 32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.1958, allocations: 11.98 kB / 1.114 GB, free: 31.99 MB / 0.6042 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.000178/0.196, allocations: 161.8 kB / 1.114 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.196, allocations: 31.58 kB / 1.114 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.1972, allocations: 433.5 kB / 1.115 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1972, allocations: 0.5938 kB / 1.115 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1972, allocations: 0 / 1.115 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1974, allocations: 164.1 kB / 1.115 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.1975, allocations: 8 kB / 1.115 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1977, allocations: 11.98 kB / 1.115 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1978, allocations: 27.97 kB / 1.115 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008079/0.1986, allocations: 405.8 kB / 1.115 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007453/0.1993, allocations: 0.4912 MB / 1.116 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002632/0.1996, allocations: 127.2 kB / 1.116 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002238/0.1999, allocations: 223 kB / 1.116 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of Backend: time 8.42e-07/0.1999, allocations: 0 / 1.116 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.2017, allocations: 0.6292 MB / 1.117 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009388/0.2027, allocations: 0.9191 MB / 1.118 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.0112/0.2139, allocations: 4.173 MB / 1.122 GB, free: 24.68 MB / 0.6042 GB