Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.0008934/0.0008934, allocations: 186.4 kB / 330.8 MB, free: 472 kB / 250.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.313/1.313, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.0007363/0.0007362, allocations: 99.55 kB / 0.709 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 11.69 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 109.2 MB / 0.9328 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001433/0.1511, allocations: 1.31 MB / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.1518, allocations: 0.9134 MB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.1519, allocations: 3.938 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.152, allocations: 11.94 kB / 0.9349 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1522, allocations: 35.83 kB / 0.935 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1525, allocations: 103.8 kB / 0.9351 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1526, allocations: 159.7 kB / 0.9352 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.1527, allocations: 25.05 kB / 0.9353 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.1528, allocations: 79.75 kB / 0.9353 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.1529, allocations: 71.73 kB / 0.9354 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1529, allocations: 8 kB / 0.9354 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.153, allocations: 12 kB / 0.9354 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1531, allocations: 39.83 kB / 0.9355 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.1531, allocations: 93.36 kB / 0.9355 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1533, allocations: 155.8 kB / 0.9357 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1533, allocations: 0 / 0.9357 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1533, allocations: 0 / 0.9357 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.1533, allocations: 0 / 0.9357 GB, free: 20.98 MB / 0.5886 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.000412/0.1537, allocations: 0.5251 MB / 0.9362 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.1538, allocations: 15.98 kB / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1538, allocations: 20.75 kB / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.154, allocations: 228.8 kB / 0.9365 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.154, allocations: 8.375 kB / 0.9365 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1541, allocations: 12.38 kB / 0.9365 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1543, allocations: 121.7 kB / 0.9366 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1543, allocations: 0 / 0.9366 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1543, allocations: 8 kB / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1543, allocations: 0 / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1545, allocations: 75.94 kB / 0.9367 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1549, allocations: 428.5 kB / 0.9371 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1551, allocations: 90.53 kB / 0.9372 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1552, allocations: 80.81 kB / 0.9372 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1553, allocations: 4 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1555, allocations: 178.8 kB / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1555, allocations: 0 / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005469/0.156, allocations: 368.8 kB / 0.9378 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1561, allocations: 174.1 kB / 0.9379 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.1562, allocations: 174.6 kB / 0.9381 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1562, allocations: 33.7 kB / 0.9381 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1562, allocations: 108.4 kB / 0.9382 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1563, allocations: 27.62 kB / 0.9383 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.1563, allocations: 4 kB / 0.9383 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.1563, allocations: 334.8 kB / 0.9386 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1564, allocations: 51.97 kB / 0.9386 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1566, allocations: 102.8 kB / 0.9387 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1568, allocations: 320.9 kB / 0.939 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1568, allocations: 3.938 kB / 0.939 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003894/0.1572, allocations: 352.1 kB / 0.9394 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1573, allocations: 118.8 kB / 0.9395 GB, free: 16.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1573, allocations: 4 kB / 0.9395 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1573, allocations: 7.984 kB / 0.9395 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1574, allocations: 20.23 kB / 0.9395 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1574, allocations: 4 kB / 0.9395 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.1575, allocations: 23.84 kB / 0.9396 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1575, allocations: 8 kB / 0.9396 GB, free: 16.58 MB / 0.5886 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 9.004e-05/0.1576, allocations: 203.8 kB / 0.9398 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1576, allocations: 19.81 kB / 0.9398 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.1577, allocations: 13.41 kB / 0.9398 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1577, allocations: 4 kB / 0.9398 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1577, allocations: 4 kB / 0.9398 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1577, allocations: 3.984 kB / 0.9398 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.1582, allocations: 0.5875 MB / 0.9404 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1582, allocations: 4 kB / 0.9404 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.1583, allocations: 15.98 kB / 0.9404 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1583, allocations: 0 / 0.9404 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1583, allocations: 8 kB / 0.9404 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1583, allocations: 0 / 0.9404 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1583, allocations: 3.938 kB / 0.9404 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.1587, allocations: 422.8 kB / 0.9408 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.1587, allocations: 92.92 kB / 0.9409 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1588, allocations: 4 kB / 0.9409 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.1589, allocations: 8 kB / 0.9409 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.1589, allocations: 15.92 kB / 0.9409 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1589, allocations: 7.984 kB / 0.9409 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.159, allocations: 125.9 kB / 0.941 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.11e-07/0.159, allocations: 4 kB / 0.9411 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002292/0.1592, allocations: 32 kB / 0.9411 GB, free: 14.89 MB / 0.5886 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.0001564/0.1594, allocations: 148.5 kB / 0.9412 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1598, allocations: 365.5 kB / 0.9416 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1598, allocations: 4 kB / 0.9416 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.1599, allocations: 210.7 kB / 0.9418 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1602, allocations: 20.48 kB / 0.9418 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1606, allocations: 318.6 kB / 0.9421 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.1607, allocations: 0.7132 MB / 0.9428 GB, free: 13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.835e-05/0.1608, allocations: 20.53 kB / 0.9428 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1608, allocations: 15.44 kB / 0.9428 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.1608, allocations: 0 / 0.9428 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.003625/0.1645, allocations: 1.996 MB / 0.9448 GB, free: 10.99 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)