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.004207/0.004211, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001199/0.001198, allocations: 174 kB / 16.7 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.954/3.954, 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.086/4.086, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000685/0.0006853, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1752, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7806/0.9559, allocations: 127.9 MB / 1.23 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.9563, allocations: 92.3 kB / 1.23 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.9904, allocations: 8.406 MB / 1.238 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9905, allocations: 0 / 1.238 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.9905, allocations: 4 kB / 1.238 GB, free: 21.17 MB / 0.6198 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.0009581/0.9915, allocations: 0.5473 MB / 1.238 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.9915, allocations: 8.031 kB / 1.238 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.9917, allocations: 29.44 kB / 1.238 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.9921, allocations: 273.8 kB / 1.239 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.9922, allocations: 7.938 kB / 1.239 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.9922, allocations: 15.88 kB / 1.239 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.9928, allocations: 218.6 kB / 1.239 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9928, allocations: 3.984 kB / 1.239 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.9929, allocations: 10.73 kB / 1.239 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.9929, allocations: 5.125 kB / 1.239 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.9942, allocations: 0.7741 MB / 1.24 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.9956, allocations: 0.5927 MB / 1.24 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.9964, allocations: 332.1 kB / 1.241 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.9967, allocations: 115.6 kB / 1.241 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/0.9976, allocations: 459.5 kB / 1.241 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.998, allocations: 186.1 kB / 1.241 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 2.876e-06/0.9981, allocations: 0 / 1.241 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.001087/0.9991, allocations: 419.7 kB / 1.242 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.9992, allocations: 106.8 kB / 1.242 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.9998, allocations: 272.9 kB / 1.242 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.9999, allocations: 36.67 kB / 1.242 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/1, allocations: 119.9 kB / 1.242 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1, allocations: 125.4 kB / 1.242 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/1, allocations: 7.25 kB / 1.242 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000152/1, allocations: 334.9 kB / 1.243 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/1.001, allocations: 105.5 kB / 1.243 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/1.001, allocations: 138.6 kB / 1.243 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/1.001, allocations: 149.7 kB / 1.243 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.001, allocations: 0 / 1.243 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008935/1.002, allocations: 420.7 kB / 1.243 GB, free: 16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/1.002, allocations: 29.7 kB / 1.244 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.002, allocations: 2.844 kB / 1.244 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.002, allocations: 7.953 kB / 1.244 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/1.003, allocations: 66.64 kB / 1.244 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.003, allocations: 4 kB / 1.244 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.003, allocations: 19.34 kB / 1.244 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/1.003, allocations: 19.86 kB / 1.244 GB, free: 15.86 MB / 0.6198 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.0002522/1.004, allocations: 161.2 kB / 1.244 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/1.004, allocations: 27.66 kB / 1.244 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.005, allocations: 436.4 kB / 1.244 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.005, allocations: 5.844 kB / 1.244 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.005, allocations: 3.953 kB / 1.244 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.005, allocations: 0 / 1.244 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/1.005, allocations: 344.4 kB / 1.245 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.005, allocations: 4 kB / 1.245 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/1.006, allocations: 60.97 kB / 1.245 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.006, allocations: 0 / 1.245 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.006, allocations: 10.81 kB / 1.245 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.006, allocations: 4.719 kB / 1.245 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.006, allocations: 3.938 kB / 1.245 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/1.006, allocations: 362.5 kB / 1.245 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/1.007, allocations: 160.2 kB / 1.245 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/1.007, allocations: 2.938 kB / 1.245 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/1.007, allocations: 22.02 kB / 1.245 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/1.007, allocations: 23.91 kB / 1.245 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/1.007, allocations: 21.45 kB / 1.245 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002838/1.007, allocations: 213.3 kB / 1.245 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/1.007, allocations: 0 / 1.245 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005169/1.008, allocations: 95.61 kB / 1.246 GB, free: 14.21 MB / 0.6198 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.001008/1.009, allocations: 365.2 kB / 1.246 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006698/1.01, allocations: 326.9 kB / 1.246 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.01, allocations: 1.312 kB / 1.246 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.01, allocations: 144.7 kB / 1.246 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/1.01, allocations: 29.38 kB / 1.246 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.012, allocations: 0.5881 MB / 1.247 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/1.012, allocations: 0.76 MB / 1.248 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006083/1.013, allocations: 158.5 kB / 1.248 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/1.013, allocations: 46.59 kB / 1.248 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.013, allocations: 0 / 1.248 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.009727/1.023, allocations: 3.124 MB / 1.251 GB, free: 25.25 MB / 0.6355 GB