Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.089/4.089, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.483e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4964, allocations: 98.69 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.6912, allocations: 127.2 MB / 0.7531 GB, free: 392 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6916, allocations: 79.95 kB / 0.7532 GB, free: 312 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03388/0.7255, allocations: 8.062 MB / 0.7611 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.601e-06/0.7255, allocations: 3.938 kB / 0.7611 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.366e-05/0.7255, allocations: 4 kB / 0.7611 GB, free: 8.227 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.001049/0.7266, allocations: 0.5125 MB / 0.7616 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7267, allocations: 12.02 kB / 0.7616 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.7269, allocations: 27.72 kB / 0.7616 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.7276, allocations: 266.5 kB / 0.7619 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.7276, allocations: 4 kB / 0.7619 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.7277, allocations: 15.98 kB / 0.7619 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002314/0.73, allocations: 0.7685 MB / 0.7626 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.7307, allocations: 203.6 kB / 0.7628 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7307, allocations: 0 / 0.7628 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.7308, allocations: 0 / 0.7628 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7308, allocations: 4 kB / 0.7628 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.7325, allocations: 0.5556 MB / 0.7634 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.7332, allocations: 300.2 kB / 0.7637 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.7334, allocations: 97.41 kB / 0.7637 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/0.7342, allocations: 457.7 kB / 0.7642 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.7346, allocations: 171.5 kB / 0.7643 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.127e-06/0.7346, allocations: 0 / 0.7643 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.00174/0.7364, allocations: 392.8 kB / 0.7647 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.7365, allocations: 114.8 kB / 0.7648 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.7369, allocations: 246.9 kB / 0.7651 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.737, allocations: 29.7 kB / 0.7651 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.7371, allocations: 116.9 kB / 0.7652 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7372, allocations: 110.3 kB / 0.7653 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.7372, allocations: 0 / 0.7653 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.7374, allocations: 334.8 kB / 0.7656 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.7377, allocations: 95.97 kB / 0.7657 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.7379, allocations: 126.5 kB / 0.7658 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7392, allocations: 216.8 kB / 0.766 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.506e-06/0.7392, allocations: 4 kB / 0.7661 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001726/0.7409, allocations: 472.5 kB / 0.7665 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.741, allocations: 31.42 kB / 0.7665 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-06/0.741, allocations: 0 / 0.7665 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.741, allocations: 7.938 kB / 0.7665 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.7413, allocations: 67.91 kB / 0.7666 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.905e-06/0.7414, allocations: 3.953 kB / 0.7666 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.7415, allocations: 27.73 kB / 0.7666 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.7416, allocations: 12 kB / 0.7666 GB, free: 2.156 MB / 0.6355 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 () * 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.0001364/0.7418, allocations: 112.9 kB / 0.7668 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.7418, allocations: 23.72 kB / 0.7668 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.7438, allocations: 0.4932 MB / 0.7673 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.214e-06/0.7438, allocations: 4 kB / 0.7673 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-06/0.7438, allocations: 0 / 0.7673 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.773e-06/0.7438, allocations: 3.953 kB / 0.7673 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.7443, allocations: 301.7 kB / 0.7676 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7443, allocations: 0 / 0.7676 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.7446, allocations: 63.91 kB / 0.7676 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.275e-06/0.7446, allocations: 4 kB / 0.7676 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.7446, allocations: 8 kB / 0.7676 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-06/0.7446, allocations: 0 / 0.7676 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/0.7447, allocations: 8 kB / 0.7676 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.7463, allocations: 421.4 kB / 0.768 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.7465, allocations: 168.6 kB / 0.7682 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.7466, allocations: 0 / 0.7682 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7468, allocations: 11.98 kB / 0.7682 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.7469, allocations: 31.97 kB / 0.7682 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.7469, allocations: 11.98 kB / 0.7682 GB, free: 436 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002583/0.7472, allocations: 201.8 kB / 0.7684 GB, free: 236 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.41e-07/0.7472, allocations: 0 / 0.7684 GB, free: 236 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004836/0.7477, allocations: 87.86 kB / 0.7685 GB, free: 148 kB / 0.6355 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) * 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.001034/0.7488, allocations: 327.4 kB / 0.7688 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006008/0.7494, allocations: 295.3 kB / 0.7691 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.051e-06/0.7494, allocations: 0 / 0.7691 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.7497, allocations: 132.3 kB / 0.7692 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.7499, allocations: 22.45 kB / 0.7693 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.7509, allocations: 394.9 kB / 0.7696 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.7514, allocations: 0.7578 MB / 0.7704 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004932/0.7519, allocations: 163.1 kB / 0.7705 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.7521, allocations: 43.42 kB / 0.7706 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.923e-06/0.7521, allocations: 0 / 0.7706 GB, free: 14 MB / 0.6511 GB Notification: Performance of Templates: time 0.009007/0.7611, allocations: 2.905 MB / 0.7734 GB, free: 11.11 MB / 0.6511 GB