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.001121/0.001121, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001099/0.001099, allocations: 169.3 kB / 24.28 MB, free: 280 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.9124/0.9124, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.769/1.769, allocations: 359 MB / 0.6055 GB, free: 10.98 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.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.055e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002158/0.002179, allocations: 1.743 MB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.003827, allocations: 1.776 MB / 0.7905 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.003912, allocations: 4 kB / 0.7905 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.004188, allocations: 39.7 kB / 0.7906 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004473, allocations: 112.6 kB / 0.7907 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.004625, allocations: 99.52 kB / 0.7908 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.004787, allocations: 140.5 kB / 0.7909 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.004831, allocations: 9.625 kB / 0.7909 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004991, allocations: 83.69 kB / 0.791 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005102, allocations: 45.16 kB / 0.791 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.00512, allocations: 8 kB / 0.791 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.005251, allocations: 107.9 kB / 0.7911 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.005302, allocations: 25.11 kB / 0.7912 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.005345, allocations: 31.91 kB / 0.7912 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.00558, allocations: 191.3 kB / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.005582, allocations: 1.594 kB / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005583, allocations: 0 / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005587, allocations: 0 / 0.7914 GB, free: 8.398 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.0004952/0.006082, allocations: 491.5 kB / 0.7918 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.006117, allocations: 13.47 kB / 0.7919 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.006247, allocations: 28.83 kB / 0.7919 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.006449, allocations: 169.1 kB / 0.792 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006469, allocations: 11.11 kB / 0.7921 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.006481, allocations: 384 / 0.7921 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006661, allocations: 139.4 kB / 0.7922 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.00667, allocations: 7.875 kB / 0.7922 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006681, allocations: 4 kB / 0.7922 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.006689, allocations: 0 / 0.7922 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.006744, allocations: 16.7 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.006904, allocations: 168.1 kB / 0.7924 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.007044, allocations: 110.9 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.007086, allocations: 39.05 kB / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.007098, allocations: 0 / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.007221, allocations: 113.4 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.007222, allocations: 0 / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002401/0.007462, allocations: 127.1 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.007513, allocations: 132.5 kB / 0.7929 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.007663, allocations: 246.6 kB / 0.7931 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.007677, allocations: 25.7 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.007728, allocations: 152 kB / 0.7933 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.007762, allocations: 27.78 kB / 0.7933 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.007798, allocations: 31.38 kB / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007903, allocations: 0.4979 MB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.007934, allocations: 12 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.00799, allocations: 92 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.008063, allocations: 68.64 kB / 0.794 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008066, allocations: 0 / 0.794 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001243/0.00819, allocations: 106.4 kB / 0.7941 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008202, allocations: 4 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008207, allocations: 4.469 kB / 0.7941 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008219, allocations: 4.719 kB / 0.7941 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.008297, allocations: 15.98 kB / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.008304, allocations: 4.531 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.008343, allocations: 17.3 kB / 0.7941 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.00835, allocations: 4 kB / 0.7941 GB, free: 5.23 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 7.225e-05/0.008422, allocations: 160.6 kB / 0.7943 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.008443, allocations: 16.44 kB / 0.7943 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.008585, allocations: 108.4 kB / 0.7944 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008587, allocations: 0 / 0.7944 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.008591, allocations: 4 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008594, allocations: 0 / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.008701, allocations: 161.6 kB / 0.7946 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008702, allocations: 3.938 kB / 0.7946 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.008742, allocations: 19.98 kB / 0.7946 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.008745, allocations: 4.812 kB / 0.7946 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008753, allocations: 0 / 0.7946 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008755, allocations: 4.875 kB / 0.7946 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.008757, allocations: 4 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008896, allocations: 157 kB / 0.7948 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.008914, allocations: 19.89 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.008935, allocations: 4 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.008968, allocations: 7.938 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.009012, allocations: 16.66 kB / 0.7948 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.009024, allocations: 8.438 kB / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001425/0.009167, allocations: 176 kB / 0.795 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009167, allocations: 1.938 kB / 0.795 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000184/0.009351, allocations: 43.88 kB / 0.795 GB, free: 4.258 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.000982/0.01033, allocations: 0.5064 MB / 0.7955 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01047, allocations: 59.59 kB / 0.7956 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01047, allocations: 0 / 0.7956 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.01052, allocations: 39.55 kB / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.01072, allocations: 40.62 kB / 0.7956 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.01126, allocations: 257.6 kB / 0.7959 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.0113, allocations: 67.34 kB / 0.796 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.236e-05/0.01135, allocations: 30.12 kB / 0.796 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.01139, allocations: 20.5 kB / 0.796 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of SimCode: time 1.303e-06/0.0114, allocations: 0.625 kB / 0.796 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.004158/0.01555, allocations: 2.671 MB / 0.7986 GB, free: 0.7578 MB / 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.966542893089354]