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.009376/0.009376, allocations: 109.6 kB / 15.06 MB, free: 5.562 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.00111/0.00111, allocations: 182.8 kB / 15.95 MB, free: 5.523 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 1.844/1.844, allocations: 194.6 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.475/2.475, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.565, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.001896/0.5669, allocations: 1.408 MB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.5691, allocations: 1.481 MB / 0.6862 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.5692, allocations: 0.9688 kB / 0.6862 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.5694, allocations: 13.42 kB / 0.6862 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.5697, allocations: 56.92 kB / 0.6862 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.57, allocations: 87.52 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.5702, allocations: 152.7 kB / 0.6865 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5704, allocations: 21.38 kB / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.5705, allocations: 83.12 kB / 0.6866 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.5708, allocations: 71.48 kB / 0.6866 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.5708, allocations: 9.188 kB / 0.6866 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.571, allocations: 91.53 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.5712, allocations: 76.44 kB / 0.6868 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.5712, allocations: 53.73 kB / 0.6869 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.5716, allocations: 219.1 kB / 0.6871 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.5716, allocations: 1.125 kB / 0.6871 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5716, allocations: 0.7031 kB / 0.6871 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.132e-06/0.5717, allocations: 0 / 0.6871 GB, free: 14.3 MB / 0.5261 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.0007163/0.5724, allocations: 0.5215 MB / 0.6876 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5724, allocations: 10.05 kB / 0.6876 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.5726, allocations: 38.2 kB / 0.6876 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.5729, allocations: 264.2 kB / 0.6879 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5729, allocations: 14.78 kB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.573, allocations: 15.06 kB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.5735, allocations: 210.1 kB / 0.6881 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5735, allocations: 4 kB / 0.6881 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.5735, allocations: 6.703 kB / 0.6881 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-06/0.5736, allocations: 4.438 kB / 0.6881 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.575, allocations: 0.778 MB / 0.6889 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5762, allocations: 0.6078 MB / 0.6895 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.577, allocations: 333.4 kB / 0.6898 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/0.5776, allocations: 457.8 kB / 0.6902 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.578, allocations: 186 kB / 0.6904 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.762e-06/0.5781, allocations: 0 / 0.6904 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001034/0.5791, allocations: 416.7 kB / 0.6908 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.5792, allocations: 111.4 kB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.5796, allocations: 291.6 kB / 0.6912 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.5796, allocations: 35.83 kB / 0.6912 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.5797, allocations: 117.4 kB / 0.6913 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5798, allocations: 115.7 kB / 0.6914 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.5798, allocations: 8.906 kB / 0.6914 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.5799, allocations: 342.8 kB / 0.6918 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.5802, allocations: 103.6 kB / 0.6919 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.5805, allocations: 142.4 kB / 0.692 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.5808, allocations: 149.2 kB / 0.6921 GB, free: 11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-06/0.5808, allocations: 0 / 0.6921 GB, free: 11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008163/0.5817, allocations: 412.9 kB / 0.6925 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.5817, allocations: 35.62 kB / 0.6926 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-06/0.5817, allocations: 0 / 0.6926 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5818, allocations: 10.17 kB / 0.6926 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.5821, allocations: 63.73 kB / 0.6926 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5821, allocations: 4.906 kB / 0.6927 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.5823, allocations: 32.8 kB / 0.6927 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.5824, allocations: 16.58 kB / 0.6927 GB, free: 10.77 MB / 0.5261 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.0001983/0.5826, allocations: 161.9 kB / 0.6929 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.5827, allocations: 23.83 kB / 0.6929 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.5837, allocations: 443.8 kB / 0.6933 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5838, allocations: 7.141 kB / 0.6933 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.475e-06/0.5838, allocations: 1.766 kB / 0.6933 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5838, allocations: 1.734 kB / 0.6933 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.5844, allocations: 329.3 kB / 0.6936 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-06/0.5844, allocations: 1.656 kB / 0.6936 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.5847, allocations: 62.84 kB / 0.6937 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-06/0.5847, allocations: 5.938 kB / 0.6937 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.5847, allocations: 11.25 kB / 0.6937 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.175e-06/0.5848, allocations: 1.484 kB / 0.6937 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.358e-06/0.5848, allocations: 4.953 kB / 0.6937 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.5855, allocations: 347.2 kB / 0.694 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5857, allocations: 158.6 kB / 0.6942 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.5858, allocations: 7.125 kB / 0.6942 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.586, allocations: 22.72 kB / 0.6942 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.5861, allocations: 31.36 kB / 0.6942 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.5861, allocations: 16.41 kB / 0.6943 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002608/0.5864, allocations: 230.9 kB / 0.6945 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.27e-07/0.5864, allocations: 1.156 kB / 0.6945 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004802/0.5869, allocations: 77.3 kB / 0.6946 GB, free: 9.691 MB / 0.5261 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.001169/0.5881, allocations: 373.4 kB / 0.6949 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.5888, allocations: 331.6 kB / 0.6952 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.03e-06/0.5888, allocations: 2.094 kB / 0.6952 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.5891, allocations: 134.5 kB / 0.6954 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.5894, allocations: 21.73 kB / 0.6954 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5904, allocations: 0.5772 MB / 0.6959 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5907, allocations: 0.7597 MB / 0.6967 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004931/0.5912, allocations: 167.9 kB / 0.6968 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.5914, allocations: 42.44 kB / 0.6969 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of SimCode: time 1.595e-06/0.5914, allocations: 1.375 kB / 0.6969 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of Templates: time 0.009538/0.6009, allocations: 3.083 MB / 0.6999 GB, free: 7.234 MB / 0.5261 GB