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.00906/0.009065, allocations: 107.4 kB / 15.06 MB, free: 5.559 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.001112/0.001112, allocations: 177.8 kB / 15.94 MB, free: 5.523 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.786/1.786, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.166/2.166, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005033, allocations: 8 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5439, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001824/0.5458, allocations: 1.294 MB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009528/0.5468, allocations: 0.5416 MB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.5469, allocations: 5.375 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.547, allocations: 17.44 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.5473, allocations: 44.23 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.5477, allocations: 69.58 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.5479, allocations: 93.48 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.548, allocations: 17.81 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.5482, allocations: 60.81 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.5483, allocations: 62.8 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.5484, allocations: 5.406 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.5485, allocations: 14.34 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.5486, allocations: 22.84 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.5486, allocations: 48.55 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.5489, allocations: 99.72 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.612e-06/0.5489, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.233e-06/0.5489, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.197e-06/0.5489, allocations: 4 kB / 0.6857 GB, free: 15.2 MB / 0.5261 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.0005542/0.5495, allocations: 0.5145 MB / 0.6862 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5495, allocations: 9.031 kB / 0.6862 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.5496, allocations: 24.94 kB / 0.6862 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.5499, allocations: 232 kB / 0.6864 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.5499, allocations: 5.125 kB / 0.6864 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.55, allocations: 12.03 kB / 0.6864 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.5503, allocations: 104.4 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.5503, allocations: 0 / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.5503, allocations: 3.109 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-06/0.5504, allocations: 5 kB / 0.6865 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.5506, allocations: 83.66 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.5513, allocations: 384.3 kB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.5516, allocations: 88.91 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.5516, allocations: 4.906 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.5519, allocations: 173.3 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.686e-06/0.552, allocations: 0 / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.000945/0.5529, allocations: 492.3 kB / 0.6877 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.553, allocations: 165 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5532, allocations: 175.5 kB / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5532, allocations: 32.42 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.5533, allocations: 109.8 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.5534, allocations: 30.17 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.5534, allocations: 2.094 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.5535, allocations: 324.3 kB / 0.6885 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.5536, allocations: 49.92 kB / 0.6886 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5539, allocations: 103 kB / 0.6887 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.5541, allocations: 171.3 kB / 0.6888 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-06/0.5541, allocations: 1.156 kB / 0.6888 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006721/0.5548, allocations: 330.7 kB / 0.6891 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.5549, allocations: 115.2 kB / 0.6893 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.429e-06/0.5549, allocations: 2.25 kB / 0.6893 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5549, allocations: 7.016 kB / 0.6893 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.5551, allocations: 18.88 kB / 0.6893 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.5551, allocations: 8.234 kB / 0.6893 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5553, allocations: 22.14 kB / 0.6893 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.5553, allocations: 9.219 kB / 0.6893 GB, free: 12.1 MB / 0.5261 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.0001657/0.5555, allocations: 190.6 kB / 0.6895 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.5555, allocations: 13.17 kB / 0.6895 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.5556, allocations: 18.08 kB / 0.6895 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5556, allocations: 1.5 kB / 0.6895 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-06/0.5556, allocations: 5.906 kB / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-06/0.5556, allocations: 0.6094 kB / 0.6895 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.5565, allocations: 0.5694 MB / 0.6901 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-06/0.5566, allocations: 0 / 0.6901 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.5567, allocations: 12.97 kB / 0.6901 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-06/0.5567, allocations: 1.312 kB / 0.6901 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5567, allocations: 17 kB / 0.6901 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.365e-06/0.5567, allocations: 0.875 kB / 0.6901 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.904e-06/0.5567, allocations: 0.7031 kB / 0.6901 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.5574, allocations: 382.5 kB / 0.6905 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.5575, allocations: 95.66 kB / 0.6906 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.5575, allocations: 2.438 kB / 0.6906 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5577, allocations: 20.67 kB / 0.6906 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.5578, allocations: 6.938 kB / 0.6906 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.5578, allocations: 14.2 kB / 0.6906 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001259/0.5579, allocations: 127.1 kB / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-07/0.558, allocations: 0 / 0.6907 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004203/0.5584, allocations: 35.58 kB / 0.6908 GB, free: 10.96 MB / 0.5261 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.0002644/0.5587, allocations: 123.5 kB / 0.6909 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.5592, allocations: 357.1 kB / 0.6912 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.5593, allocations: 4.125 kB / 0.6912 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.5595, allocations: 197.1 kB / 0.6914 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5598, allocations: 17.62 kB / 0.6914 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.5606, allocations: 308.7 kB / 0.6917 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.5608, allocations: 0.7148 MB / 0.6924 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.408e-05/0.5609, allocations: 23.06 kB / 0.6925 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.561, allocations: 15.22 kB / 0.6925 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of SimCode: time 1.557e-06/0.561, allocations: 0 / 0.6925 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of Templates: time 0.009046/0.57, allocations: 1.647 MB / 0.6941 GB, free: 9.262 MB / 0.5261 GB