Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_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.007475/0.007475, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.002019/0.002019, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.88 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2792, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003099/0.2823, allocations: 1.689 MB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2846, allocations: 1.499 MB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.2847, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.285, allocations: 47.7 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.2853, allocations: 63.62 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2856, allocations: 123.2 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2858, allocations: 131.6 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.2859, allocations: 13.11 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.286, allocations: 59.7 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.2862, allocations: 47.78 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.2862, allocations: 8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2864, allocations: 63.95 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.2864, allocations: 19.92 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.2865, allocations: 47.66 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.2868, allocations: 151.4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2868, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2868, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2868, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 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.0006709/0.2875, allocations: 446.5 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2875, allocations: 12.03 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.2876, allocations: 34.73 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.2876, allocations: 16.84 kB / 1.225 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.288, allocations: 221.1 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.288, allocations: 8.375 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.288, allocations: 7.938 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2883, allocations: 97.08 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2884, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2884, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2884, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.2886, allocations: 55.89 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.2889, allocations: 211.4 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2892, allocations: 119.7 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2893, allocations: 50.61 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2893, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.2896, allocations: 117.8 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2896, allocations: 0 / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000547/0.2901, allocations: 153.5 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.2903, allocations: 140.5 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2905, allocations: 178.6 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.2905, allocations: 29.7 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.2906, allocations: 100.1 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.2906, allocations: 23.84 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.2907, allocations: 29.7 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2908, allocations: 326.8 kB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2909, allocations: 31.92 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2911, allocations: 68.27 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2914, allocations: 95.33 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2914, allocations: 7.969 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003267/0.2917, allocations: 133.8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2917, allocations: 11.94 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2917, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2918, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2919, allocations: 19.98 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2919, allocations: 7.984 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.292, allocations: 15.98 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.292, allocations: 4 kB / 1.227 GB, free: 7.297 MB / 0.9825 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.0001149/0.2921, allocations: 129.8 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.2922, allocations: 15.94 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.2922, allocations: 13.41 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2922, allocations: 7.922 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2923, allocations: 4 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2923, allocations: 0 / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.2925, allocations: 205.5 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2925, allocations: 4 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.2926, allocations: 15.98 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2926, allocations: 0 / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2927, allocations: 4 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2927, allocations: 4 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2927, allocations: 0 / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.293, allocations: 170.6 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.2931, allocations: 89.02 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2931, allocations: 4 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.2932, allocations: 11.98 kB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.2933, allocations: 7.984 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2933, allocations: 4 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001457/0.2935, allocations: 136.2 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2935, allocations: 0 / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00026/0.2937, allocations: 35.92 kB / 1.228 GB, free: 6.34 MB / 0.9825 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.002214/0.2959, allocations: 1.038 MB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.2963, allocations: 92 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2963, allocations: 0 / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2964, allocations: 39.92 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2967, allocations: 40.69 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.299, allocations: 1.693 MB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2994, allocations: 0.7041 MB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.928e-05/0.2995, allocations: 24.47 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.2996, allocations: 35.42 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2996, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.335, allocations: 3.851 MB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.077, allocations: 12.73 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches