Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008625/0.0008626, allocations: 174.1 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 225.7 MB / 0.6617 GB, free: 7.207 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007544/0.0007544, allocations: 89.75 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002969, allocations: 8 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5052, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001695/0.507, allocations: 1.31 MB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.5078, allocations: 0.916 MB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.5079, allocations: 2.375 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.508, allocations: 13.2 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.5082, allocations: 42.58 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.5086, allocations: 96.33 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.5088, allocations: 161.3 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5089, allocations: 24.53 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.509, allocations: 72.12 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.5091, allocations: 77.23 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.5092, allocations: 6.125 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.5092, allocations: 28.19 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.5093, allocations: 24.64 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.5094, allocations: 88.27 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.5096, allocations: 159.3 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5096, allocations: 0 / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5096, allocations: 2.031 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5096, allocations: 3.938 kB / 1.025 GB, free: 56.15 MB / 0.698 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.0004764/0.5101, allocations: 0.5253 MB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5101, allocations: 10.38 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.5102, allocations: 19.75 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.5104, allocations: 235.3 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5105, allocations: 8.5 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5105, allocations: 16.62 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.5107, allocations: 117.2 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5108, allocations: 0 / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5108, allocations: 7.906 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5108, allocations: 1.375 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.511, allocations: 81.45 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.5115, allocations: 423.9 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5117, allocations: 94.56 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.5119, allocations: 80.81 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.5119, allocations: 7 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.5121, allocations: 175.2 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.5121, allocations: 0 / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006259/0.5127, allocations: 371.7 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.5128, allocations: 166.7 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.5129, allocations: 173.5 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.513, allocations: 31.3 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.513, allocations: 114.7 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.513, allocations: 27.84 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.5131, allocations: 8.562 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.5131, allocations: 324.5 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5132, allocations: 61.67 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.5134, allocations: 108.2 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.5136, allocations: 320.1 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5136, allocations: 3.406 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004359/0.5141, allocations: 354.1 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.5141, allocations: 121.6 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.5142, allocations: 1.906 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5142, allocations: 3.406 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5143, allocations: 24.73 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5143, allocations: 4.859 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.5144, allocations: 15.86 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.5144, allocations: 15.8 kB / 1.029 GB, free: 53.05 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.5145, allocations: 200.9 kB / 1.029 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.5146, allocations: 17.06 kB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.5146, allocations: 15.52 kB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5146, allocations: 2.438 kB / 1.029 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5146, allocations: 3.938 kB / 1.029 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5146, allocations: 0.5156 kB / 1.029 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.5152, allocations: 0.5905 MB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5152, allocations: 0 / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.5153, allocations: 14.52 kB / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5153, allocations: 1.062 kB / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.5153, allocations: 12.89 kB / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5154, allocations: 0 / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5154, allocations: 7.938 kB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.5158, allocations: 406 kB / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5159, allocations: 93.8 kB / 1.03 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5159, allocations: 2.875 kB / 1.03 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.516, allocations: 26.98 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5161, allocations: 7 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.5161, allocations: 9.031 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.5162, allocations: 130.7 kB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5162, allocations: 5.344 kB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002587/0.5165, allocations: 34.06 kB / 1.031 GB, free: 51.92 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.5167, allocations: 132.2 kB / 1.031 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.5171, allocations: 372.9 kB / 1.031 GB, free: 51.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5171, allocations: 0 / 1.031 GB, free: 51.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.5173, allocations: 207.6 kB / 1.031 GB, free: 51.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.5176, allocations: 19.59 kB / 1.031 GB, free: 51.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.5181, allocations: 328.1 kB / 1.032 GB, free: 51.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.5182, allocations: 0.7041 MB / 1.032 GB, free: 50.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.288e-05/0.5183, allocations: 27.14 kB / 1.032 GB, free: 50.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.5183, allocations: 16.31 kB / 1.032 GB, free: 50.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5183, allocations: 0 / 1.032 GB, free: 50.43 MB / 0.698 GB Notification: Performance of Templates: time 0.004283/0.5226, allocations: 1.991 MB / 1.034 GB, free: 50.2 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)