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.006337/0.006344, allocations: 237.4 kB / 15.81 MB, free: 6.316 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.001889/0.001889, allocations: 181.3 kB / 16.69 MB, free: 5.469 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 4.173/4.173, allocations: 389.1 MB / 406.5 MB, free: 11.85 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 4.048/4.048, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006589/0.0006591, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2013, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002821/0.2042, allocations: 1.297 MB / 1.106 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2058, allocations: 0.5505 MB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.206, allocations: 3.5 kB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2062, allocations: 15.88 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.2065, allocations: 37.08 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.2073, allocations: 79.78 kB / 1.107 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.2076, allocations: 131.6 kB / 1.107 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2078, allocations: 24.73 kB / 1.107 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.2081, allocations: 55.83 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2083, allocations: 67.75 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.2083, allocations: 4 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2085, allocations: 12 kB / 1.107 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.2086, allocations: 27.91 kB / 1.107 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.2087, allocations: 44.83 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.209, allocations: 111.7 kB / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.209, allocations: 0 / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/0.209, allocations: 0 / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.209, allocations: 0 / 1.107 GB, free: 39.62 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.0008203/0.2098, allocations: 0.5096 MB / 1.107 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.2099, allocations: 14.86 kB / 1.108 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.21, allocations: 19.81 kB / 1.108 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2105, allocations: 218.8 kB / 1.108 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.2105, allocations: 4 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2106, allocations: 8 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.211, allocations: 110.5 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2111, allocations: 3.953 kB / 1.108 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2111, allocations: 11.94 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2111, allocations: 3.938 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.2116, allocations: 67.94 kB / 1.108 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2127, allocations: 396.3 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.2131, allocations: 89.84 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.2134, allocations: 73.98 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.2135, allocations: 0 / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004876/0.214, allocations: 181.4 kB / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.777e-06/0.214, allocations: 0 / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.00137/0.2154, allocations: 336.9 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.2155, allocations: 158.2 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.2158, allocations: 178.1 kB / 1.109 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.2159, allocations: 29.7 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.216, allocations: 116.2 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.2161, allocations: 23.7 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.2161, allocations: 7.438 kB / 1.109 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.2162, allocations: 326.8 kB / 1.11 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.2166, allocations: 51.91 kB / 1.11 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.2169, allocations: 101.9 kB / 1.11 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.2173, allocations: 169.7 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2173, allocations: 0 / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001008/0.2183, allocations: 332 kB / 1.11 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.2184, allocations: 118.8 kB / 1.111 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2185, allocations: 0 / 1.111 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2185, allocations: 4 kB / 1.111 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2188, allocations: 22.83 kB / 1.111 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2188, allocations: 3.938 kB / 1.111 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.219, allocations: 19.94 kB / 1.111 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.2191, allocations: 4 kB / 1.111 GB, free: 35.62 MB / 0.6042 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.0002361/0.2193, allocations: 198.8 kB / 1.111 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.2195, allocations: 19.77 kB / 1.111 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.2195, allocations: 13.41 kB / 1.111 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2196, allocations: 4 kB / 1.111 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2196, allocations: 0 / 1.111 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.2197, allocations: 96.91 kB / 1.111 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.2197, allocations: 3.938 kB / 1.111 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2199, allocations: 8.625 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.22, allocations: 17.02 kB / 1.111 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001153/0.2212, allocations: 470.9 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001075/0.2223, allocations: 465.1 kB / 1.112 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000346/0.2227, allocations: 80.19 kB / 1.112 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001742/0.2229, allocations: 128 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of Backend: time 1.202e-06/0.2229, allocations: 2.625 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.2244, allocations: 410 kB / 1.112 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009781/0.2255, allocations: 0.8087 MB / 1.113 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.009061/0.2346, allocations: 1.775 MB / 1.115 GB, free: 31.12 MB / 0.6042 GB