Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006314/0.006317, allocations: 230.8 kB / 15.82 MB, free: 6.297 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.001936/0.001936, allocations: 173.8 kB / 16.7 MB, free: 5.457 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.898/3.898, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 3.953/3.953, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006852/0.0006853, allocations: 19.98 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1841, allocations: 98.71 MB / 1.105 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7552/0.9393, allocations: 126.5 MB / 1.228 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.9396, allocations: 83.64 kB / 1.228 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.9498, allocations: 2.547 MB / 1.231 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9498, allocations: 0 / 1.231 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.9498, allocations: 7.812 kB / 1.231 GB, free: 18.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005776/0.9504, allocations: 0.5179 MB / 1.231 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.9505, allocations: 12.25 kB / 1.231 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.9505, allocations: 14.69 kB / 1.231 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.9508, allocations: 224.2 kB / 1.231 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.9509, allocations: 11.62 kB / 1.232 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.9509, allocations: 13 kB / 1.232 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.9513, allocations: 100.7 kB / 1.232 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9513, allocations: 7.469 kB / 1.232 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.9513, allocations: 4.391 kB / 1.232 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9514, allocations: 0 / 1.232 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.9517, allocations: 72.97 kB / 1.232 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.9524, allocations: 401.2 kB / 1.232 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.9527, allocations: 83.48 kB / 1.232 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.9529, allocations: 74.34 kB / 1.232 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.953, allocations: 4.469 kB / 1.232 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.9533, allocations: 171.4 kB / 1.232 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.9533, allocations: 3.812 kB / 1.232 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009187/0.9542, allocations: 337.4 kB / 1.233 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005541/0.9548, allocations: 163.9 kB / 1.233 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.955, allocations: 170.9 kB / 1.233 GB, free: 32.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.9551, allocations: 29.55 kB / 1.233 GB, free: 32.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.9552, allocations: 123.7 kB / 1.233 GB, free: 32.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.9552, allocations: 19.75 kB / 1.233 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.9552, allocations: 3.375 kB / 1.233 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9554, allocations: 325.1 kB / 1.234 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.9556, allocations: 48.17 kB / 1.234 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.9558, allocations: 104.7 kB / 1.234 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.9561, allocations: 171.7 kB / 1.234 GB, free: 32.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9561, allocations: 1.594 kB / 1.234 GB, free: 32.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007473/0.9569, allocations: 331.9 kB / 1.234 GB, free: 31.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.957, allocations: 113 kB / 1.234 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.957, allocations: 8.406 kB / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.9571, allocations: 0 / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.9573, allocations: 26.25 kB / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9573, allocations: 3.875 kB / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.9574, allocations: 12.58 kB / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.9575, allocations: 8.312 kB / 1.234 GB, free: 31.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0002047/0.9577, allocations: 201 kB / 1.235 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.9578, allocations: 25.55 kB / 1.235 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.9578, allocations: 18.19 kB / 1.235 GB, free: 31.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.9578, allocations: 3.844 kB / 1.235 GB, free: 31.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.9578, allocations: 3.953 kB / 1.235 GB, free: 31.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9578, allocations: 1.031 kB / 1.235 GB, free: 31.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009902/0.9588, allocations: 0.5642 MB / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9589, allocations: 0 / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.959, allocations: 14.34 kB / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.959, allocations: 0 / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.9591, allocations: 9.547 kB / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9591, allocations: 7.875 kB / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9591, allocations: 0 / 1.235 GB, free: 31.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.9598, allocations: 380.4 kB / 1.235 GB, free: 30.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.9599, allocations: 93.84 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.96, allocations: 2.344 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.9602, allocations: 13.62 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.9602, allocations: 9.156 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.9603, allocations: 15.81 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001546/0.9604, allocations: 129.8 kB / 1.236 GB, free: 30.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.9605, allocations: 0 / 1.236 GB, free: 30.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004232/0.9609, allocations: 36.17 kB / 1.236 GB, free: 30.77 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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0003056/0.9612, allocations: 142.2 kB / 1.236 GB, free: 30.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006596/0.9619, allocations: 356.4 kB / 1.236 GB, free: 30.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9619, allocations: 0 / 1.236 GB, free: 30.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.9622, allocations: 197.1 kB / 1.236 GB, free: 30.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.9627, allocations: 15.77 kB / 1.236 GB, free: 30.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.9634, allocations: 308.9 kB / 1.237 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.9637, allocations: 0.7109 MB / 1.237 GB, free: 29.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.9638, allocations: 24.22 kB / 1.237 GB, free: 29.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.9639, allocations: 12.2 kB / 1.237 GB, free: 29.41 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.9639, allocations: 0 / 1.237 GB, free: 29.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.006447/0.9704, allocations: 1.648 MB / 1.239 GB, free: 29.18 MB / 0.6198 GB