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.001819/0.001819, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002277/0.002277, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.777 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.278/3.278, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [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.00307/0.00307, allocations: 66.14 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3931, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003409/0.3965, allocations: 1.688 MB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.3993, allocations: 1.722 MB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.3994, allocations: 7.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.3996, allocations: 31.78 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.4, allocations: 111.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.4002, allocations: 91.66 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.4004, allocations: 143.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.4005, allocations: 5.641 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.4007, allocations: 71.64 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.4009, allocations: 53.64 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.4009, allocations: 12 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.4011, allocations: 111.9 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.4012, allocations: 23.91 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.4013, allocations: 43.73 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.4016, allocations: 207.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4016, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4016, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4016, allocations: 0 / 1.329 GB, free: 14.04 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.0007093/0.4023, allocations: 401.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4024, allocations: 8.031 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.4024, allocations: 38.73 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.4026, allocations: 24.83 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.4029, allocations: 163.1 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4029, allocations: 8.375 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4029, allocations: 3.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.4032, allocations: 130.7 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4032, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4032, allocations: 3.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4032, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.4034, allocations: 55.89 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.4037, allocations: 178.5 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.404, allocations: 123.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4041, allocations: 50.61 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4041, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.4044, allocations: 113.9 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4044, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.4049, allocations: 169.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.405, allocations: 128.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4052, allocations: 207.2 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4052, allocations: 29.95 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.4053, allocations: 112.1 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.4054, allocations: 23.84 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.4054, allocations: 25.7 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4056, allocations: 326.8 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4057, allocations: 35.97 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4058, allocations: 93.91 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.4061, allocations: 99.38 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4061, allocations: 3.938 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003274/0.4064, allocations: 137.5 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4064, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4064, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4065, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.4066, allocations: 28.06 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4066, allocations: 7.875 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.4067, allocations: 19.89 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4067, allocations: 7.984 kB / 1.332 GB, free: 11.01 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.0001241/0.4068, allocations: 129.1 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.4069, allocations: 15.91 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.4072, allocations: 123 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4072, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4072, allocations: 4.312 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4072, allocations: 4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.4074, allocations: 176.6 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4074, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.4075, allocations: 15.98 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4075, allocations: 4.188 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4075, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4075, allocations: 7.938 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4075, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.4079, allocations: 194.6 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.4079, allocations: 11.91 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.4079, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.408, allocations: 15.98 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.4081, allocations: 7.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.4081, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001555/0.4082, allocations: 149.2 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4082, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002936/0.4085, allocations: 51.86 kB / 1.333 GB, free: 10.03 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.002493/0.411, allocations: 1.155 MB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.4113, allocations: 91.86 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4113, allocations: 0 / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4115, allocations: 47.91 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4118, allocations: 30.2 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.4141, allocations: 1.774 MB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.482e-05/0.4142, allocations: 101 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.711e-05/0.4143, allocations: 28.69 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.4144, allocations: 47.41 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4144, allocations: 0 / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.4491, allocations: 5.167 MB / 1.341 GB, free: 1.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.25, allocations: 9.516 kB / 1.341 GB, free: 1.699 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/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: 19.23667932813987]