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.002271/0.002271, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003095/0.003095, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.02 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.933/2.933, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.002112/0.002112, allocations: 65.81 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2862, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003107/0.2893, allocations: 1.74 MB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.292, allocations: 1.79 MB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.2921, allocations: 11.88 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2923, allocations: 35.78 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.2927, allocations: 111.5 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2929, allocations: 91.66 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.2932, allocations: 143.5 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.2932, allocations: 5.641 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.2934, allocations: 79.62 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2936, allocations: 53.83 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2936, allocations: 12 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2938, allocations: 119.9 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.2939, allocations: 27.86 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.2939, allocations: 39.73 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.2943, allocations: 206.7 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2943, allocations: 4 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2943, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2943, allocations: 0 / 1.288 GB, free: 7.148 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.000662/0.2949, allocations: 397.2 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.295, allocations: 16.03 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.295, allocations: 30.75 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2952, allocations: 24.83 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2955, allocations: 171.1 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2955, allocations: 384 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.2955, allocations: 11.88 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.2958, allocations: 101.1 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2958, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2958, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2958, allocations: 4 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.296, allocations: 51.89 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.2962, allocations: 190.5 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2965, allocations: 115.7 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2966, allocations: 46.62 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2967, allocations: 4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.2969, allocations: 113.9 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2969, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.2974, allocations: 169.5 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.2975, allocations: 136.5 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.2978, allocations: 183.9 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2978, allocations: 29.7 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.2978, allocations: 104.1 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.2979, allocations: 19.86 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.2979, allocations: 33.95 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2981, allocations: 326.8 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.2982, allocations: 31.97 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2983, allocations: 60.28 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.2986, allocations: 99.36 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2986, allocations: 3.938 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003184/0.2989, allocations: 129.8 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2989, allocations: 16.03 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2989, allocations: 0 / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2989, allocations: 3.984 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2991, allocations: 23.98 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.2991, allocations: 4 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.2992, allocations: 11.89 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2992, allocations: 8 kB / 1.29 GB, free: 4.238 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.0001136/0.2993, allocations: 125.8 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.2993, allocations: 19.91 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2996, allocations: 115 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2996, allocations: 4 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2996, allocations: 3.938 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2996, allocations: 0 / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.2998, allocations: 180.6 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2998, allocations: 0 / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.2999, allocations: 8 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2999, allocations: 7.984 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2999, allocations: 0 / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2999, allocations: 8 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2999, allocations: 3.938 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3003, allocations: 170.6 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.3003, allocations: 7.953 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3003, allocations: 12 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3004, allocations: 7.984 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3004, allocations: 11.97 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3005, allocations: 4 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001631/0.3006, allocations: 145.1 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3006, allocations: 0 / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002961/0.3009, allocations: 51.86 kB / 1.291 GB, free: 3.277 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 (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.002401/0.3033, allocations: 1.108 MB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.3036, allocations: 83.95 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3036, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3038, allocations: 43.91 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3041, allocations: 30.59 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3065, allocations: 1.749 MB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3068, allocations: 0.704 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.98e-05/0.3069, allocations: 20.64 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.307, allocations: 39.41 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.307, allocations: 4 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.3422, allocations: 4.549 MB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.96, allocations: 18.22 kB / 1.299 GB, free: 11.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 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.mat","/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.958056177012622]