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.001596/0.001596, allocations: 112.8 kB / 16.46 MB, free: 6.453 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.002377/0.002377, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_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.00207/0.00207, allocations: 67.91 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7993, allocations: 169.9 MB / 1.278 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003288/0.8026, allocations: 1.733 MB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.8052, allocations: 1.703 MB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.8053, allocations: 3.938 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.8055, allocations: 43.77 kB / 1.282 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.8059, allocations: 103.5 kB / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.8061, allocations: 95.64 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.8063, allocations: 131.5 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.8064, allocations: 9.438 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.8066, allocations: 79.64 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.8067, allocations: 51.77 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.8068, allocations: 4 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.807, allocations: 123.9 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.807, allocations: 31.89 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.8071, allocations: 43.69 kB / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.8075, allocations: 201.1 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8075, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8075, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8075, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9825 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.0007177/0.8082, allocations: 474.2 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8082, allocations: 12.03 kB / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.8083, allocations: 38.73 kB / 1.283 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.8085, allocations: 24.83 kB / 1.283 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.8088, allocations: 229.4 kB / 1.283 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8088, allocations: 4.375 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.8088, allocations: 7.938 kB / 1.283 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.8091, allocations: 101 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8091, allocations: 0 / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.8091, allocations: 8 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8091, allocations: 0 / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.8093, allocations: 51.89 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.8095, allocations: 215.5 kB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.8098, allocations: 111.6 kB / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.8099, allocations: 54.61 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.81, allocations: 0 / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.8102, allocations: 121.8 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.8102, allocations: 4 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.8107, allocations: 157.5 kB / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.8108, allocations: 132.5 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.811, allocations: 187.2 kB / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.811, allocations: 33.69 kB / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.8111, allocations: 104.4 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.8112, allocations: 27.78 kB / 1.284 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.8112, allocations: 21.72 kB / 1.285 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8114, allocations: 330.8 kB / 1.285 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.8115, allocations: 31.92 kB / 1.285 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8116, allocations: 68.27 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.8119, allocations: 91.59 kB / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8119, allocations: 7.938 kB / 1.285 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003401/0.8122, allocations: 133.5 kB / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8122, allocations: 10.34 kB / 1.285 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8122, allocations: 0 / 1.285 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8122, allocations: 0 / 1.285 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8124, allocations: 23.92 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8124, allocations: 4 kB / 1.285 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.8125, allocations: 15.94 kB / 1.285 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8125, allocations: 4 kB / 1.285 GB, free: 5.996 MB / 0.9825 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.0001107/0.8126, allocations: 129.9 kB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.8126, allocations: 19.89 kB / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.8127, allocations: 13.41 kB / 1.285 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8127, allocations: 4 kB / 1.285 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8127, allocations: 0 / 1.285 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8127, allocations: 0 / 1.285 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.8129, allocations: 213.5 kB / 1.286 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8129, allocations: 4 kB / 1.286 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.813, allocations: 11.98 kB / 1.286 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.813, allocations: 8 kB / 1.286 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.813, allocations: 3.938 kB / 1.286 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.813, allocations: 192 / 1.286 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.813, allocations: 4 kB / 1.286 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.8134, allocations: 170.6 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.8134, allocations: 96.94 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.8135, allocations: 3.984 kB / 1.286 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.8136, allocations: 8 kB / 1.286 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.8136, allocations: 12.05 kB / 1.286 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.8136, allocations: 8 kB / 1.286 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001497/0.8138, allocations: 149.1 kB / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8138, allocations: 0 / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002942/0.8141, allocations: 47.86 kB / 1.286 GB, free: 4.992 MB / 0.9825 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.002433/0.8165, allocations: 1.1 MB / 1.287 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.8168, allocations: 87.89 kB / 1.287 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8168, allocations: 0 / 1.287 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.817, allocations: 43.89 kB / 1.287 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.8173, allocations: 31.47 kB / 1.287 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.8196, allocations: 1.744 MB / 1.289 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.82, allocations: 0.7041 MB / 1.29 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.078e-05/0.8201, allocations: 20.62 kB / 1.29 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.8202, allocations: 47.41 kB / 1.29 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8202, allocations: 4 kB / 1.29 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.8499, allocations: 4.381 MB / 1.294 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.049, allocations: 5.812 kB / 1.294 GB, free: 12.91 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.206616563955322]