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.001249/0.001249, 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.001268/0.001268, allocations: 190.8 kB / 16.25 MB, free: 6.645 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.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.454/2.454, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5612, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002942/0.5642, allocations: 1.733 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.5661, allocations: 1.475 MB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.5663, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.5665, allocations: 39.83 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.5668, allocations: 51.77 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.5671, allocations: 107.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.5673, allocations: 123.6 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.5674, allocations: 17.11 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.5675, allocations: 63.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.5677, allocations: 51.75 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.5677, allocations: 8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.5679, allocations: 59.98 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.5679, allocations: 27.84 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.568, allocations: 43.73 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.5682, allocations: 145.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5683, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5683, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5683, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 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.0005884/0.5689, allocations: 438.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5689, allocations: 11.97 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.5689, allocations: 38.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.569, allocations: 8.844 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.5692, allocations: 220 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5692, allocations: 8.375 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5693, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.5695, allocations: 97.08 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.5695, allocations: 3.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.5695, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5695, allocations: 3.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.5697, allocations: 51.95 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.5699, allocations: 207.4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.5702, allocations: 123.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5703, allocations: 46.62 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5703, allocations: 11.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.5706, allocations: 105.9 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.943e-06/0.5706, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.5711, allocations: 165.4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.5711, allocations: 128.8 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5713, allocations: 180.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.5713, allocations: 25.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.5714, allocations: 104.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5714, allocations: 27.64 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.5715, allocations: 21.72 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.5716, allocations: 318.8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.5717, allocations: 35.97 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.5718, allocations: 68.27 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.572, allocations: 91.34 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.572, allocations: 7.969 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002845/0.5723, allocations: 137.6 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5723, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5723, allocations: 3.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5724, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5725, allocations: 27.92 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5725, allocations: 0 / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.5726, allocations: 12.08 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5726, allocations: 8 kB / 1.023 GB, free: 11.7 MB / 0.7794 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.761e-05/0.5727, allocations: 128.3 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.5727, allocations: 15.81 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.5728, allocations: 21.39 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5728, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5728, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5728, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.573, allocations: 213.7 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.573, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.5731, allocations: 19.92 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5731, allocations: 3.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5731, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5731, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5731, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.5734, allocations: 174.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.5735, allocations: 89 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5735, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.5736, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.5737, allocations: 11.98 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5737, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001035/0.5738, allocations: 139.5 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5738, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003016/0.5741, allocations: 32 kB / 1.024 GB, free: 10.75 MB / 0.7794 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.001395/0.5755, allocations: 1.044 MB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.5758, allocations: 87.95 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5758, allocations: 0 / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5759, allocations: 47.91 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.5762, allocations: 22.11 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.578, allocations: 1.721 MB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.5783, allocations: 0.7195 MB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.5783, allocations: 20.52 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.5784, allocations: 43.41 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5784, allocations: 0 / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.411, allocations: 3.621 MB / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/2.412, allocations: 244.7 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/4.808, allocations: 0 / 1.032 GB, free: 3.301 MB / 0.7794 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) Reference file matches