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.001692/0.001692, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002278/0.002278, allocations: 220 kB / 22.24 MB, free: 5.109 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.812 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.385/3.385, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002061/0.002061, allocations: 67.23 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003265/0.3872, allocations: 1.688 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.39, allocations: 1.712 MB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.3901, allocations: 3.938 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3904, allocations: 39.77 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.3908, allocations: 119.5 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.391, allocations: 87.66 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3912, allocations: 143.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.3913, allocations: 5.641 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3915, allocations: 75.64 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.3919, allocations: 51.75 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3919, allocations: 8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3922, allocations: 111.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.3922, allocations: 23.91 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.3923, allocations: 47.73 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.3926, allocations: 203.5 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3926, allocations: 0 / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3926, allocations: 0 / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3926, allocations: 0 / 1.368 GB, free: 9.797 MB / 1.061 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.0007062/0.3933, allocations: 401.2 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3934, allocations: 8.031 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.3934, allocations: 30.75 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3936, allocations: 20.88 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3939, allocations: 171.1 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3939, allocations: 4.375 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3939, allocations: 7.938 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3942, allocations: 134.7 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3942, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3942, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3942, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.3944, allocations: 59.94 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.3947, allocations: 182.5 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.395, allocations: 119.7 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3951, allocations: 50.62 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3952, allocations: 3.984 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.3954, allocations: 109.9 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3954, allocations: 4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.3959, allocations: 173.5 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.396, allocations: 132.5 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3963, allocations: 199.2 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3963, allocations: 33.7 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.3964, allocations: 104.1 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.3964, allocations: 23.84 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.3964, allocations: 25.97 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3966, allocations: 330.8 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3967, allocations: 31.98 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3969, allocations: 93.91 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3971, allocations: 99.33 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3971, allocations: 8.156 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003141/0.3974, allocations: 137.5 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3974, allocations: 7.938 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3974, allocations: 0 / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3975, allocations: 4 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3976, allocations: 19.98 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3976, allocations: 3.938 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.3977, allocations: 24.02 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3977, allocations: 4 kB / 1.37 GB, free: 6.785 MB / 1.061 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.0001235/0.3978, allocations: 125.8 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3978, allocations: 15.89 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.3981, allocations: 127 kB / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3981, allocations: 0 / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3981, allocations: 4 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3981, allocations: 0 / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3983, allocations: 180.8 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3983, allocations: 4 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.3984, allocations: 16 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.3984, allocations: 4 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3984, allocations: 3.984 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3984, allocations: 4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3984, allocations: 0 / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.3988, allocations: 190.6 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3988, allocations: 11.94 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3989, allocations: 4 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.399, allocations: 12 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.399, allocations: 11.97 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.399, allocations: 8 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001584/0.3992, allocations: 149.1 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3992, allocations: 0 / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002869/0.3995, allocations: 51.86 kB / 1.371 GB, free: 5.793 MB / 1.061 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.002555/0.402, allocations: 1.151 MB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.4023, allocations: 91.86 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4023, allocations: 0 / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4025, allocations: 47.91 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.4028, allocations: 39.02 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4053, allocations: 1.774 MB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.4054, allocations: 97.05 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.986e-05/0.4055, allocations: 32.83 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.4056, allocations: 39.42 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.4056, allocations: 4 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.4511, allocations: 5.154 MB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 15.23 kB / 1.379 GB, free: 13.48 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.20743015827611]