Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 165.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9444/0.9444, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.923/1.923, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.82e-07/7.82e-07, allocations: 0.6562 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/9.689e-06, allocations: 2.312 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001905/0.001914, allocations: 1.719 MB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.002625, allocations: 0.6783 MB / 0.7775 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.002675, allocations: 3.938 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.00278, allocations: 20.56 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.003064, allocations: 50.45 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.003292, allocations: 120.3 kB / 0.7777 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.003459, allocations: 189.6 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.003526, allocations: 26.2 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.00367, allocations: 119.7 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.003751, allocations: 75.83 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.003773, allocations: 12 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.23e-05/0.003835, allocations: 31.98 kB / 0.7782 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.003885, allocations: 32.41 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.003934, allocations: 55.89 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004081, allocations: 154.9 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004083, allocations: 0 / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004083, allocations: 0 / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.004086, allocations: 0 / 0.7784 GB, free: 2.145 MB / 0.7292 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.0003612/0.004447, allocations: 467 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.544e-05/0.004473, allocations: 9.344 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.004576, allocations: 28.91 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.00474, allocations: 176.2 kB / 0.779 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.004754, allocations: 16.31 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.004826, allocations: 8.375 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.005068, allocations: 158.3 kB / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005077, allocations: 192 / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005087, allocations: 4.375 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005094, allocations: 7.922 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.005155, allocations: 80.92 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.005533, allocations: 246.9 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.00562, allocations: 98.48 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.005678, allocations: 97.25 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.005707, allocations: 3.938 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.005844, allocations: 210.2 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.005846, allocations: 0.875 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002529/0.006099, allocations: 323.7 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.006167, allocations: 167.6 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.006265, allocations: 164 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.006282, allocations: 33.7 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.006322, allocations: 100.3 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.006344, allocations: 32.39 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.006394, allocations: 38.38 kB / 0.7808 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.006467, allocations: 322.8 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.006539, allocations: 139.3 kB / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.006624, allocations: 185.6 kB / 0.7814 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.006763, allocations: 271.6 kB / 0.7816 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006765, allocations: 0 / 0.7816 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000199/0.006964, allocations: 358.9 kB / 0.782 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.007016, allocations: 118.7 kB / 0.7821 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007021, allocations: 4.688 kB / 0.7821 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007034, allocations: 1.812 kB / 0.7821 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.00711, allocations: 23.92 kB / 0.7821 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007112, allocations: 4.016 kB / 0.7821 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.007161, allocations: 12 kB / 0.7821 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.007176, allocations: 15.97 kB / 0.7821 GB, free: 13.78 MB / 0.7448 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 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * 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.469e-05/0.007271, allocations: 189 kB / 0.7823 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.007294, allocations: 19.92 kB / 0.7823 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.007325, allocations: 17.91 kB / 0.7824 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007327, allocations: 1.062 kB / 0.7824 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.00733, allocations: 8 kB / 0.7824 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007333, allocations: 0 / 0.7824 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.007596, allocations: 406.3 kB / 0.7828 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007597, allocations: 4 kB / 0.7828 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.007635, allocations: 8.875 kB / 0.7828 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.007637, allocations: 7.938 kB / 0.7828 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.00765, allocations: 12.92 kB / 0.7828 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007651, allocations: 0 / 0.7828 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007652, allocations: 0 / 0.7828 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.007827, allocations: 327.2 kB / 0.7831 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.007841, allocations: 11.91 kB / 0.7831 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.007862, allocations: 12.72 kB / 0.7831 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.511e-05/0.007917, allocations: 11.98 kB / 0.7831 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.007947, allocations: 11.97 kB / 0.7831 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.007957, allocations: 5.812 kB / 0.7832 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.007992, allocations: 51.28 kB / 0.7832 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007992, allocations: 0 / 0.7832 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000169/0.008161, allocations: 32 kB / 0.7832 GB, free: 12.55 MB / 0.7448 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.0001742/0.008335, allocations: 114 kB / 0.7833 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.008595, allocations: 476.4 kB / 0.7838 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.008599, allocations: 5.094 kB / 0.7838 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.008705, allocations: 219 kB / 0.784 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.008864, allocations: 25.59 kB / 0.784 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.009363, allocations: 334.5 kB / 0.7844 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.0094, allocations: 67.33 kB / 0.7844 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.009431, allocations: 17.52 kB / 0.7844 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.009551, allocations: 95.28 kB / 0.7845 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.009551, allocations: 0.5625 kB / 0.7845 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.003913/0.01346, allocations: 2.324 MB / 0.7868 GB, free: 8.898 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.89473841805011]