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.0009435/0.0009435, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009799/0.0009799, allocations: 185 kB / 24.09 MB, free: 416 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.9505/0.9505, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.839/1.839, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.423e-06/1.423e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.153e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001934/0.001946, allocations: 1.746 MB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003516, allocations: 1.772 MB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.003578, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.003772, allocations: 31.77 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.004013, allocations: 124.4 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.004153, allocations: 96.52 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.004288, allocations: 143.5 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.004319, allocations: 9.641 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004453, allocations: 84.58 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.004543, allocations: 47.83 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.00456, allocations: 9.031 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.004679, allocations: 107.9 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.004715, allocations: 29.34 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.004749, allocations: 31.86 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.004947, allocations: 183.3 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004948, allocations: 0 / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004949, allocations: 1.938 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004952, allocations: 0 / 0.8163 GB, free: 13.04 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.0003944/0.005346, allocations: 495.5 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.005377, allocations: 12.03 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.0057, allocations: 26.42 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.005836, allocations: 165.1 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005848, allocations: 4.359 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.005856, allocations: 8.312 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.005988, allocations: 132.4 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005994, allocations: 7.938 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.006001, allocations: 0.5312 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006005, allocations: 0 / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.006046, allocations: 25.5 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.006154, allocations: 132.7 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.006259, allocations: 113.8 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.006288, allocations: 35.64 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.0063, allocations: 1.375 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.296e-05/0.006393, allocations: 112 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.006394, allocations: 0 / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000168/0.006562, allocations: 110.2 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.006602, allocations: 137.4 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.006718, allocations: 239.7 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006731, allocations: 30.98 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.006779, allocations: 154.8 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.006805, allocations: 23.8 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.006844, allocations: 35.34 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.006944, allocations: 0.4931 MB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.006962, allocations: 11.98 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.007001, allocations: 77.06 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.007057, allocations: 68.42 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007059, allocations: 4 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.457e-05/0.007154, allocations: 102.7 kB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.007163, allocations: 4 kB / 0.8189 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.007166, allocations: 3.094 kB / 0.8189 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.007178, allocations: 7.938 kB / 0.819 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.007238, allocations: 15.98 kB / 0.819 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007242, allocations: 4 kB / 0.819 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.007276, allocations: 8 kB / 0.819 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.007282, allocations: 4 kB / 0.819 GB, free: 9.957 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 6.782e-05/0.00735, allocations: 174.5 kB / 0.8192 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.007369, allocations: 16.41 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.007478, allocations: 96.28 kB / 0.8193 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00748, allocations: 3.938 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.007483, allocations: 11.92 kB / 0.8193 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007486, allocations: 1.156 kB / 0.8193 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.007573, allocations: 133.1 kB / 0.8194 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007574, allocations: 4 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.007609, allocations: 20.97 kB / 0.8194 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00761, allocations: 0 / 0.8194 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007618, allocations: 7.984 kB / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007619, allocations: 1.344 kB / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00762, allocations: 0 / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.007733, allocations: 159.6 kB / 0.8196 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.007748, allocations: 13 kB / 0.8196 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.007771, allocations: 8 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.007803, allocations: 7.984 kB / 0.8196 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.007831, allocations: 16.58 kB / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.00784, allocations: 0 / 0.8196 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.007901, allocations: 174.5 kB / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007901, allocations: 0 / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001608/0.008062, allocations: 47.86 kB / 0.8198 GB, free: 9.016 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.0008966/0.008958, allocations: 0.5039 MB / 0.8203 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.354e-05/0.009052, allocations: 52.47 kB / 0.8204 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.009053, allocations: 4.188 kB / 0.8204 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.009091, allocations: 39.59 kB / 0.8204 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.009256, allocations: 34.3 kB / 0.8205 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.009661, allocations: 255.5 kB / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.009691, allocations: 67.33 kB / 0.8208 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.074e-05/0.009742, allocations: 21.09 kB / 0.8208 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.009825, allocations: 102.2 kB / 0.8209 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.009825, allocations: 0 / 0.8209 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.004123/0.01395, allocations: 2.917 MB / 0.8237 GB, free: 5.211 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: 4.888104712124914]