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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001111/0.001111, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.147/1.147, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.178/2.178, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4957, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002386/0.4982, allocations: 1.733 MB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.4997, allocations: 1.495 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.4998, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.5, allocations: 35.89 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.5002, allocations: 55.77 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.5004, allocations: 103.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.5006, allocations: 115.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.5006, allocations: 5.125 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.5007, allocations: 59.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.5009, allocations: 55.75 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.5009, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.501, allocations: 51.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.501, allocations: 27.84 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.5011, allocations: 47.66 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.5013, allocations: 141.9 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5013, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5013, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.5013, allocations: 0 / 1.021 GB, free: 14.83 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.0004983/0.5018, allocations: 442.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.5018, allocations: 12.03 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.5019, allocations: 30.75 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5019, allocations: 8.844 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.5021, allocations: 227.9 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5021, allocations: 4.375 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5021, allocations: 7.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.5023, allocations: 105.1 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.5024, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5024, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.5024, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.5025, allocations: 51.89 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.5027, allocations: 211.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.5029, allocations: 115.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.503, allocations: 50.62 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.5031, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.5033, allocations: 117.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.5033, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003968/0.5037, allocations: 161.5 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5038, allocations: 140.5 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5039, allocations: 171.4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5039, allocations: 29.7 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.504, allocations: 96.39 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.504, allocations: 31.64 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.504, allocations: 29.66 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.5041, allocations: 322.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.5042, allocations: 31.97 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5043, allocations: 64.27 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.5045, allocations: 91.38 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5045, allocations: 7.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002597/0.5048, allocations: 141.6 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.5048, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5048, allocations: 8.062 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.5048, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.505, allocations: 19.98 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.505, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.505, allocations: 7.984 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5051, allocations: 4 kB / 1.023 GB, free: 11.81 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 8.211e-05/0.5051, allocations: 130.4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.5052, allocations: 15.75 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.5052, allocations: 21.39 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5052, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5052, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5052, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5054, allocations: 209.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5054, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.5055, allocations: 11.98 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5055, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5055, allocations: 8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5055, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5055, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.5058, allocations: 166.5 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5058, allocations: 93.19 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5058, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.5059, allocations: 11.94 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.506, allocations: 11.97 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.506, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.5061, allocations: 140.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5061, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002162/0.5063, allocations: 31.94 kB / 1.024 GB, free: 10.86 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.001227/0.5075, allocations: 1.043 MB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.5078, allocations: 79.89 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5078, allocations: 0 / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.5079, allocations: 52.16 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.5082, allocations: 34.03 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.5098, allocations: 1.715 MB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.51, allocations: 0.7121 MB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.51, allocations: 24.53 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.5101, allocations: 39.41 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5101, allocations: 0 / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.6238, allocations: 3.525 MB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.624, allocations: 253 kB / 1.031 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.437, allocations: 0 / 1.031 GB, free: 3.5 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