Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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.007947/0.007947, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001535/0.001535, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.005277/0.3367, allocations: 1.674 MB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3393, allocations: 1.511 MB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3395, allocations: 0 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.34, allocations: 43.77 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.3405, allocations: 67.62 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.3411, allocations: 118 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.3415, allocations: 119.6 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3416, allocations: 21.12 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.3418, allocations: 55.7 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3421, allocations: 51.75 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.3422, allocations: 8 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3424, allocations: 55.98 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.3424, allocations: 31.89 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.3425, allocations: 39.69 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3429, allocations: 151.8 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3429, allocations: 0 / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3429, allocations: 4 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3429, allocations: 4 kB / 1.211 GB, free: 6.219 MB / 0.9669 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.0007593/0.3437, allocations: 446.8 kB / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3437, allocations: 12.56 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.3438, allocations: 30.75 kB / 1.212 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.3439, allocations: 16.75 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3443, allocations: 221.3 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3443, allocations: 4.375 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3443, allocations: 11.94 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3446, allocations: 93.08 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3446, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3447, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3447, allocations: 4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3449, allocations: 55.89 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.3451, allocations: 207.4 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.3454, allocations: 123.7 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3456, allocations: 46.62 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3456, allocations: 4 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3459, allocations: 113.9 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3459, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.3464, allocations: 165.4 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.3465, allocations: 132.5 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.3467, allocations: 179.1 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3468, allocations: 29.7 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.3469, allocations: 104.1 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.3469, allocations: 23.7 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.347, allocations: 21.7 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3472, allocations: 326.8 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3473, allocations: 31.98 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3474, allocations: 64.27 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3477, allocations: 91.34 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.3477, allocations: 7.875 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000294/0.348, allocations: 141.4 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.348, allocations: 4 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.348, allocations: 0 / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.348, allocations: 4 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3482, allocations: 23.98 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3482, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.3483, allocations: 16.02 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3483, allocations: 4.188 kB / 1.214 GB, free: 3.18 MB / 0.9669 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.000118/0.3484, allocations: 125.8 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3485, allocations: 27.72 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.3485, allocations: 17.34 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3485, allocations: 4 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3486, allocations: 0 / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3486, allocations: 320 / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3488, allocations: 205.5 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.3488, allocations: 8 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.3489, allocations: 15.98 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3489, allocations: 0 / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.349, allocations: 4 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.349, allocations: 3.984 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.349, allocations: 0 / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3493, allocations: 170.6 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.3494, allocations: 88.92 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3494, allocations: 4 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.3495, allocations: 11.98 kB / 1.214 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3495, allocations: 4 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3496, allocations: 7.984 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001204/0.3497, allocations: 127.2 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3497, allocations: 4 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002817/0.35, allocations: 31.98 kB / 1.215 GB, free: 2.23 MB / 0.9669 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.00164/0.3516, allocations: 1.049 MB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3519, allocations: 83.88 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.352, allocations: 4.188 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3521, allocations: 43.91 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3524, allocations: 37.92 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3546, allocations: 1.695 MB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3549, allocations: 0.7079 MB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.349e-05/0.355, allocations: 24.47 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.3551, allocations: 39.42 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3551, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.3798, allocations: 3.902 MB / 1.222 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.338, allocations: 12.09 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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