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.001316/0.001316, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001443/0.001443, allocations: 207.2 kB / 23.03 MB, free: 4.863 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|combiTimeTable.y.2.|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.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 68.66 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4045, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003399/0.4079, allocations: 1.69 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.4107, allocations: 1.738 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.4108, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.4111, allocations: 35.72 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.4115, allocations: 107.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.4118, allocations: 99.59 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.412, allocations: 143.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.4121, allocations: 5.625 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.4123, allocations: 67.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.4124, allocations: 55.75 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.4125, allocations: 7.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.4127, allocations: 111.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.4127, allocations: 23.92 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.4128, allocations: 39.73 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.4131, allocations: 211.1 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4131, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4131, allocations: 4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4132, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 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.0007301/0.4139, allocations: 401.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4139, allocations: 8.031 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.4141, allocations: 24.83 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.4144, allocations: 159.1 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4144, allocations: 8.359 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4144, allocations: 4.125 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.4147, allocations: 134.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4147, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4147, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.4149, allocations: 59.89 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.4152, allocations: 151.1 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4155, allocations: 115.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4156, allocations: 50.61 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4156, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.4159, allocations: 117.8 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.4159, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.4164, allocations: 177.7 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.4165, allocations: 132.5 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.4167, allocations: 203.2 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.4168, allocations: 33.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.4169, allocations: 100.1 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.4169, allocations: 27.83 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.417, allocations: 29.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4171, allocations: 326.8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4172, allocations: 27.98 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4174, allocations: 94.25 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.4176, allocations: 107.3 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4176, allocations: 192 / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003266/0.4179, allocations: 141.5 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.418, allocations: 11.94 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.418, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.418, allocations: 4 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.4181, allocations: 23.92 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4181, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.4182, allocations: 23.81 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4182, allocations: 4 kB / 1.334 GB, free: 9.719 MB / 1.029 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 0.0001305/0.4183, allocations: 128.8 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4184, allocations: 19.84 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.4187, allocations: 127 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4187, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4187, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4187, allocations: 7.984 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4189, allocations: 141.3 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4189, allocations: 4 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.4189, allocations: 15.98 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4189, allocations: 3.938 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.419, allocations: 7.984 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.419, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.419, allocations: 4 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.4193, allocations: 182.6 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.4194, allocations: 15.84 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4194, allocations: 12.05 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.4195, allocations: 8 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.4195, allocations: 11.92 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.4196, allocations: 7.984 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4197, allocations: 153.2 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4197, allocations: 4 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002866/0.42, allocations: 47.86 kB / 1.335 GB, free: 8.762 MB / 1.029 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.001942/0.4219, allocations: 0.525 MB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.4223, allocations: 91.86 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4223, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4224, allocations: 48.16 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.4227, allocations: 36.58 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.4233, allocations: 287.1 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.4234, allocations: 101 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.4235, allocations: 19.42 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.4235, allocations: 3.938 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of Templates: time 0.005045/0.4286, allocations: 2.643 MB / 1.338 GB, free: 5.188 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.00591899594292]