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.001091/0.001091, 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.001079/0.001079, allocations: 194.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.304/1.304, 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.481/2.481, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 55.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5343, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003078/0.5374, allocations: 1.676 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.5397, allocations: 1.518 MB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.5398, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.5402, allocations: 31.77 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.5405, allocations: 71.61 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.5408, allocations: 111.6 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.5411, allocations: 131.6 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.5411, allocations: 5.125 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.5413, allocations: 63.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.5414, allocations: 47.77 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.5415, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.5416, allocations: 63.95 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.5417, allocations: 23.92 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.5418, allocations: 47.67 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.542, allocations: 145.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.542, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.542, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.542, allocations: 0 / 1.021 GB, free: 14.52 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.0006042/0.5426, allocations: 448.7 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5427, allocations: 8.031 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.5427, allocations: 38.67 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.5428, allocations: 12.84 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.543, allocations: 212.1 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.5431, allocations: 4.375 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.5431, allocations: 11.88 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.5433, allocations: 101.1 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5433, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5433, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5434, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.5436, allocations: 59.89 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.5438, allocations: 207.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.544, allocations: 115.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5441, allocations: 50.61 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5442, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.5444, allocations: 113.9 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.5444, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004536/0.5449, allocations: 153.5 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.545, allocations: 132.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.5451, allocations: 188 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5452, allocations: 25.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.5452, allocations: 108.1 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.5453, allocations: 27.64 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.5453, allocations: 21.72 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.5454, allocations: 326.8 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5455, allocations: 31.97 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.5456, allocations: 64.28 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.5458, allocations: 99.58 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5459, allocations: 7.969 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002839/0.5461, allocations: 125.4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5462, allocations: 8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5462, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5462, allocations: 3.984 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5463, allocations: 23.92 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5463, allocations: 11.92 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.5464, allocations: 12.09 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5464, allocations: 4 kB / 1.024 GB, free: 11.48 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.385e-05/0.5465, allocations: 129.8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.5466, allocations: 15.81 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.5466, allocations: 17.39 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5466, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5466, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5467, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5468, allocations: 209.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5468, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.5469, allocations: 19.92 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5469, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5469, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5469, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5469, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.5472, allocations: 170.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.5473, allocations: 88.95 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.5473, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.5474, allocations: 16.05 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.5475, allocations: 7.984 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.5475, allocations: 4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000107/0.5476, allocations: 131.2 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.5476, allocations: 4.188 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002453/0.5478, allocations: 32 kB / 1.025 GB, free: 10.54 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.001406/0.5493, allocations: 1.053 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.5496, allocations: 92 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5496, allocations: 0 / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5497, allocations: 39.92 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.55, allocations: 35.36 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.552, allocations: 1.686 MB / 1.028 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.5522, allocations: 0.7118 MB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.5523, allocations: 24.53 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.5524, allocations: 39.42 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5524, allocations: 0 / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.5733, allocations: 3.773 MB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.755, allocations: 5.938 kB / 1.032 GB, free: 3.18 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 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.csv","/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) "" Variables in the reference:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y Variables in the result:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y,combiTimeTable.offset[1]