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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008595/0.0008595, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005428/0.005428, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5248, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001684/0.5265, allocations: 1.402 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.5283, allocations: 1.456 MB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.5283, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.5286, allocations: 39.83 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.5288, allocations: 51.77 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.529, allocations: 107.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.5292, allocations: 111.6 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.5292, allocations: 13.11 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.5294, allocations: 55.77 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.5295, allocations: 51.7 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.5296, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.5297, allocations: 63.95 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.5297, allocations: 15.92 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.5298, allocations: 65.44 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.53, allocations: 149.8 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.53, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.53, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.53, allocations: 0 / 1.027 GB, free: 12.24 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.0005223/0.5306, allocations: 423 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5306, allocations: 12.03 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.5306, allocations: 34.75 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.5307, allocations: 12.75 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.5309, allocations: 220 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5309, allocations: 4.375 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.5309, allocations: 7.938 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.5312, allocations: 113 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5312, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5312, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5312, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.5314, allocations: 59.89 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.5316, allocations: 215.4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.5319, allocations: 119.7 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.532, allocations: 54.62 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.532, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.5323, allocations: 121.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.5323, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004711/0.5328, allocations: 173.7 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5328, allocations: 132.5 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.533, allocations: 171.4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.533, allocations: 29.7 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.5331, allocations: 100.1 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.5331, allocations: 27.64 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.5331, allocations: 13.72 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.5332, allocations: 326.9 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.5333, allocations: 39.91 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5335, allocations: 68.27 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.5337, allocations: 103.4 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5337, allocations: 3.938 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002932/0.534, allocations: 145.4 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.534, allocations: 4 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.534, allocations: 0 / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.534, allocations: 4 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5342, allocations: 28.02 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5342, allocations: 4 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.5343, allocations: 8 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5343, allocations: 15.92 kB / 1.029 GB, free: 9.168 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.171e-05/0.5344, allocations: 124 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5344, allocations: 11.81 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.5345, allocations: 21.39 kB / 1.029 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5345, allocations: 4 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5345, allocations: 4 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5345, allocations: 0 / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5346, allocations: 209.5 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5346, allocations: 4 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.5347, allocations: 19.92 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5347, allocations: 0 / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5347, allocations: 320 / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5348, allocations: 4 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5348, allocations: 4 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.5351, allocations: 174.5 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.5351, allocations: 97.17 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5352, allocations: 8 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.5353, allocations: 15.92 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.5353, allocations: 11.92 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5353, allocations: 4 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001007/0.5354, allocations: 136.8 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5354, allocations: 0 / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000233/0.5357, allocations: 31.98 kB / 1.03 GB, free: 8.203 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.001321/0.537, allocations: 1.054 MB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.5373, allocations: 95.95 kB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5373, allocations: 0 / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.5374, allocations: 47.91 kB / 1.031 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5376, allocations: 28.72 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5394, allocations: 1.742 MB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5396, allocations: 0.7082 MB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.5397, allocations: 28.47 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.5397, allocations: 35.42 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5398, allocations: 0 / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.577, allocations: 3.319 MB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.578, allocations: 252.2 kB / 1.037 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/3.41, allocations: 0 / 1.037 GB, free: 1.027 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