Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.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.0008312/0.0008312, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009363/0.0009363, allocations: 169 kB / 24.28 MB, free: 276 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.9629/0.9629, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.421e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002553/0.002578, allocations: 1.754 MB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.00437, allocations: 1.772 MB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.004453, allocations: 0 / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.00473, allocations: 39.77 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.005042, allocations: 116 kB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.005217, allocations: 96.48 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005388, allocations: 147.5 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.005432, allocations: 6.297 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.005606, allocations: 88.48 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005718, allocations: 45.73 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.005736, allocations: 9.25 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.005877, allocations: 107.8 kB / 0.8156 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.005929, allocations: 23.92 kB / 0.8156 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.005975, allocations: 31.86 kB / 0.8156 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.006229, allocations: 193.3 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006232, allocations: 0 / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006233, allocations: 4 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006238, allocations: 0 / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005216/0.00676, allocations: 483.5 kB / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.006796, allocations: 13 kB / 0.8163 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.006938, allocations: 24.83 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.007136, allocations: 175.1 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.007156, allocations: 4.375 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.007168, allocations: 4.359 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.007341, allocations: 140.3 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.007349, allocations: 3.938 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.007362, allocations: 4.75 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007369, allocations: 0 / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.007426, allocations: 28.59 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.007651, allocations: 156.8 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.0078, allocations: 114.2 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.007844, allocations: 39.19 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.007857, allocations: 0.5312 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.00798, allocations: 113.4 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.007981, allocations: 0 / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002382/0.00822, allocations: 118.6 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.008273, allocations: 136.5 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.008426, allocations: 238.7 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.008442, allocations: 30.23 kB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.008496, allocations: 154.9 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.008531, allocations: 28.62 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.008569, allocations: 31.36 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.008672, allocations: 0.4978 MB / 0.8183 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.008701, allocations: 8 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.008761, allocations: 88.06 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.008838, allocations: 75.17 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.00884, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.008962, allocations: 101.5 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.008975, allocations: 8 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.008982, allocations: 3.938 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.008994, allocations: 4 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.009079, allocations: 19.98 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.009085, allocations: 4 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.009125, allocations: 8.578 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.009133, allocations: 4.5 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.347e-05/0.009207, allocations: 166.1 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.00923, allocations: 15.94 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.009375, allocations: 103.1 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.009377, allocations: 0 / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.009382, allocations: 4.922 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.009388, allocations: 11.92 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.009498, allocations: 162.1 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009499, allocations: 0 / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.009544, allocations: 19.92 kB / 0.819 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009546, allocations: 0 / 0.819 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.009556, allocations: 4 kB / 0.819 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009558, allocations: 8.516 kB / 0.819 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009559, allocations: 0.8125 kB / 0.819 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.009714, allocations: 163.6 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.009734, allocations: 12.84 kB / 0.8192 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.009756, allocations: 4 kB / 0.8192 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.009794, allocations: 17.27 kB / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.009838, allocations: 7.984 kB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.009853, allocations: 4 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.009937, allocations: 181 kB / 0.8194 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009938, allocations: 0.7188 kB / 0.8194 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001885/0.01013, allocations: 47.86 kB / 0.8195 GB, free: 9.516 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009997/0.01113, allocations: 0.4985 MB / 0.82 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.01126, allocations: 64.02 kB / 0.82 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01126, allocations: 0 / 0.82 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.01131, allocations: 36.77 kB / 0.8201 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.01151, allocations: 36.5 kB / 0.8201 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01207, allocations: 259.5 kB / 0.8203 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.01211, allocations: 75.33 kB / 0.8204 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01216, allocations: 17.11 kB / 0.8204 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.0122, allocations: 24.48 kB / 0.8204 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.0122, allocations: 0 / 0.8204 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.004281/0.01648, allocations: 2.673 MB / 0.8231 GB, free: 6.031 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.119681646116078]