Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 213.2 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.224/3.224, allocations: 0.49 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 65.61 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003199/0.3244, allocations: 1.685 MB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.3271, allocations: 1.722 MB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.3272, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3275, allocations: 35.77 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.3278, allocations: 111.5 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3281, allocations: 95.64 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3283, allocations: 143.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.3283, allocations: 5.641 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3285, allocations: 67.64 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3287, allocations: 59.77 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3288, allocations: 8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.329, allocations: 111.9 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.329, allocations: 31.84 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.3291, allocations: 39.73 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3294, allocations: 199.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3294, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3294, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3294, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 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.0007173/0.3302, allocations: 397.2 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3302, allocations: 19.97 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.3303, allocations: 38.67 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.3304, allocations: 24.84 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3307, allocations: 163.1 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3308, allocations: 384 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3308, allocations: 7.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3311, allocations: 130.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3311, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3311, allocations: 7.984 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3311, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.3313, allocations: 55.95 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.3315, allocations: 170.6 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3318, allocations: 119.7 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.332, allocations: 54.55 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.332, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3322, allocations: 109.9 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3322, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.3328, allocations: 177.4 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3329, allocations: 128.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3331, allocations: 207.4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3332, allocations: 33.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.3332, allocations: 100.1 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3333, allocations: 23.84 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.3333, allocations: 29.7 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3335, allocations: 322.8 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3336, allocations: 31.98 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3338, allocations: 97.91 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.334, allocations: 99.67 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.334, allocations: 3.938 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00036/0.3344, allocations: 145.4 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3344, allocations: 4 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3344, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3344, allocations: 4.094 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3345, allocations: 23.98 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3346, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.3347, allocations: 19.88 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3347, allocations: 192 / 1.333 GB, free: 10.21 MB / 1.029 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.0001272/0.3348, allocations: 139.4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.3348, allocations: 19.78 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.3351, allocations: 127 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3351, allocations: 0 / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3351, allocations: 8 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3351, allocations: 3.984 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3353, allocations: 168.7 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3353, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3354, allocations: 19.92 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3354, allocations: 4 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3355, allocations: 4 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3355, allocations: 4 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3355, allocations: 0 / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.3358, allocations: 190.6 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3359, allocations: 19.89 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3359, allocations: 0 / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.336, allocations: 11.98 kB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.3361, allocations: 11.98 kB / 1.333 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3361, allocations: 4.062 kB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000159/0.3362, allocations: 145.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3362, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003067/0.3365, allocations: 51.86 kB / 1.334 GB, free: 9.211 MB / 1.029 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002611/0.3392, allocations: 1.165 MB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.3395, allocations: 91.88 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3395, allocations: 0 / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3396, allocations: 47.89 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3399, allocations: 28.3 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3423, allocations: 1.774 MB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3424, allocations: 105 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.456e-05/0.3425, allocations: 20.58 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3426, allocations: 51.41 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3426, allocations: 0 / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.3758, allocations: 5.202 MB / 1.342 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 14.17 kB / 1.342 GB, free: 0.8359 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.516265267011477]