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.0008316/0.0008316, 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.001024/0.001024, allocations: 161.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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2/2, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.532e-06/1.532e-06, allocations: 0.875 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.503e-05, allocations: 5.812 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.0027/0.002725, allocations: 1.803 MB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.004519, allocations: 1.799 MB / 0.7636 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.004596, allocations: 0 / 0.7636 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.004851, allocations: 37.08 kB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.005133, allocations: 112.6 kB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.005329, allocations: 95.58 kB / 0.7638 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.005496, allocations: 148.7 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.005537, allocations: 10.28 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.005694, allocations: 91.67 kB / 0.764 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005802, allocations: 40.75 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005818, allocations: 8 kB / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.00599, allocations: 116.9 kB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.006031, allocations: 23.86 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.006066, allocations: 27.92 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.006287, allocations: 196 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006289, allocations: 0 / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00629, allocations: 1.781 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006294, allocations: 0 / 0.7644 GB, free: 2.156 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004009/0.006695, allocations: 363.8 kB / 0.7648 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.006722, allocations: 8.031 kB / 0.7648 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.006826, allocations: 17.98 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.006986, allocations: 162.3 kB / 0.7649 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.006999, allocations: 5.312 kB / 0.765 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.007009, allocations: 8.375 kB / 0.765 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.007145, allocations: 123.8 kB / 0.7651 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.007152, allocations: 3.938 kB / 0.7651 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.007162, allocations: 8.75 kB / 0.7651 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.007167, allocations: 0 / 0.7651 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.007203, allocations: 19.5 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.396e-05/0.007297, allocations: 88.5 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.007397, allocations: 78.45 kB / 0.7653 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.00743, allocations: 30.69 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.007439, allocations: 4 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/0.007535, allocations: 92.7 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.007536, allocations: 0 / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001368/0.007673, allocations: 88.42 kB / 0.7655 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.007716, allocations: 138.9 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.00783, allocations: 194.1 kB / 0.7658 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.007845, allocations: 25.7 kB / 0.7658 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.00787, allocations: 88.12 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.007903, allocations: 31.77 kB / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.007935, allocations: 25.7 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.008011, allocations: 331.6 kB / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.008031, allocations: 10.83 kB / 0.7663 GB, free: 20 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.992e-05/0.00808, allocations: 63.17 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.008138, allocations: 57.84 kB / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.008141, allocations: 4 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.122e-05/0.008223, allocations: 82.67 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.008233, allocations: 4 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008238, allocations: 4 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.008248, allocations: 0 / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.008321, allocations: 26.67 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.008323, allocations: 3.938 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.008363, allocations: 11.95 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.008369, allocations: 4 kB / 0.7665 GB, free: 15.73 MB / 0.7292 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.524e-05/0.008434, allocations: 126.1 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.008452, allocations: 11.98 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.008543, allocations: 75.12 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008545, allocations: 1.344 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.008548, allocations: 7.938 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.008553, allocations: 3.984 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.498e-05/0.008638, allocations: 98.94 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008639, allocations: 320 / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.008676, allocations: 15.98 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008678, allocations: 1.688 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.008686, allocations: 11.94 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008687, allocations: 0 / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008688, allocations: 0 / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.00878, allocations: 125 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.008797, allocations: 11.91 kB / 0.767 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.008815, allocations: 4.656 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.008846, allocations: 9.141 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.008878, allocations: 15.92 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.008889, allocations: 4 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.008933, allocations: 52.48 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.008933, allocations: 1 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001636/0.009097, allocations: 51.86 kB / 0.7671 GB, free: 15.05 MB / 0.7292 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.001314/0.01041, allocations: 0.6445 MB / 0.7678 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01051, allocations: 48.77 kB / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.01052, allocations: 0 / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.01055, allocations: 32.47 kB / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.01069, allocations: 29.81 kB / 0.7679 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.01112, allocations: 261.6 kB / 0.7681 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.01116, allocations: 67.33 kB / 0.7682 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01121, allocations: 20.78 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.01129, allocations: 75.3 kB / 0.7683 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.0113, allocations: 0 / 0.7683 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.004112/0.01541, allocations: 2.861 MB / 0.7711 GB, free: 11.45 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.251876330003142]