Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_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.006913/0.006913, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001887/0.001888, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.454/2.454, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 71.86 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6642, allocations: 159.1 MB / 1.22 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002759/0.667, allocations: 1.678 MB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.669, allocations: 1.507 MB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.6691, allocations: 7.938 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.6693, allocations: 39.77 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.6696, allocations: 71.67 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.6698, allocations: 111.6 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.67, allocations: 123.6 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.6701, allocations: 17.06 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.6702, allocations: 47.78 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.6704, allocations: 47.77 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.6704, allocations: 8 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.6705, allocations: 63.95 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.6706, allocations: 31.86 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.6706, allocations: 39.73 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.6709, allocations: 147.1 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6709, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6709, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6709, allocations: 4 kB / 1.224 GB, free: 14.15 MB / 0.9512 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.0005848/0.6715, allocations: 446.5 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.6715, allocations: 11.97 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.6716, allocations: 34.73 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.6716, allocations: 20.84 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.6719, allocations: 216.6 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6719, allocations: 4.375 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.6719, allocations: 7.938 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.6721, allocations: 97.06 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6722, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6722, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6722, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.6724, allocations: 51.89 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.6726, allocations: 207.4 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.6729, allocations: 123.6 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.673, allocations: 46.61 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.673, allocations: 4 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.6732, allocations: 121.8 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.6733, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004723/0.6737, allocations: 161.7 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.6738, allocations: 132.5 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.674, allocations: 178.4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.674, allocations: 25.7 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.6741, allocations: 108.1 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.6741, allocations: 23.84 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.6742, allocations: 17.72 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6743, allocations: 326.8 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6744, allocations: 40 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.6746, allocations: 56.28 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.6748, allocations: 103.6 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6748, allocations: 3.938 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002949/0.6751, allocations: 133.4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.6751, allocations: 4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6751, allocations: 3.984 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6752, allocations: 8.094 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6753, allocations: 27.92 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.6753, allocations: 0 / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.6754, allocations: 15.88 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.6754, allocations: 4 kB / 1.227 GB, free: 11.1 MB / 0.9512 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.0001057/0.6755, allocations: 133.7 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.6755, allocations: 11.95 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.6756, allocations: 17.39 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6756, allocations: 8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6756, allocations: 0 / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6756, allocations: 0 / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.6758, allocations: 209.5 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6758, allocations: 0 / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.6759, allocations: 15.98 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6759, allocations: 0 / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.6759, allocations: 4 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6759, allocations: 192 / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6759, allocations: 0 / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.6762, allocations: 174.6 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.6763, allocations: 89.02 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.6763, allocations: 4.062 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.6764, allocations: 15.98 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.6765, allocations: 11.98 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.6765, allocations: 4 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001194/0.6766, allocations: 136.2 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6766, allocations: 0 / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002366/0.6769, allocations: 31.94 kB / 1.227 GB, free: 10.14 MB / 0.9512 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.002045/0.6789, allocations: 1.056 MB / 1.229 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.6792, allocations: 91.88 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6792, allocations: 0 / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.6794, allocations: 39.92 kB / 1.229 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6797, allocations: 38.89 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.6817, allocations: 1.695 MB / 1.23 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.682, allocations: 0.7002 MB / 1.231 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.637e-05/0.6821, allocations: 28.47 kB / 1.231 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.6822, allocations: 39.41 kB / 1.231 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of SimCode: time 2.024e-06/0.6822, allocations: 0 / 1.231 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.553/2.236, allocations: 3.844 MB / 1.235 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/13.7, allocations: 20.56 kB / 1.235 GB, free: 2.672 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches