Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004848/0.004848, allocations: 106.7 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 197 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 55.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8848, allocations: 140.4 MB / 1.087 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002861/0.8877, allocations: 1.677 MB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.8895, allocations: 1.505 MB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.8896, allocations: 0 / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.89, allocations: 44.88 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.8902, allocations: 69.22 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.8905, allocations: 112.1 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.8908, allocations: 127.8 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.8908, allocations: 12.2 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.891, allocations: 61.58 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.8912, allocations: 50.8 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.8912, allocations: 6.125 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.8913, allocations: 69.38 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.8914, allocations: 22.19 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.8915, allocations: 40.39 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.8917, allocations: 151 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8918, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8918, allocations: 0.8125 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8918, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8575 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.000673/0.8925, allocations: 440 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8925, allocations: 9.062 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.8925, allocations: 37.05 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.8926, allocations: 15.52 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.8929, allocations: 225.5 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8929, allocations: 1.875 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.8929, allocations: 11.2 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.8932, allocations: 95.23 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8932, allocations: 4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.8932, allocations: 2.766 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8932, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.8934, allocations: 51.08 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.8936, allocations: 207.8 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.8939, allocations: 120.1 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.894, allocations: 50.36 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.894, allocations: 2.906 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.8943, allocations: 111.9 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.8943, allocations: 0.8438 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.8948, allocations: 167.2 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8948, allocations: 135.6 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.895, allocations: 177.3 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.895, allocations: 31 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.8951, allocations: 100.4 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.8951, allocations: 29.39 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.8952, allocations: 27.36 kB / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.8952, allocations: 327.2 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.8953, allocations: 30.8 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.8955, allocations: 61.38 kB / 1.094 GB, free: 380 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.8957, allocations: 104.4 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8957, allocations: 4.656 kB / 1.094 GB, free: 308 kB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002946/0.896, allocations: 129.1 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.896, allocations: 5.984 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.896, allocations: 1.75 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.8961, allocations: 5.062 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.8962, allocations: 20.8 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8962, allocations: 1.219 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.8963, allocations: 12.91 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.8963, allocations: 3.75 kB / 1.094 GB, free: 236 kB / 0.8575 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 8.819e-05/0.8964, allocations: 131.2 kB / 1.094 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.8964, allocations: 11.23 kB / 1.094 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.8965, allocations: 20.36 kB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8965, allocations: 2.312 kB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8965, allocations: 1.312 kB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8965, allocations: 1.812 kB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.8967, allocations: 212.5 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8967, allocations: 1.25 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/0.8968, allocations: 17.8 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8968, allocations: 1.938 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.8968, allocations: 2.203 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.8969, allocations: 1.5 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.8969, allocations: 5.922 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.8972, allocations: 170 kB / 1.094 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.8973, allocations: 85.28 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.8973, allocations: 7.297 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.8974, allocations: 15.5 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.8975, allocations: 6.953 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.8975, allocations: 9.328 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001309/0.8977, allocations: 132.4 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8977, allocations: 0 / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002633/0.8979, allocations: 30.52 kB / 1.095 GB, free: 15.53 MB / 0.8731 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.001544/0.8995, allocations: 1.055 MB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.8998, allocations: 82.41 kB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8998, allocations: 0 / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.9, allocations: 47.17 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.9003, allocations: 33.23 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.9026, allocations: 1.691 MB / 1.098 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.9029, allocations: 0.7022 MB / 1.098 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.903, allocations: 29.05 kB / 1.098 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.9031, allocations: 43.72 kB / 1.098 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.9031, allocations: 0 / 1.098 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.9271, allocations: 3.892 MB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.584, allocations: 5.344 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y Variables in the result:combiTimeTable.columns[1],combiTimeTable.columns[2],combiTimeTable.extrapolation,combiTimeTable.nout,combiTimeTable.offset[1],combiTimeTable.shiftTime,combiTimeTable.smoothness,combiTimeTable.startTime,combiTimeTable.t_max,combiTimeTable.t_maxScaled,combiTimeTable.t_min,combiTimeTable.t_minScaled,combiTimeTable.tableOnFile,combiTimeTable.timeEvents,combiTimeTable.timeScale,combiTimeTable.verboseExtrapolation,combiTimeTable.verboseRead,combiTimeTable.y[1],combiTimeTable.y[2],cos.amplitude,cos.f,cos.offset,cos.phase,cos.startTime,cos.y,step.height,step.offset,step.startTime,step.y,time