Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007502/0.0007502, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001787, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007043/0.0007043, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009797/0.001684, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.978/0.978, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08229/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.283/2.283, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.531, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.281e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00193/0.001943, allocations: 1.801 MB / 0.8207 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003523, allocations: 1.82 MB / 0.8225 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.003584, allocations: 4 kB / 0.8225 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.003746, allocations: 43.64 kB / 0.8225 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.003936, allocations: 115.3 kB / 0.8226 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.004079, allocations: 103.5 kB / 0.8227 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.00423, allocations: 131.6 kB / 0.8228 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.004269, allocations: 14.22 kB / 0.8228 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.004446, allocations: 115.7 kB / 0.823 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.004549, allocations: 43.89 kB / 0.823 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.004572, allocations: 8 kB / 0.823 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.004722, allocations: 111.8 kB / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.004765, allocations: 27.86 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.004796, allocations: 19.94 kB / 0.8232 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.005006, allocations: 179.3 kB / 0.8233 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.005016, allocations: 4 kB / 0.8233 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005017, allocations: 0 / 0.8233 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.005026, allocations: 0 / 0.8233 GB, free: 13.97 MB / 0.8073 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.0004521/0.005478, allocations: 387.5 kB / 0.8237 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.005507, allocations: 8.031 kB / 0.8237 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.005647, allocations: 102 kB / 0.8238 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.005805, allocations: 162.9 kB / 0.824 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005819, allocations: 4.359 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.005831, allocations: 8.375 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.005961, allocations: 122.8 kB / 0.8241 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005968, allocations: 7.938 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.005976, allocations: 3.984 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.00598, allocations: 0 / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.006016, allocations: 22.75 kB / 0.8241 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.104e-05/0.006107, allocations: 84.41 kB / 0.8242 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006208, allocations: 82.59 kB / 0.8243 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.006235, allocations: 26.7 kB / 0.8243 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.006248, allocations: 8 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.848e-05/0.006346, allocations: 96.69 kB / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.006347, allocations: 0 / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001315/0.006478, allocations: 84.42 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.006521, allocations: 106.8 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006629, allocations: 185.1 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.006795, allocations: 29.7 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.006823, allocations: 104.3 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.006852, allocations: 19.8 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.006886, allocations: 29.62 kB / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.006955, allocations: 326.8 kB / 0.8253 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.006972, allocations: 10.83 kB / 0.8253 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.007009, allocations: 69.98 kB / 0.8253 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.007065, allocations: 60.98 kB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007067, allocations: 0 / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.587e-05/0.007143, allocations: 76.47 kB / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007154, allocations: 8 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007158, allocations: 0 / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.007168, allocations: 0 / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.007245, allocations: 27.86 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.007249, allocations: 4 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.007285, allocations: 11.94 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007291, allocations: 4 kB / 0.8255 GB, free: 11.44 MB / 0.8073 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.147e-05/0.007352, allocations: 128.6 kB / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007367, allocations: 11.98 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.007462, allocations: 79.06 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007464, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.007466, allocations: 3.938 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007471, allocations: 4 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.964e-05/0.00755, allocations: 94.16 kB / 0.8258 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.007553, allocations: 8 kB / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.007591, allocations: 12 kB / 0.8258 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.007607, allocations: 15.89 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007609, allocations: 4 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007615, allocations: 4 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007616, allocations: 0 / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.007619, allocations: 7.938 kB / 0.8259 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/0.007704, allocations: 116.4 kB / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.007721, allocations: 0 / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.007751, allocations: 8 kB / 0.826 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.007782, allocations: 19.84 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.007791, allocations: 4 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.007838, allocations: 61.55 kB / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007838, allocations: 0 / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000144/0.007982, allocations: 51.86 kB / 0.8261 GB, free: 10.75 MB / 0.8073 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.00141/0.009392, allocations: 0.7175 MB / 0.8268 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.009504, allocations: 44.78 kB / 0.8269 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.009512, allocations: 0 / 0.8269 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.009559, allocations: 32.78 kB / 0.8269 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.009751, allocations: 188.9 kB / 0.8271 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.01048, allocations: 273.7 kB / 0.8273 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.01052, allocations: 67.33 kB / 0.8274 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.01057, allocations: 21.19 kB / 0.8274 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.01066, allocations: 75.36 kB / 0.8275 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/0.01066, allocations: 4 kB / 0.8275 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.004165/0.01483, allocations: 2.892 MB / 0.8303 GB, free: 6.73 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.993151320144534]