Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_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.001283/0.001283, 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.001295/0.001295, allocations: 188.6 kB / 16.25 MB, free: 6.602 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.525, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002502/0.5275, allocations: 1.722 MB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.529, allocations: 1.471 MB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.5291, allocations: 5.188 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.5294, allocations: 28.17 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.5296, allocations: 59.61 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.5299, allocations: 103.6 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.5301, allocations: 131 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.5301, allocations: 14.36 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.5302, allocations: 58.94 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.5304, allocations: 58.33 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.5304, allocations: 5.688 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.5305, allocations: 66.83 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.5306, allocations: 26.2 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.5306, allocations: 49.94 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.5308, allocations: 136.4 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5308, allocations: 5.406 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5309, allocations: 4 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.81e-06/0.5309, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7169 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.0004855/0.5314, allocations: 447.4 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5314, allocations: 9.406 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.5314, allocations: 31.97 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.5315, allocations: 15.09 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5316, allocations: 216.7 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5317, allocations: 5.828 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.5317, allocations: 14.66 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5319, allocations: 92.56 kB / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5319, allocations: 0 / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5319, allocations: 1.219 kB / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5319, allocations: 5.344 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.5321, allocations: 59.33 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.5322, allocations: 209.6 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.5324, allocations: 117.3 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.5325, allocations: 50.02 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5326, allocations: 1.094 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.5328, allocations: 120.2 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.5328, allocations: 0 / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004101/0.5332, allocations: 155.5 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5332, allocations: 138 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.5334, allocations: 170.6 kB / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5334, allocations: 30.98 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.5334, allocations: 105.4 kB / 0.955 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.5335, allocations: 31.22 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.5335, allocations: 21.44 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.5336, allocations: 330 kB / 0.9553 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5337, allocations: 33.66 kB / 0.9554 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.5338, allocations: 66.08 kB / 0.9554 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.534, allocations: 89.53 kB / 0.9555 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.534, allocations: 5.406 kB / 0.9555 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.5342, allocations: 140 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5342, allocations: 4.906 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5343, allocations: 1.125 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5343, allocations: 2.156 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5344, allocations: 22.95 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5344, allocations: 2.5 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.5345, allocations: 13.44 kB / 0.9557 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.5345, allocations: 7.672 kB / 0.9557 GB, free: 3.574 MB / 0.7169 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 6.783e-05/0.5346, allocations: 134.3 kB / 0.9558 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.5346, allocations: 14.72 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.5346, allocations: 18.11 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5346, allocations: 2.281 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5347, allocations: 1.094 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5347, allocations: 1.219 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.5348, allocations: 205.3 kB / 0.9561 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5348, allocations: 4 kB / 0.9561 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.5349, allocations: 19.23 kB / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5349, allocations: 1.031 kB / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5349, allocations: 2.438 kB / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5349, allocations: 1.125 kB / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5349, allocations: 0 / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.5352, allocations: 179.9 kB / 0.9563 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.5352, allocations: 83.92 kB / 0.9563 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.5352, allocations: 6.703 kB / 0.9564 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.5353, allocations: 8.875 kB / 0.9564 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.5353, allocations: 7.328 kB / 0.9564 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5354, allocations: 3.688 kB / 0.9564 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.303e-05/0.5354, allocations: 142.3 kB / 0.9565 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5354, allocations: 0 / 0.9565 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002278/0.5357, allocations: 25.84 kB / 0.9565 GB, free: 2.816 MB / 0.7169 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.001197/0.5369, allocations: 1.057 MB / 0.9576 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5371, allocations: 91.45 kB / 0.9577 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5371, allocations: 0 / 0.9577 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5373, allocations: 44.88 kB / 0.9577 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5375, allocations: 25.86 kB / 0.9577 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.539, allocations: 1.713 MB / 0.9594 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.5392, allocations: 0.7054 MB / 0.9601 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.5393, allocations: 27.78 kB / 0.9601 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.5393, allocations: 41.12 kB / 0.9601 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.5393, allocations: 0 / 0.9601 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.013/1.552, allocations: 3.62 MB / 0.9637 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/1.553, allocations: 251.6 kB / 0.9639 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/3.408, allocations: 4.594 kB / 0.9639 GB, free: 13.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches