Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_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.007405/0.007405, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001674/0.001674, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.83 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6868, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002697/0.6895, allocations: 1.696 MB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.6913, allocations: 1.507 MB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.6914, allocations: 0 / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.6917, allocations: 43.77 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.6919, allocations: 59.62 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.6922, allocations: 121.2 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.6923, allocations: 127.6 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.6924, allocations: 9.062 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.6925, allocations: 63.75 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.6927, allocations: 47.72 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.6927, allocations: 11.98 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.6928, allocations: 59.97 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.6929, allocations: 23.92 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.6929, allocations: 43.81 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.6932, allocations: 149.8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6932, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6932, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.6932, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 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.0005464/0.6937, allocations: 442.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.6938, allocations: 8.922 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.6938, allocations: 30.75 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.6939, allocations: 20.75 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.6941, allocations: 224 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.6941, allocations: 8.375 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.6942, allocations: 3.938 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.6944, allocations: 101 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.6944, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6944, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6944, allocations: 4 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.6946, allocations: 55.89 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.6948, allocations: 203.5 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.695, allocations: 127.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6952, allocations: 46.55 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.6952, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.6954, allocations: 109.9 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.6954, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004603/0.6959, allocations: 165.6 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.696, allocations: 128.8 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.6961, allocations: 178.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.6961, allocations: 25.7 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.6962, allocations: 112.1 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.6962, allocations: 19.66 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.6963, allocations: 25.7 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.6964, allocations: 322.8 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.6965, allocations: 35.98 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.6966, allocations: 72.2 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.6968, allocations: 103.4 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6968, allocations: 3.938 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002767/0.6971, allocations: 121.5 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6971, allocations: 8 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6971, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6972, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.6973, allocations: 23.92 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.6973, allocations: 96 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.6974, allocations: 15.89 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.6974, allocations: 7.938 kB / 1.173 GB, free: 12.79 MB / 0.9044 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 9.038e-05/0.6975, allocations: 132 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.6975, allocations: 11.91 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.6976, allocations: 13.41 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6976, allocations: 4 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6976, allocations: 0 / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6976, allocations: 3.984 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.6978, allocations: 213.4 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6978, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.6978, allocations: 16 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6979, allocations: 0 / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6979, allocations: 7.984 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6979, allocations: 3.938 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6979, allocations: 4.062 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.6982, allocations: 166.6 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.6982, allocations: 88.92 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.6983, allocations: 8 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.6984, allocations: 7.984 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.6984, allocations: 4 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.6984, allocations: 11.98 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000104/0.6985, allocations: 140.2 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6985, allocations: 0 / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002407/0.6988, allocations: 35.98 kB / 1.173 GB, free: 11.84 MB / 0.9044 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.001479/0.7003, allocations: 1.044 MB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.7005, allocations: 83.95 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7005, allocations: 0 / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.7007, allocations: 43.91 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.7009, allocations: 36.45 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.7027, allocations: 1.697 MB / 1.176 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.7029, allocations: 0.7079 MB / 1.177 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.644e-05/0.703, allocations: 20.48 kB / 1.177 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.7031, allocations: 43.42 kB / 1.177 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.7031, allocations: 4 kB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.184/2.887, allocations: 3.846 MB / 1.181 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/14.92, allocations: 6.344 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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