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.001077/0.001076, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.422/2.422, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5441, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00375/0.5478, allocations: 1.672 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.5502, allocations: 1.514 MB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.5503, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.5506, allocations: 35.77 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.551, allocations: 67.62 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.5514, allocations: 123.3 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.5516, allocations: 131.6 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.5517, allocations: 5.125 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.5519, allocations: 59.77 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.5521, allocations: 51.7 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.5521, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.5523, allocations: 59.97 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.5524, allocations: 27.91 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.5525, allocations: 39.73 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.5527, allocations: 145.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5527, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5528, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5528, allocations: 0 / 1.021 GB, free: 14.55 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.0006605/0.5534, allocations: 449 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5535, allocations: 12.03 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.5535, allocations: 38.73 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.5536, allocations: 12.78 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.5539, allocations: 212.1 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5539, allocations: 8.375 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.5539, allocations: 7.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.5542, allocations: 105 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5542, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5542, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5542, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.5544, allocations: 55.89 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.5547, allocations: 215.4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.5549, allocations: 123.6 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.5551, allocations: 50.61 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.5551, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.5554, allocations: 113.9 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.5554, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.5559, allocations: 157.5 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.556, allocations: 132.5 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.5562, allocations: 184.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5562, allocations: 25.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.5563, allocations: 104.1 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.5563, allocations: 23.66 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.5564, allocations: 25.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5565, allocations: 322.8 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.5566, allocations: 31.92 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5568, allocations: 68.27 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.557, allocations: 95.33 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.557, allocations: 7.969 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003105/0.5573, allocations: 129.4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5573, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5574, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5574, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.5575, allocations: 23.92 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5575, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.5576, allocations: 20.33 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.5576, allocations: 11.98 kB / 1.024 GB, free: 11.51 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 0.0001136/0.5578, allocations: 131.3 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.5578, allocations: 11.81 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.5579, allocations: 21.41 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5579, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5579, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5579, allocations: 7.984 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.5581, allocations: 205.5 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5581, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.5582, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5582, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5582, allocations: 3.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5582, allocations: 4.125 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5582, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.5585, allocations: 174.5 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.5586, allocations: 85.02 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.5586, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.5587, allocations: 7.984 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.5588, allocations: 11.98 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5588, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001121/0.5589, allocations: 139.2 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5589, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000254/0.5592, allocations: 31.98 kB / 1.025 GB, free: 10.56 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.001521/0.5607, allocations: 1.038 MB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.561, allocations: 99.94 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.561, allocations: 0 / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5612, allocations: 35.98 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.5615, allocations: 28.52 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.5635, allocations: 1.702 MB / 1.028 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5638, allocations: 0.704 MB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.5639, allocations: 28.73 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.564, allocations: 35.42 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.564, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.5888, allocations: 3.766 MB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.781, allocations: 0 / 1.032 GB, free: 3.219 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