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.01084/0.01084, allocations: 221 kB / 15.17 MB, free: 5.93 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.001128/0.001128, allocations: 181.1 kB / 16.06 MB, free: 5.828 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.224/4.224, allocations: 389.1 MB / 405.9 MB, free: 11.75 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.024/4.024, allocations: 472.3 MB / 0.9018 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 98.73 MB / 1.104 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001535/0.1305, allocations: 1.293 MB / 1.105 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.1314, allocations: 0.5497 MB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1315, allocations: 0 / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1316, allocations: 15.86 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1318, allocations: 51.7 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1323, allocations: 63.92 kB / 1.106 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1324, allocations: 139.6 kB / 1.106 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1325, allocations: 23.59 kB / 1.106 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1327, allocations: 51.83 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1328, allocations: 71.73 kB / 1.106 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.1328, allocations: 4 kB / 1.106 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.1329, allocations: 14.97 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.133, allocations: 27.91 kB / 1.106 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.133, allocations: 41.64 kB / 1.106 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1332, allocations: 107.8 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.913e-06/0.1332, allocations: 0 / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1332, allocations: 3.938 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.1332, allocations: 0 / 1.106 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.0004958/0.1337, allocations: 0.5146 MB / 1.107 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1338, allocations: 15.03 kB / 1.107 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1338, allocations: 15.81 kB / 1.107 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1341, allocations: 218.9 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1341, allocations: 5.781 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1342, allocations: 12 kB / 1.107 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1345, allocations: 112.9 kB / 1.107 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-06/0.1345, allocations: 3.953 kB / 1.107 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1345, allocations: 4 kB / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-06/0.1345, allocations: 0 / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1348, allocations: 71.2 kB / 1.107 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1354, allocations: 392.6 kB / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1356, allocations: 88.55 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1358, allocations: 76.62 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1359, allocations: 0 / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.1362, allocations: 182.1 kB / 1.108 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.604e-06/0.1362, allocations: 0 / 1.108 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0007603/0.1369, allocations: 328.7 kB / 1.108 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.137, allocations: 168.8 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1372, allocations: 175.9 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1372, allocations: 33.7 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1373, allocations: 116.2 kB / 1.109 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1373, allocations: 23.7 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.1373, allocations: 2.625 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.1374, allocations: 326.8 kB / 1.109 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1376, allocations: 51.95 kB / 1.109 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1378, allocations: 97.88 kB / 1.109 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.138, allocations: 174.1 kB / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.138, allocations: 0 / 1.11 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000572/0.1386, allocations: 336.2 kB / 1.11 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.1386, allocations: 110.8 kB / 1.11 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-06/0.1387, allocations: 0 / 1.11 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1387, allocations: 7.984 kB / 1.11 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1388, allocations: 23.44 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.249e-06/0.1389, allocations: 3.984 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.139, allocations: 19.94 kB / 1.11 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.139, allocations: 8 kB / 1.11 GB, free: 35.61 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.0001311/0.1392, allocations: 187.2 kB / 1.11 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1392, allocations: 19.77 kB / 1.11 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1393, allocations: 26.36 kB / 1.11 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-06/0.1393, allocations: 0 / 1.11 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1393, allocations: 3.406 kB / 1.11 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-06/0.1393, allocations: 0 / 1.11 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.1401, allocations: 0.5564 MB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.1401, allocations: 0 / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-05/0.1402, allocations: 19.14 kB / 1.111 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1402, allocations: 0 / 1.111 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1402, allocations: 22.12 kB / 1.111 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-06/0.1403, allocations: 288 / 1.111 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1403, allocations: 0 / 1.111 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.1408, allocations: 385.5 kB / 1.111 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1409, allocations: 104.8 kB / 1.111 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1409, allocations: 4 kB / 1.111 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1411, allocations: 7.062 kB / 1.111 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1412, allocations: 11.98 kB / 1.111 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1412, allocations: 7.984 kB / 1.111 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.932e-05/0.1413, allocations: 130.2 kB / 1.111 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.24e-07/0.1413, allocations: 0 / 1.111 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004026/0.1417, allocations: 32 kB / 1.111 GB, free: 34 MB / 0.6042 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.0002237/0.142, allocations: 117.9 kB / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.1425, allocations: 357.6 kB / 1.112 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.432e-06/0.1425, allocations: 4 kB / 1.112 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.1427, allocations: 195 kB / 1.112 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1431, allocations: 18.91 kB / 1.112 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.1437, allocations: 305.1 kB / 1.112 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.1439, allocations: 0.7082 MB / 1.113 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.121e-05/0.144, allocations: 23.5 kB / 1.113 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.1441, allocations: 19.38 kB / 1.113 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.424e-06/0.1441, allocations: 0 / 1.113 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.005315/0.1494, allocations: 1.661 MB / 1.115 GB, free: 30.65 MB / 0.6042 GB