Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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.0008537/0.0008536, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005054/0.005054, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.357/2.357, allocations: 443.4 MB / 0.7176 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 7.844 kB / 0.8797 GB, free: 41.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 155.2 MB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001804/0.2832, allocations: 1.413 MB / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2851, allocations: 1.463 MB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.2852, allocations: 4 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2854, allocations: 31.91 kB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.2856, allocations: 55.7 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2859, allocations: 107.3 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.286, allocations: 111.6 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.2861, allocations: 13.11 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2862, allocations: 55.7 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2864, allocations: 51.77 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2864, allocations: 4 kB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2865, allocations: 55.97 kB / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2866, allocations: 31.84 kB / 1.035 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.2867, allocations: 61.44 kB / 1.035 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.2869, allocations: 143.8 kB / 1.035 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2869, allocations: 3.938 kB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2869, allocations: 0 / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2869, allocations: 0 / 1.035 GB, free: 0.6445 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.0005469/0.2874, allocations: 423.1 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2875, allocations: 12.03 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.2875, allocations: 30.75 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2876, allocations: 12.75 kB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2878, allocations: 231.9 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2878, allocations: 384 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2879, allocations: 7.938 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.2881, allocations: 101.1 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2881, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2881, allocations: 3.984 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2881, allocations: 0 / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2883, allocations: 63.91 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.2885, allocations: 211.4 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2888, allocations: 123.7 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2889, allocations: 50.62 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.289, allocations: 7.922 kB / 1.036 GB, free: 15.19 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.2892, allocations: 117.9 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2892, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004832/0.2897, allocations: 177.5 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2898, allocations: 128.5 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.29, allocations: 175.4 kB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.29, allocations: 25.7 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.29, allocations: 112.3 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.2901, allocations: 27.64 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2901, allocations: 13.72 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2902, allocations: 322.8 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2903, allocations: 35.97 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2905, allocations: 68.28 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.2907, allocations: 103.6 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2907, allocations: 3.938 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.291, allocations: 149.3 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2911, allocations: 5.875 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2911, allocations: 8.094 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2911, allocations: 4.172 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2912, allocations: 19.98 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2912, allocations: 7.938 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.2913, allocations: 8 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2913, allocations: 4 kB / 1.037 GB, free: 13.58 MB / 0.795 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.0001043/0.2914, allocations: 143.3 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.2915, allocations: 15.81 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2915, allocations: 21.39 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2915, allocations: 0 / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2915, allocations: 0 / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2916, allocations: 0 / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2917, allocations: 205.5 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2917, allocations: 4 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.2918, allocations: 15.98 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2918, allocations: 0 / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2919, allocations: 12 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2919, allocations: 0 / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2919, allocations: 0 / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.2922, allocations: 178.5 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.2923, allocations: 96.94 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2923, allocations: 7.984 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.2924, allocations: 8 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.2924, allocations: 11.98 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2925, allocations: 3.984 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001057/0.2926, allocations: 131.2 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2926, allocations: 4 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002497/0.2928, allocations: 31.98 kB / 1.038 GB, free: 12.61 MB / 0.795 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.001458/0.2943, allocations: 1.043 MB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.2946, allocations: 103.8 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2946, allocations: 0 / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2948, allocations: 47.91 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2951, allocations: 34.17 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.297, allocations: 1.726 MB / 1.041 GB, free: 9.676 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2973, allocations: 0.7082 MB / 1.042 GB, free: 8.941 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.604e-05/0.2974, allocations: 24.47 kB / 1.042 GB, free: 8.918 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.2975, allocations: 39.41 kB / 1.042 GB, free: 8.879 MB / 0.795 GB Notification: Performance of SimCode: time 1.613e-06/0.2975, allocations: 0 / 1.042 GB, free: 8.879 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.3205, allocations: 3.33 MB / 1.045 GB, free: 5.691 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/0.3209, allocations: 254.4 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.181, allocations: 0 / 1.045 GB, free: 5.43 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches