Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009286/0.0009286, allocations: 87.58 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.0009291/0.0009291, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9467/0.9467, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.751/1.751, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.679e-05, allocations: 3.031 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002057/0.002074, allocations: 1.746 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.003741, allocations: 1.787 MB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.003817, allocations: 0 / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.004081, allocations: 36.55 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.004404, allocations: 124 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004598, allocations: 95.58 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004767, allocations: 136.9 kB / 0.7909 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.004804, allocations: 5.641 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004964, allocations: 87.67 kB / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005076, allocations: 53.81 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.005096, allocations: 8 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.005249, allocations: 99.88 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.0053, allocations: 35.8 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.005448, allocations: 31.91 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.005688, allocations: 179.4 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00569, allocations: 2.219 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005691, allocations: 0 / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005695, allocations: 4 kB / 0.7914 GB, free: 8.098 MB / 0.7448 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.000475/0.00617, allocations: 495.4 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.006207, allocations: 12.03 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.006334, allocations: 25.36 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006512, allocations: 170.7 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.00653, allocations: 4.375 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.006542, allocations: 4.375 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.006706, allocations: 140.7 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.006716, allocations: 3.938 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.006725, allocations: 0 / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006732, allocations: 4 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.006786, allocations: 25.73 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.006939, allocations: 164 kB / 0.7924 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.007077, allocations: 109.2 kB / 0.7925 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.007122, allocations: 44.08 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.007137, allocations: 0.625 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.007258, allocations: 108.1 kB / 0.7926 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.007259, allocations: 5.875 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002261/0.007485, allocations: 117.4 kB / 0.7928 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.007532, allocations: 132.5 kB / 0.7929 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.007672, allocations: 241.1 kB / 0.7931 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007688, allocations: 33.7 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.007741, allocations: 150.9 kB / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.007772, allocations: 27.78 kB / 0.7933 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.007807, allocations: 27.38 kB / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007915, allocations: 0.4962 MB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.007943, allocations: 12.7 kB / 0.7938 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.007995, allocations: 88.06 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.008067, allocations: 68.88 kB / 0.794 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.00807, allocations: 4 kB / 0.794 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.008195, allocations: 98.17 kB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.008208, allocations: 9.219 kB / 0.7941 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.008214, allocations: 7.922 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008226, allocations: 0 / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.008303, allocations: 29.02 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.008309, allocations: 4 kB / 0.7941 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.008347, allocations: 7.984 kB / 0.7941 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008354, allocations: 4.906 kB / 0.7941 GB, free: 4.938 MB / 0.7448 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.877e-05/0.008423, allocations: 162.6 kB / 0.7943 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.008446, allocations: 20.75 kB / 0.7943 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.008583, allocations: 115 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008585, allocations: 1.281 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.008589, allocations: 4 kB / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008594, allocations: 4 kB / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.008698, allocations: 161.2 kB / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008699, allocations: 0 / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.008739, allocations: 16.86 kB / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.00874, allocations: 0 / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.008749, allocations: 4 kB / 0.7946 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008751, allocations: 5.5 kB / 0.7946 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008752, allocations: 0 / 0.7946 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.008892, allocations: 163.6 kB / 0.7948 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.00891, allocations: 17.02 kB / 0.7948 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.008931, allocations: 8 kB / 0.7948 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.008963, allocations: 7.938 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.009004, allocations: 15.2 kB / 0.7948 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.009018, allocations: 7.984 kB / 0.7948 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.009117, allocations: 175.9 kB / 0.795 GB, free: 4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009117, allocations: 0 / 0.795 GB, free: 4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001942/0.009311, allocations: 47.88 kB / 0.795 GB, free: 3.953 MB / 0.7448 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.0009754/0.01029, allocations: 0.493 MB / 0.7955 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01041, allocations: 59.59 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01042, allocations: 0 / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.01047, allocations: 44.75 kB / 0.7956 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01066, allocations: 41.12 kB / 0.7957 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.01118, allocations: 267.3 kB / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.01122, allocations: 67.34 kB / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.01127, allocations: 20.94 kB / 0.796 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.01131, allocations: 20.5 kB / 0.796 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01131, allocations: 4 kB / 0.796 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.00416/0.01547, allocations: 2.67 MB / 0.7986 GB, free: 464 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.985409261193126]