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.002244/0.002244, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002676/0.002676, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.02/3.02, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.215/5.215, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 69.39 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6433, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.005351/0.6487, allocations: 1.762 MB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.6519, allocations: 1.464 MB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.6521, allocations: 0 / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.6525, allocations: 39.83 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.6529, allocations: 55.77 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.6533, allocations: 106.8 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.6536, allocations: 127.6 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.6537, allocations: 13.11 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.6539, allocations: 51.77 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.6541, allocations: 57.17 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.6542, allocations: 4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.6544, allocations: 67.91 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.6544, allocations: 23.91 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.6545, allocations: 43.67 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.6549, allocations: 155.9 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6549, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6549, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6549, allocations: 0 / 1.056 GB, free: 4.641 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.0007751/0.6557, allocations: 434.9 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6557, allocations: 12.62 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.6558, allocations: 34.69 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.6559, allocations: 16.83 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6562, allocations: 221.2 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6562, allocations: 4.375 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.6562, allocations: 7.938 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.6565, allocations: 101 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6565, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.6566, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6566, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.6568, allocations: 51.95 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.6571, allocations: 215.4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.6575, allocations: 119.7 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.6576, allocations: 54.55 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.6577, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.658, allocations: 113.9 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.6581, allocations: 0 / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0006348/0.6587, allocations: 157.4 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6588, allocations: 136.8 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6591, allocations: 182.3 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.6591, allocations: 29.7 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.6592, allocations: 100.1 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.6592, allocations: 15.81 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.6593, allocations: 29.7 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6595, allocations: 322.8 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.6596, allocations: 31.92 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6598, allocations: 76.14 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.6602, allocations: 91.42 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6602, allocations: 3.938 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005006/0.6607, allocations: 137.3 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6607, allocations: 4 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6608, allocations: 7.984 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6608, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.661, allocations: 20.3 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.661, allocations: 96 / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.6612, allocations: 19.92 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.6612, allocations: 8 kB / 1.059 GB, free: 1.609 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.0001697/0.6614, allocations: 135.2 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.6615, allocations: 11.81 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.6615, allocations: 17.41 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.6616, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6616, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.6616, allocations: 7.984 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.6619, allocations: 209.5 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6619, allocations: 0 / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.662, allocations: 8 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.6621, allocations: 4 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.6621, allocations: 7.984 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6621, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6621, allocations: 4 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.6627, allocations: 170.5 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.6628, allocations: 85.02 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.6628, allocations: 4 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.663, allocations: 11.98 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.663, allocations: 7.984 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.6631, allocations: 4 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00019/0.6633, allocations: 136.2 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6633, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000495/0.6638, allocations: 31.98 kB / 1.06 GB, free: 0.6719 MB / 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.002758/0.6666, allocations: 1.046 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.6671, allocations: 95.94 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6671, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.6673, allocations: 43.91 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.6678, allocations: 31.5 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.6711, allocations: 1.714 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.6715, allocations: 0.708 MB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.6717, allocations: 24.53 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6718, allocations: 35.42 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.6718, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/1.078, allocations: 3.637 MB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/1.078, allocations: 250 kB / 1.067 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.044/5.122, allocations: 6.531 kB / 1.067 GB, free: 9.211 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