Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001409/0.001409, allocations: 193.8 kB / 329.5 MB, free: 1.156 MB / 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 2.446/2.446, allocations: 225.6 MB / 0.6001 GB, free: 2.254 MB / 426.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.0009961/0.000996, allocations: 91.28 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007731/0.0007734, allocations: 11.19 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2006, allocations: 109.1 MB / 0.9308 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002068/0.2027, allocations: 1.302 MB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2039, allocations: 0.577 MB / 0.9326 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.204, allocations: 0 / 0.9326 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.2042, allocations: 11.92 kB / 0.9326 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.2045, allocations: 43.77 kB / 0.9327 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2051, allocations: 95.89 kB / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.2053, allocations: 151.5 kB / 0.9329 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2055, allocations: 28.84 kB / 0.9329 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.2056, allocations: 75.75 kB / 0.933 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2058, allocations: 71.78 kB / 0.9331 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2059, allocations: 7.938 kB / 0.9331 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.2059, allocations: 24 kB / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.206, allocations: 23.91 kB / 0.9331 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.2061, allocations: 53.64 kB / 0.9332 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2063, allocations: 108 kB / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2063, allocations: 0 / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2063, allocations: 0 / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2064, allocations: 4 kB / 0.9333 GB, free: 22.58 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.0006631/0.207, allocations: 0.5251 MB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2071, allocations: 12.03 kB / 0.9338 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.2072, allocations: 16.75 kB / 0.9338 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.2075, allocations: 228.3 kB / 0.934 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2075, allocations: 8.375 kB / 0.934 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.2076, allocations: 16.38 kB / 0.9341 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.208, allocations: 117.7 kB / 0.9342 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.208, allocations: 0 / 0.9342 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.208, allocations: 8 kB / 0.9342 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2081, allocations: 0 / 0.9342 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2084, allocations: 79.92 kB / 0.9343 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.2093, allocations: 424.5 kB / 0.9347 GB, free: 21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.2096, allocations: 90.53 kB / 0.9347 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.2099, allocations: 84.81 kB / 0.9348 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.2099, allocations: 4.141 kB / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.2103, allocations: 182.8 kB / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 4.438e-06/0.2103, allocations: 0 / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.001064/0.2114, allocations: 368.7 kB / 0.9354 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.2115, allocations: 166.2 kB / 0.9355 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2117, allocations: 183 kB / 0.9357 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.2117, allocations: 33.7 kB / 0.9357 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.2118, allocations: 104.4 kB / 0.9358 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2118, allocations: 31.7 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.2119, allocations: 0 / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.212, allocations: 330.8 kB / 0.9362 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2122, allocations: 59.95 kB / 0.9362 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.2124, allocations: 106.8 kB / 0.9363 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2128, allocations: 178.7 kB / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.2128, allocations: 0 / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000778/0.2136, allocations: 356.3 kB / 0.9368 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.2137, allocations: 114.8 kB / 0.9369 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2137, allocations: 4 kB / 0.9369 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2137, allocations: 4 kB / 0.9369 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.2139, allocations: 23.92 kB / 0.937 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2139, allocations: 4 kB / 0.937 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2141, allocations: 27.83 kB / 0.937 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2142, allocations: 8 kB / 0.937 GB, free: 18.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.2144, allocations: 204.7 kB / 0.9372 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2144, allocations: 19.81 kB / 0.9372 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.2145, allocations: 17.39 kB / 0.9372 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2145, allocations: 0 / 0.9372 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2145, allocations: 0 / 0.9372 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2145, allocations: 0 / 0.9372 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.2155, allocations: 0.5953 MB / 0.9378 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2155, allocations: 0 / 0.9378 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2157, allocations: 12 kB / 0.9378 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2157, allocations: 0 / 0.9378 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2157, allocations: 11.98 kB / 0.9378 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2157, allocations: 4 kB / 0.9378 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2157, allocations: 7.875 kB / 0.9379 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.2165, allocations: 418.8 kB / 0.9383 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2166, allocations: 85.02 kB / 0.9383 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2167, allocations: 7.984 kB / 0.9383 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2169, allocations: 12 kB / 0.9384 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.2169, allocations: 15.92 kB / 0.9384 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.217, allocations: 4 kB / 0.9384 GB, free: 16.83 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001138/0.2171, allocations: 133.9 kB / 0.9385 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2171, allocations: 0 / 0.9385 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003923/0.2175, allocations: 28 kB / 0.9385 GB, free: 16.68 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 (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.0002899/0.2178, allocations: 140.2 kB / 0.9387 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006843/0.2185, allocations: 369.4 kB / 0.939 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2185, allocations: 0.5 kB / 0.939 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.2189, allocations: 215 kB / 0.9392 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2193, allocations: 12 kB / 0.9392 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.2201, allocations: 328.6 kB / 0.9395 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.2203, allocations: 0.7083 MB / 0.9402 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2204, allocations: 20.53 kB / 0.9403 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.2205, allocations: 15.44 kB / 0.9403 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of SimCode: time 2.715e-06/0.2205, allocations: 0 / 0.9403 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.006751/0.2273, allocations: 1.945 MB / 0.9422 GB, free: 12.82 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)