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.001455/0.001455, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001548/0.001548, allocations: 214.8 kB / 22.25 MB, free: 5.121 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.996 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.352/3.352, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002066/0.002066, allocations: 72.2 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00378/0.3316, allocations: 1.723 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.335, allocations: 1.798 MB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3351, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3354, allocations: 35.77 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.3358, allocations: 111.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.336, allocations: 99.59 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3363, allocations: 143.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.3363, allocations: 1.641 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3365, allocations: 71.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.3367, allocations: 59.69 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3368, allocations: 8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.337, allocations: 115.9 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.3371, allocations: 27.86 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.3372, allocations: 55.67 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.3377, allocations: 199.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3377, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3377, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3377, allocations: 0 / 1.33 GB, free: 13.51 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.0008304/0.3385, allocations: 401.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3386, allocations: 8.031 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.3386, allocations: 38.75 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.3388, allocations: 28.83 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3392, allocations: 167.1 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3392, allocations: 384 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3392, allocations: 15.92 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3394, allocations: 101 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3395, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3395, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3395, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.3397, allocations: 51.89 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.3399, allocations: 186.5 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.3402, allocations: 119.6 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3404, allocations: 42.61 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3404, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.3406, allocations: 117.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3406, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005286/0.3412, allocations: 165.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3413, allocations: 132.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3415, allocations: 199.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3415, allocations: 29.7 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.3416, allocations: 108.1 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.3417, allocations: 19.86 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.3417, allocations: 25.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3419, allocations: 330.9 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.342, allocations: 27.98 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3421, allocations: 60.27 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.3424, allocations: 99.36 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3424, allocations: 3.938 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.3427, allocations: 133.4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3427, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3427, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3427, allocations: 4.094 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3428, allocations: 23.98 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3428, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.3429, allocations: 19.88 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.343, allocations: 4 kB / 1.333 GB, free: 10.59 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.0001206/0.3431, allocations: 135.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.3431, allocations: 11.91 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.3434, allocations: 111.4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3434, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3434, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3434, allocations: 3.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3436, allocations: 176.6 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3436, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.3437, allocations: 15.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3437, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3437, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3437, allocations: 8.109 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3437, allocations: 4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.344, allocations: 174.6 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3441, allocations: 15.91 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3441, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.3442, allocations: 11.98 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3442, allocations: 11.98 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3442, allocations: 4 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00015/0.3444, allocations: 145.2 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3444, allocations: 3.938 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000297/0.3447, allocations: 47.86 kB / 1.334 GB, free: 9.625 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 (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.002646/0.3473, allocations: 1.106 MB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3476, allocations: 79.88 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.3476, allocations: 4.188 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3478, allocations: 35.92 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3481, allocations: 32.22 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3504, allocations: 1.745 MB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3508, allocations: 0.7195 MB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.3509, allocations: 20.62 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.351, allocations: 47.41 kB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.351, allocations: 0 / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04423/0.3952, allocations: 4.538 MB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.06, allocations: 16.05 kB / 1.342 GB, free: 1.371 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: 19.24531903490424]