Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002081/0.002081, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003183/0.003183, allocations: 211.9 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.404/3.404, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_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.003027/0.003027, allocations: 71.55 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.375, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003501/0.3785, allocations: 1.696 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3815, allocations: 1.724 MB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3817, allocations: 7.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3819, allocations: 35.77 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3823, allocations: 107.5 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3826, allocations: 99.64 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.3828, allocations: 143.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.414e-05/0.3829, allocations: 5.641 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3831, allocations: 63.72 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.3833, allocations: 59.69 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3833, allocations: 12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.3836, allocations: 103.9 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.3836, allocations: 31.91 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3837, allocations: 39.73 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.3841, allocations: 199.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3841, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3841, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3841, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 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.000738/0.3848, allocations: 405.2 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3848, allocations: 12.03 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.3849, allocations: 34.75 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.385, allocations: 24.83 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3854, allocations: 163.1 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3854, allocations: 384 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3854, allocations: 11.88 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3857, allocations: 130.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3857, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3859, allocations: 59.94 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.3862, allocations: 182.5 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.3865, allocations: 119.7 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3866, allocations: 42.62 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3866, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.3869, allocations: 117.9 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3869, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.3874, allocations: 169.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3875, allocations: 136.5 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3878, allocations: 199.2 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3878, allocations: 29.95 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.3879, allocations: 112.1 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.388, allocations: 23.84 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.388, allocations: 21.72 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3882, allocations: 326.8 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3883, allocations: 31.97 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3884, allocations: 93.91 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.3887, allocations: 107.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3887, allocations: 4.188 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003286/0.389, allocations: 137.5 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.389, allocations: 8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.389, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.389, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3892, allocations: 28.08 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3892, allocations: 7.938 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.3893, allocations: 15.88 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3893, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 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.0001322/0.3894, allocations: 128.2 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3894, allocations: 19.89 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3897, allocations: 115.1 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3897, allocations: 4 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3897, allocations: 192 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3897, allocations: 7.938 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3899, allocations: 184.5 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3899, allocations: 3.984 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.39, allocations: 15.98 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.39, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.39, allocations: 11.98 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.39, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.39, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3904, allocations: 182.6 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3904, allocations: 19.89 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.3905, allocations: 8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.3906, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3906, allocations: 11.98 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3906, allocations: 7.984 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001574/0.3908, allocations: 149.2 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3908, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002865/0.3911, allocations: 51.86 kB / 1.333 GB, free: 10.05 MB / 1.029 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.002519/0.3936, allocations: 1.159 MB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.3939, allocations: 87.88 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3939, allocations: 0 / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3941, allocations: 47.91 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3944, allocations: 33.05 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3971, allocations: 1.774 MB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.3972, allocations: 97.05 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000102/0.3973, allocations: 28.72 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3974, allocations: 51.34 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3974, allocations: 0 / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.442, allocations: 5.168 MB / 1.341 GB, free: 1.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.95, allocations: 8.828 kB / 1.341 GB, free: 1.723 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.135838153306395]