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.00887/0.00887, allocations: 110.2 kB / 15.05 MB, free: 5.98 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: 184 kB / 15.94 MB, free: 5.941 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.946/1.946, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.396/2.396, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6063, allocations: 98.7 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.8526, allocations: 126.5 MB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.853, allocations: 79.95 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.8634, allocations: 2.55 MB / 0.8094 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8635, allocations: 0 / 0.8094 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.8635, allocations: 7.938 kB / 0.8094 GB, free: 13.12 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007043/0.8642, allocations: 0.5172 MB / 0.8099 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8643, allocations: 12.03 kB / 0.81 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.8644, allocations: 15.91 kB / 0.81 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.8647, allocations: 224.2 kB / 0.8102 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.8647, allocations: 8 kB / 0.8102 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.8648, allocations: 12 kB / 0.8102 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.8651, allocations: 105.5 kB / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8652, allocations: 0 / 0.8103 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.8652, allocations: 11.94 kB / 0.8103 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-06/0.8652, allocations: 4 kB / 0.8103 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.8655, allocations: 71.89 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.8663, allocations: 392.7 kB / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.8666, allocations: 92.92 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.8666, allocations: 0 / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.867, allocations: 170.9 kB / 0.811 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.822e-06/0.867, allocations: 0 / 0.811 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001035/0.868, allocations: 490.9 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.8682, allocations: 166.2 kB / 0.8116 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.8684, allocations: 161.8 kB / 0.8118 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.8685, allocations: 25.7 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8686, allocations: 116.2 kB / 0.8119 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.8686, allocations: 27.69 kB / 0.812 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.8687, allocations: 8 kB / 0.812 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8688, allocations: 322.8 kB / 0.8123 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.869, allocations: 51.97 kB / 0.8123 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.8693, allocations: 98.77 kB / 0.8124 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.8696, allocations: 170.8 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.8696, allocations: 4 kB / 0.8126 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007242/0.8703, allocations: 328 kB / 0.8129 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.8704, allocations: 115.1 kB / 0.813 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-06/0.8704, allocations: 4 kB / 0.813 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8705, allocations: 7.984 kB / 0.813 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.8706, allocations: 24.17 kB / 0.813 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8707, allocations: 11.89 kB / 0.8131 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.8708, allocations: 12 kB / 0.8131 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.8709, allocations: 8 kB / 0.8131 GB, free: 8.977 MB / 0.6355 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.0002293/0.8711, allocations: 200.2 kB / 0.8133 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.8712, allocations: 15.81 kB / 0.8133 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.8712, allocations: 17.41 kB / 0.8133 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.8712, allocations: 0 / 0.8133 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.075e-06/0.8712, allocations: 11.94 kB / 0.8133 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-06/0.8713, allocations: 3.953 kB / 0.8133 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.8723, allocations: 0.5564 MB / 0.8139 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.169e-06/0.8723, allocations: 3.984 kB / 0.8139 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.8724, allocations: 12 kB / 0.8139 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.243e-06/0.8724, allocations: 0 / 0.8139 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.8725, allocations: 11.98 kB / 0.8139 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.8725, allocations: 7.938 kB / 0.8139 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.059e-06/0.8725, allocations: 3.953 kB / 0.8139 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.8733, allocations: 378.7 kB / 0.8143 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.8734, allocations: 92.92 kB / 0.8143 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.8734, allocations: 4 kB / 0.8143 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.8736, allocations: 11.98 kB / 0.8144 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.8737, allocations: 7.953 kB / 0.8144 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.8737, allocations: 11.98 kB / 0.8144 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001599/0.8739, allocations: 127.2 kB / 0.8145 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.65e-07/0.8739, allocations: 0 / 0.8145 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004213/0.8743, allocations: 36 kB / 0.8145 GB, free: 7.34 MB / 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: 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.0002963/0.8746, allocations: 143.7 kB / 0.8147 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.8753, allocations: 353.5 kB / 0.815 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8753, allocations: 0 / 0.815 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.8756, allocations: 194.7 kB / 0.8152 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.8759, allocations: 16.67 kB / 0.8152 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.8767, allocations: 303.5 kB / 0.8155 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8771, allocations: 0.716 MB / 0.8162 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.552e-05/0.8772, allocations: 20.53 kB / 0.8162 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/0.8773, allocations: 15.44 kB / 0.8162 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of SimCode: time 2.239e-06/0.8773, allocations: 0 / 0.8162 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of Templates: time 0.006369/0.8837, allocations: 1.649 MB / 0.8178 GB, free: 3.84 MB / 0.6355 GB