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.0009281/0.0009281, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000955/0.000955, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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 1/1, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.848/1.848, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.563e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002072/0.002088, allocations: 1.762 MB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003718, allocations: 1.781 MB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.003787, allocations: 0 / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.00405, allocations: 39.7 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.00437, allocations: 119.3 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.004631, allocations: 99.58 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.0048, allocations: 140.3 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.00484, allocations: 9.625 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.005002, allocations: 84.16 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005113, allocations: 49.53 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005132, allocations: 8 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.005267, allocations: 103.9 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.005314, allocations: 31.84 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.005355, allocations: 32.52 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.005594, allocations: 183.4 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005596, allocations: 1.156 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005596, allocations: 0 / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.0056, allocations: 0 / 0.8158 GB, free: 13.3 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.0004959/0.006096, allocations: 496.6 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.006129, allocations: 12.03 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.006253, allocations: 30.2 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006437, allocations: 169.7 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006455, allocations: 384 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.006467, allocations: 6.125 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.006638, allocations: 143.3 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006648, allocations: 3.938 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.00666, allocations: 4 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006668, allocations: 5.156 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.006717, allocations: 15.98 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.00687, allocations: 168 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.007002, allocations: 114.5 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.007048, allocations: 39.17 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.00706, allocations: 0.8438 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.00717, allocations: 109.9 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.007171, allocations: 0 / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002298/0.007401, allocations: 121.6 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.00745, allocations: 136.5 kB / 0.8174 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007594, allocations: 235.6 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.00761, allocations: 33.7 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.007661, allocations: 153.2 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.007693, allocations: 27.78 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.007729, allocations: 31.38 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.00785, allocations: 0.4923 MB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.007879, allocations: 15.98 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.007941, allocations: 88.06 kB / 0.8184 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.008014, allocations: 64.66 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008016, allocations: 0 / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.008134, allocations: 107.9 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.008145, allocations: 8 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008151, allocations: 3.938 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.008162, allocations: 0 / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.008241, allocations: 23.92 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.008245, allocations: 0.6562 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.008285, allocations: 15.64 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.008294, allocations: 8 kB / 0.8186 GB, free: 10.14 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.336e-05/0.008368, allocations: 159.2 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.008408, allocations: 19.91 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.008542, allocations: 111 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008543, allocations: 4 kB / 0.8189 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.008546, allocations: 0 / 0.8189 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008549, allocations: 0 / 0.8189 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.008651, allocations: 160.5 kB / 0.819 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008652, allocations: 2.031 kB / 0.819 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.00869, allocations: 15.98 kB / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008692, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.008702, allocations: 8 kB / 0.8191 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.008705, allocations: 8 kB / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008706, allocations: 0 / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.008843, allocations: 160.6 kB / 0.8192 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.008861, allocations: 19.89 kB / 0.8193 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.008881, allocations: 1.125 kB / 0.8193 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.008912, allocations: 7.938 kB / 0.8193 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.008949, allocations: 13.11 kB / 0.8193 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.008964, allocations: 11.98 kB / 0.8193 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.009045, allocations: 181 kB / 0.8195 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009045, allocations: 4.969 kB / 0.8195 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001849/0.00923, allocations: 43.88 kB / 0.8195 GB, free: 9.156 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.001005/0.01023, allocations: 0.4984 MB / 0.82 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.01037, allocations: 59.72 kB / 0.82 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01037, allocations: 0 / 0.82 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.01042, allocations: 39.61 kB / 0.8201 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01061, allocations: 34.73 kB / 0.8201 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.01112, allocations: 267.4 kB / 0.8204 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.01116, allocations: 63.34 kB / 0.8204 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.01121, allocations: 29.28 kB / 0.8205 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.01127, allocations: 24.5 kB / 0.8205 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01127, allocations: 0 / 0.8205 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.004381/0.01565, allocations: 2.877 MB / 0.8233 GB, free: 5.441 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.038639116100967]