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.001793/0.001793, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002368/0.002368, allocations: 211.3 kB / 22.24 MB, free: 4.859 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 / 256 MB, free: 7.797 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.889/2.889, allocations: 476 MB / 0.7699 GB, free: 4.75 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.002179/0.002179, allocations: 67.95 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 170 MB / 1.283 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003737/0.3473, allocations: 1.689 MB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.3503, allocations: 1.72 MB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3505, allocations: 3.938 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3508, allocations: 43.77 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.3512, allocations: 107.5 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3515, allocations: 95.64 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3518, allocations: 139.5 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.3518, allocations: 5.641 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.352, allocations: 67.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3522, allocations: 59.69 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.3523, allocations: 8 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.3525, allocations: 103.9 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.3526, allocations: 31.86 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.3526, allocations: 35.8 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.353, allocations: 210.7 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.353, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.353, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3531, allocations: 4 kB / 1.287 GB, free: 8.184 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.0007414/0.3538, allocations: 389.2 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3538, allocations: 12.03 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.3539, allocations: 38.69 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3541, allocations: 28.83 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3544, allocations: 163.1 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3544, allocations: 384 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3545, allocations: 11.94 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3547, allocations: 118.8 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3547, allocations: 7.875 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3548, allocations: 8 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3548, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.355, allocations: 55.94 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.3553, allocations: 178.6 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.3556, allocations: 123.7 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3557, allocations: 50.55 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3557, allocations: 4 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.356, allocations: 109.9 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 5.22e-06/0.356, allocations: 7.984 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005408/0.3565, allocations: 173.4 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3566, allocations: 132.5 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3568, allocations: 195.9 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3569, allocations: 25.7 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.3569, allocations: 112.1 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.357, allocations: 32.02 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.357, allocations: 25.72 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3572, allocations: 326.8 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3573, allocations: 27.98 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3575, allocations: 97.91 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.3577, allocations: 95.42 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3577, allocations: 7.938 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003508/0.358, allocations: 141.4 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3581, allocations: 8 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3581, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3581, allocations: 4 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3582, allocations: 15.98 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3582, allocations: 4 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.3583, allocations: 20.16 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3583, allocations: 4 kB / 1.289 GB, free: 5.18 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.0001329/0.3585, allocations: 133.7 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.3585, allocations: 19.89 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.3588, allocations: 123.1 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3588, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3588, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3588, allocations: 4 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.359, allocations: 180.6 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.359, allocations: 4.312 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.3591, allocations: 19.94 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3591, allocations: 3.984 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3591, allocations: 4 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3591, allocations: 0 / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3591, allocations: 4 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.3595, allocations: 178.6 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.3595, allocations: 23.89 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3596, allocations: 4 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.3596, allocations: 8 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3597, allocations: 11.97 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3597, allocations: 4 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001565/0.3599, allocations: 157.1 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003037/0.3602, allocations: 47.86 kB / 1.29 GB, free: 4.176 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.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.002539/0.3627, allocations: 1.15 MB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.363, allocations: 95.88 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.363, allocations: 0 / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3632, allocations: 47.91 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3635, allocations: 27.98 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.366, allocations: 1.762 MB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3661, allocations: 105 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.968e-05/0.3662, allocations: 28.77 kB / 1.293 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.3663, allocations: 39.42 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3663, allocations: 3.938 kB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.4135, allocations: 5.148 MB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 21.44 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.86547845415771]