Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.645/1.645, allocations: 291.7 MB / 306.8 MB, free: 7.691 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.0009212/0.0009212, allocations: 180.2 kB / 375.4 MB, free: 5.145 MB / 298.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.351/1.351, allocations: 225.7 MB / 0.6538 GB, free: 13.66 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.0008291/0.0008293, allocations: 97.64 kB / 0.7699 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 14.72 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6689, allocations: 118.1 MB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002416/0.6714, allocations: 1.31 MB / 1.012 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.6724, allocations: 0.5694 MB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.6725, allocations: 5.594 kB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.6727, allocations: 10.36 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.6729, allocations: 43.25 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.6733, allocations: 91.84 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.6735, allocations: 153.4 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.6737, allocations: 19.41 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.6738, allocations: 76.28 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.674, allocations: 70.28 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.674, allocations: 8.219 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.6741, allocations: 23.36 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.6742, allocations: 25.45 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.6742, allocations: 50.95 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.6744, allocations: 112.3 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6744, allocations: 3.875 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6744, allocations: 0 / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6744, allocations: 0 / 1.013 GB, free: 57.55 MB / 0.7136 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.0005828/0.675, allocations: 0.5225 MB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6751, allocations: 9.562 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.6751, allocations: 20.06 kB / 1.014 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.6754, allocations: 227.6 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6754, allocations: 11.84 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.6755, allocations: 12.84 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.6757, allocations: 125.1 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6758, allocations: 0 / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.6758, allocations: 7.484 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6758, allocations: 1.625 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.676, allocations: 80.45 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.6766, allocations: 430.6 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.6767, allocations: 86.52 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.6769, allocations: 84.38 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.6769, allocations: 2.969 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.6772, allocations: 185.8 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.396e-06/0.6772, allocations: 3.016 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006674/0.6779, allocations: 368 kB / 1.015 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.678, allocations: 164.3 kB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6781, allocations: 170.4 kB / 1.016 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6782, allocations: 34.36 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6782, allocations: 114.3 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.6783, allocations: 28.02 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6783, allocations: 3.781 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.6783, allocations: 329.8 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.6785, allocations: 57.23 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.6786, allocations: 104 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.6789, allocations: 321.7 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6789, allocations: 1.781 kB / 1.017 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004546/0.6794, allocations: 355.6 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.6795, allocations: 115.8 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6795, allocations: 7.281 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6795, allocations: 2.875 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.6796, allocations: 19.09 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6796, allocations: 2.875 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.6797, allocations: 19.97 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.6798, allocations: 12.12 kB / 1.017 GB, free: 54.89 MB / 0.7136 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.0001326/0.6799, allocations: 201.9 kB / 1.017 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6799, allocations: 15.97 kB / 1.017 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.68, allocations: 17.03 kB / 1.017 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.68, allocations: 3.719 kB / 1.017 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.68, allocations: 1.094 kB / 1.017 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.68, allocations: 1.938 kB / 1.018 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.6806, allocations: 0.5945 MB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6807, allocations: 3.688 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.6807, allocations: 12.88 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6807, allocations: 1.531 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.6808, allocations: 9.812 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6808, allocations: 4.438 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6808, allocations: 7.875 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.6813, allocations: 408.3 kB / 1.019 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.6813, allocations: 94.73 kB / 1.019 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.6813, allocations: 6.906 kB / 1.019 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6815, allocations: 14.28 kB / 1.019 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.6815, allocations: 10.53 kB / 1.019 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6816, allocations: 13.7 kB / 1.019 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.6817, allocations: 125.2 kB / 1.019 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6817, allocations: 0 / 1.019 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002669/0.6819, allocations: 31.84 kB / 1.019 GB, free: 53.93 MB / 0.7136 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.0002618/0.6822, allocations: 147.6 kB / 1.019 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.6826, allocations: 367.5 kB / 1.019 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6827, allocations: 0 / 1.019 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.6829, allocations: 212.6 kB / 1.019 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.6832, allocations: 26.02 kB / 1.02 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.6837, allocations: 313.2 kB / 1.02 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.6839, allocations: 0.7067 MB / 1.021 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.96e-05/0.684, allocations: 19.28 kB / 1.021 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.684, allocations: 14.53 kB / 1.021 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/0.684, allocations: 0 / 1.021 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.004784/0.6888, allocations: 1.956 MB / 1.022 GB, free: 52.38 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)