Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007679/0.007679, allocations: 99.84 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 201.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3818, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004056/0.3859, allocations: 1.679 MB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3885, allocations: 1.507 MB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3887, allocations: 0 / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.3892, allocations: 47.77 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.3896, allocations: 63.62 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.39, allocations: 111.6 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3903, allocations: 127.6 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.3904, allocations: 13.11 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3906, allocations: 59.72 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.3908, allocations: 55.69 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.3908, allocations: 4 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.391, allocations: 63.98 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.3911, allocations: 27.91 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.3911, allocations: 39.73 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3915, allocations: 155.6 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3915, allocations: 3.938 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3915, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3915, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 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.0008239/0.3923, allocations: 446.5 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3924, allocations: 12.03 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.3925, allocations: 38.75 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.3925, allocations: 8.891 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.3929, allocations: 221.1 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.393, allocations: 384 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.393, allocations: 7.938 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.3933, allocations: 112.9 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3933, allocations: 0 / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3934, allocations: 0 / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3934, allocations: 0 / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3936, allocations: 51.89 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.3939, allocations: 211.5 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.3942, allocations: 123.7 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3943, allocations: 46.62 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.3943, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.3947, allocations: 113.9 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.3947, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.3952, allocations: 169.6 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.3954, allocations: 132.5 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3956, allocations: 178.9 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3956, allocations: 25.7 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3957, allocations: 100.1 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3957, allocations: 27.78 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3959, allocations: 21.72 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.396, allocations: 334.9 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3962, allocations: 27.98 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3963, allocations: 72.2 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3966, allocations: 91.38 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3967, allocations: 7.938 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004022/0.3971, allocations: 129.7 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3971, allocations: 8 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3971, allocations: 64 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3971, allocations: 8.281 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3973, allocations: 19.98 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3973, allocations: 11.88 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.3974, allocations: 15.94 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3974, allocations: 4 kB / 1.173 GB, free: 348 kB / 0.92 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.000123/0.3975, allocations: 121.8 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3976, allocations: 11.95 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.3977, allocations: 21.39 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3977, allocations: 4 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3977, allocations: 4 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3977, allocations: 3.938 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3979, allocations: 209.6 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.398, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.3981, allocations: 15.98 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3981, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3981, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.3981, allocations: 7.938 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3981, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.3985, allocations: 166.7 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3986, allocations: 96.94 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3986, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3987, allocations: 8 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3988, allocations: 15.98 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3988, allocations: 4 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001513/0.3989, allocations: 132.2 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.964e-06/0.399, allocations: 0 / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002876/0.3993, allocations: 27.94 kB / 1.173 GB, free: 15.4 MB / 0.9356 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001928/0.4012, allocations: 1.048 MB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.4015, allocations: 91.81 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4016, allocations: 0 / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4017, allocations: 47.91 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4021, allocations: 31.48 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.4048, allocations: 1.705 MB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4052, allocations: 0.7118 MB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.4053, allocations: 24.48 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.4054, allocations: 39.41 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of SimCode: time 7.22e-07/0.4054, allocations: 0 / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.4336, allocations: 3.841 MB / 1.181 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.626, allocations: 10.81 kB / 1.181 GB, free: 7.941 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches