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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001139/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.25 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3051, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003252/0.3084, allocations: 1.758 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3106, allocations: 1.471 MB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3107, allocations: 4 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.311, allocations: 35.84 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.3113, allocations: 55.75 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.3117, allocations: 95.81 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3119, allocations: 123.5 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.312, allocations: 9.125 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3121, allocations: 51.78 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.3123, allocations: 45.33 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3123, allocations: 7.938 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3125, allocations: 63.95 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.3126, allocations: 19.92 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.3126, allocations: 47.66 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.3129, allocations: 139.9 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3129, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3129, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3129, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 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.0006331/0.3136, allocations: 438.9 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3136, allocations: 15.91 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.3137, allocations: 34.73 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.3137, allocations: 12.84 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.314, allocations: 216 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.314, allocations: 8.375 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.314, allocations: 7.938 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3143, allocations: 101 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.3143, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3143, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3143, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3145, allocations: 51.95 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.3147, allocations: 211.4 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.315, allocations: 111.7 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3152, allocations: 58.55 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3152, allocations: 7.984 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.3155, allocations: 105.9 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3155, allocations: 0 / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.316, allocations: 161.4 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.316, allocations: 132.5 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3162, allocations: 179.8 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3163, allocations: 33.95 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.3163, allocations: 104.1 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3164, allocations: 23.78 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3164, allocations: 21.72 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3165, allocations: 330.7 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3166, allocations: 35.97 kB / 1.058 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3168, allocations: 64.22 kB / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.317, allocations: 99.58 kB / 1.058 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.317, allocations: 3.938 kB / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003004/0.3173, allocations: 133.4 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3173, allocations: 8 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3173, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3174, allocations: 3.984 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3175, allocations: 19.98 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3175, allocations: 4 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.3176, allocations: 7.938 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3176, allocations: 8.094 kB / 1.059 GB, free: 1.273 MB / 0.8106 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.0001338/0.3178, allocations: 133.7 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3178, allocations: 15.81 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.3179, allocations: 17.39 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3179, allocations: 0 / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3179, allocations: 4 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3179, allocations: 0 / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3181, allocations: 201.5 kB / 1.059 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3181, allocations: 0 / 1.059 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.3182, allocations: 19.98 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3182, allocations: 0 / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3183, allocations: 8 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3183, allocations: 0 / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3183, allocations: 0 / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.3186, allocations: 174.5 kB / 1.059 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.3187, allocations: 85.02 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3187, allocations: 8 kB / 1.059 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3188, allocations: 8.047 kB / 1.059 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3189, allocations: 11.98 kB / 1.059 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3189, allocations: 4 kB / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001154/0.319, allocations: 131.2 kB / 1.059 GB, free: 376 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/0.319, allocations: 0 / 1.059 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002606/0.3193, allocations: 32 kB / 1.059 GB, free: 344 kB / 0.8106 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.001539/0.3208, allocations: 1.067 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3211, allocations: 79.89 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3211, allocations: 192 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3213, allocations: 43.92 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3216, allocations: 29.69 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3236, allocations: 1.708 MB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3239, allocations: 0.7043 MB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.88e-05/0.324, allocations: 20.55 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.3241, allocations: 35.42 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3241, allocations: 0 / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.3392, allocations: 3.56 MB / 1.067 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.3394, allocations: 243.9 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.092, allocations: 0 / 1.067 GB, free: 8.969 MB / 0.8262 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) Reference file matches