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.001722/0.001722, allocations: 108.6 kB / 16.45 MB, free: 6.508 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.002013/0.002013, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.379/3.379, allocations: 0.505 GB / 0.8066 GB, free: 23.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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.002277/0.002277, allocations: 71.45 kB / 1.172 GB, free: 17.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3614, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004887/0.3663, allocations: 1.726 MB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003492/0.3698, allocations: 1.694 MB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3699, allocations: 4 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.3702, allocations: 39.77 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.3707, allocations: 107.5 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.371, allocations: 95.64 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.3713, allocations: 139.5 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.3713, allocations: 5.453 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3716, allocations: 75.62 kB / 1.352 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3718, allocations: 51.77 kB / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3718, allocations: 8 kB / 1.352 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.3721, allocations: 119.9 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.3721, allocations: 31.89 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.3722, allocations: 47.67 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3727, allocations: 211.4 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3727, allocations: 0 / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3727, allocations: 0 / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3727, allocations: 0 / 1.352 GB, free: 5.648 MB / 1.045 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.0008088/0.3735, allocations: 476 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3735, allocations: 11.98 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.3736, allocations: 34.75 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3738, allocations: 24.83 kB / 1.353 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.3744, allocations: 240.9 kB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3744, allocations: 384 / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3744, allocations: 7.938 kB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.3748, allocations: 101.1 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3748, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3748, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3748, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.3751, allocations: 51.89 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.3754, allocations: 215.4 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.3757, allocations: 115.7 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3759, allocations: 46.61 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3759, allocations: 8 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.3762, allocations: 109.9 kB / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.3762, allocations: 0 / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0006752/0.3768, allocations: 165.6 kB / 1.354 GB, free: 3.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3769, allocations: 136.5 kB / 1.354 GB, free: 3.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3772, allocations: 199.1 kB / 1.354 GB, free: 3.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3772, allocations: 25.7 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.3773, allocations: 108.1 kB / 1.354 GB, free: 3.332 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3774, allocations: 27.78 kB / 1.354 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.3774, allocations: 29.64 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3776, allocations: 326.9 kB / 1.354 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3777, allocations: 31.98 kB / 1.354 GB, free: 2.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3779, allocations: 60.27 kB / 1.354 GB, free: 2.836 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.3781, allocations: 99.36 kB / 1.355 GB, free: 2.727 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3781, allocations: 3.938 kB / 1.355 GB, free: 2.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003496/0.3785, allocations: 137.4 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3785, allocations: 4 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3785, allocations: 416 / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3785, allocations: 8 kB / 1.355 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3786, allocations: 19.98 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3786, allocations: 4 kB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.3787, allocations: 11.98 kB / 1.355 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3788, allocations: 0 / 1.355 GB, free: 2.535 MB / 1.045 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.0001417/0.3789, allocations: 133.7 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3789, allocations: 15.91 kB / 1.355 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.379, allocations: 25.34 kB / 1.355 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.379, allocations: 0 / 1.355 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.379, allocations: 0 / 1.355 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.379, allocations: 3.984 kB / 1.355 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3792, allocations: 209.5 kB / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3792, allocations: 0 / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.3793, allocations: 15.98 kB / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3793, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3793, allocations: 0 / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3794, allocations: 4 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3794, allocations: 0 / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.3798, allocations: 174.6 kB / 1.355 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.3798, allocations: 93 kB / 1.355 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3799, allocations: 4 kB / 1.355 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.38, allocations: 11.94 kB / 1.355 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.38, allocations: 11.98 kB / 1.355 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3801, allocations: 4 kB / 1.355 GB, free: 1.734 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001614/0.3802, allocations: 140.1 kB / 1.356 GB, free: 1.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3802, allocations: 0 / 1.356 GB, free: 1.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000318/0.3805, allocations: 47.86 kB / 1.356 GB, free: 1.551 MB / 1.045 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.002588/0.3831, allocations: 1.118 MB / 1.357 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3835, allocations: 79.89 kB / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3835, allocations: 0 / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3836, allocations: 48.09 kB / 1.357 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.384, allocations: 27.86 kB / 1.357 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.3865, allocations: 1.735 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.3871, allocations: 0.7117 MB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.436e-05/0.3872, allocations: 20.62 kB / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3873, allocations: 43.42 kB / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3873, allocations: 0 / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4201, allocations: 4.388 MB / 1.364 GB, free: 9.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.917, allocations: 19.98 kB / 1.364 GB, free: 9.43 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.14434760203585]