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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 128 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.001092/0.001092, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.326/2.326, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6238, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003079/0.6269, allocations: 1.671 MB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.6289, allocations: 1.501 MB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.629, allocations: 1.438 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.6293, allocations: 44.73 kB / 0.9529 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.6295, allocations: 71.56 kB / 0.9529 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.6298, allocations: 111.1 kB / 0.953 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.6299, allocations: 122.2 kB / 0.9532 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.63, allocations: 14.64 kB / 0.9532 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.6301, allocations: 53.89 kB / 0.9532 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.6303, allocations: 54.42 kB / 0.9533 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.6303, allocations: 5.562 kB / 0.9533 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.6305, allocations: 65.81 kB / 0.9533 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.6305, allocations: 23.05 kB / 0.9534 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.6306, allocations: 45.78 kB / 0.9534 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.6308, allocations: 143.9 kB / 0.9535 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6308, allocations: 0 / 0.9535 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6309, allocations: 0.9375 kB / 0.9535 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6309, allocations: 0 / 0.9535 GB, free: 6.23 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.0006106/0.6315, allocations: 443.3 kB / 0.954 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6315, allocations: 13.66 kB / 0.954 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.6316, allocations: 35.95 kB / 0.954 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.6316, allocations: 18.62 kB / 0.954 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.6318, allocations: 213.3 kB / 0.9542 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.6319, allocations: 1.625 kB / 0.9542 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6319, allocations: 10.28 kB / 0.9542 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.6321, allocations: 105.1 kB / 0.9543 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6321, allocations: 3.938 kB / 0.9544 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6321, allocations: 5.062 kB / 0.9544 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.6322, allocations: 1.094 kB / 0.9544 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.6323, allocations: 51.86 kB / 0.9544 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.6326, allocations: 206.2 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.6328, allocations: 120.1 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.633, allocations: 50.08 kB / 0.9548 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.633, allocations: 9.125 kB / 0.9548 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.6333, allocations: 112.6 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.6333, allocations: 0 / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.6338, allocations: 159.1 kB / 0.955 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.6339, allocations: 130.5 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.634, allocations: 179.1 kB / 0.9553 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.6341, allocations: 30.86 kB / 0.9554 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.6341, allocations: 101.8 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.6342, allocations: 23.28 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.6342, allocations: 25.33 kB / 0.9555 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.6343, allocations: 330.2 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.6344, allocations: 33.55 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.6345, allocations: 60.52 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6348, allocations: 103.7 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6348, allocations: 3.938 kB / 0.956 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000269/0.6351, allocations: 131.5 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6351, allocations: 8.625 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6351, allocations: 4.094 kB / 0.9561 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6351, allocations: 3.531 kB / 0.9562 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.6352, allocations: 25.33 kB / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6352, allocations: 3.062 kB / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6354, allocations: 8.953 kB / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.6354, allocations: 3.875 kB / 0.9562 GB, free: 3.73 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 8.469e-05/0.6355, allocations: 129.7 kB / 0.9563 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.6355, allocations: 13.56 kB / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.6356, allocations: 19.09 kB / 0.9563 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6356, allocations: 5.906 kB / 0.9564 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.6356, allocations: 5.953 kB / 0.9564 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.6356, allocations: 0 / 0.9564 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.6357, allocations: 210 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6357, allocations: 0 / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.6358, allocations: 9.562 kB / 0.9566 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6358, allocations: 5.484 kB / 0.9566 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6358, allocations: 7 kB / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6358, allocations: 0 / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6358, allocations: 1.531 kB / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.6361, allocations: 175.2 kB / 0.9567 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.6362, allocations: 83.98 kB / 0.9568 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.6362, allocations: 2.719 kB / 0.9568 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.6363, allocations: 16.61 kB / 0.9568 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.6363, allocations: 8.766 kB / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.6363, allocations: 6.938 kB / 0.9569 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.6364, allocations: 132.2 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6364, allocations: 1.844 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002378/0.6367, allocations: 33.7 kB / 0.957 GB, free: 2.965 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.001353/0.638, allocations: 1.051 MB / 0.958 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.6383, allocations: 89.31 kB / 0.9581 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6383, allocations: 0 / 0.9581 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.6385, allocations: 38.08 kB / 0.9582 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.6387, allocations: 39.02 kB / 0.9582 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6405, allocations: 1.701 MB / 0.9599 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6408, allocations: 0.7058 MB / 0.9606 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.742e-05/0.6409, allocations: 15.3 kB / 0.9606 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.641, allocations: 38.14 kB / 0.9606 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.641, allocations: 0 / 0.9606 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.6639, allocations: 3.767 MB / 0.9643 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/8.16, allocations: 9.031 kB / 0.9643 GB, free: 13.84 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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) "" 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]