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.009378/0.009381, allocations: 112.2 kB / 15.06 MB, free: 5.582 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.001127/0.001128, allocations: 181.2 kB / 15.94 MB, free: 5.551 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.922/1.922, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.077/2.077, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 12 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5933, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.8056, allocations: 127.9 MB / 0.8083 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004371/0.8061, allocations: 87.94 kB / 0.8084 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04664/0.8528, allocations: 8.41 MB / 0.8166 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.281e-06/0.8528, allocations: 4 kB / 0.8166 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.8529, allocations: 4 kB / 0.8166 GB, free: 5.812 MB / 0.6355 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.000879/0.8538, allocations: 0.536 MB / 0.8171 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8538, allocations: 8.031 kB / 0.8171 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.854, allocations: 27.72 kB / 0.8172 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.8544, allocations: 282.3 kB / 0.8174 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.8545, allocations: 12 kB / 0.8174 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.8545, allocations: 16 kB / 0.8174 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.855, allocations: 219.8 kB / 0.8177 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.855, allocations: 0 / 0.8177 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.8551, allocations: 12 kB / 0.8177 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-06/0.8551, allocations: 4 kB / 0.8177 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.8565, allocations: 0.7725 MB / 0.8184 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.8577, allocations: 0.5903 MB / 0.819 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.8585, allocations: 328.6 kB / 0.8193 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.8592, allocations: 461.7 kB / 0.8198 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.8597, allocations: 187.5 kB / 0.8199 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.182e-06/0.8597, allocations: 0 / 0.8199 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.00103/0.8607, allocations: 410.3 kB / 0.8203 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.8608, allocations: 106.8 kB / 0.8204 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.8613, allocations: 259.1 kB / 0.8207 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.8613, allocations: 33.7 kB / 0.8207 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.8614, allocations: 116.7 kB / 0.8208 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8616, allocations: 130.2 kB / 0.8209 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.8616, allocations: 8 kB / 0.821 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.8618, allocations: 331.1 kB / 0.8213 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.8621, allocations: 107.9 kB / 0.8214 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.8624, allocations: 142.3 kB / 0.8215 GB, free: 436 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.8627, allocations: 149.7 kB / 0.8216 GB, free: 280 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-06/0.8627, allocations: 0 / 0.8216 GB, free: 280 kB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008695/0.8636, allocations: 419.2 kB / 0.822 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.8637, allocations: 29.7 kB / 0.8221 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-06/0.8637, allocations: 0 / 0.8221 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8637, allocations: 4 kB / 0.8221 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.864, allocations: 71.91 kB / 0.8222 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8641, allocations: 7.938 kB / 0.8222 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.8643, allocations: 19.84 kB / 0.8222 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.8643, allocations: 19.98 kB / 0.8222 GB, free: 15.7 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 () * 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.000227/0.8646, allocations: 165.8 kB / 0.8224 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.8646, allocations: 23.72 kB / 0.8224 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.8657, allocations: 432.1 kB / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.628e-06/0.8658, allocations: 4 kB / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-06/0.8658, allocations: 0 / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.079e-06/0.8658, allocations: 3.953 kB / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.8663, allocations: 349.2 kB / 0.8231 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-06/0.8663, allocations: 4 kB / 0.8231 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.8666, allocations: 59.91 kB / 0.8232 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-06/0.8666, allocations: 0 / 0.8232 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.8666, allocations: 12 kB / 0.8232 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.574e-06/0.8666, allocations: 0 / 0.8232 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-06/0.8666, allocations: 0 / 0.8232 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.8674, allocations: 358.1 kB / 0.8235 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.8677, allocations: 160.6 kB / 0.8237 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.8677, allocations: 8 kB / 0.8237 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.8679, allocations: 19.98 kB / 0.8237 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.868, allocations: 23.97 kB / 0.8237 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.8681, allocations: 15.94 kB / 0.8238 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003/0.8684, allocations: 217.5 kB / 0.824 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.74e-07/0.8684, allocations: 0 / 0.824 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004902/0.8689, allocations: 95.92 kB / 0.8241 GB, free: 13.69 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) * 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.0012/0.8701, allocations: 384.1 kB / 0.8244 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.8708, allocations: 335.2 kB / 0.8247 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.063e-06/0.8708, allocations: 0 / 0.8247 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.8712, allocations: 135.9 kB / 0.8249 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.8714, allocations: 20.67 kB / 0.8249 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8726, allocations: 0.5855 MB / 0.8255 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.8731, allocations: 0.767 MB / 0.8262 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004922/0.8736, allocations: 150.8 kB / 0.8264 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.8737, allocations: 47.42 kB / 0.8264 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.587e-06/0.8738, allocations: 4 kB / 0.8264 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.01072/0.8845, allocations: 3.101 MB / 0.8294 GB, free: 8.246 MB / 0.6511 GB