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.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.0008237/0.0008237, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000864/0.000864, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.543e-05, allocations: 13.45 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002316/0.002341, allocations: 1.67 MB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.004095, allocations: 1.734 MB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.004167, allocations: 4 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.004442, allocations: 39.7 kB / 0.9539 GB, free: 32 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.004763, allocations: 107.4 kB / 0.954 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.004933, allocations: 95.58 kB / 0.9541 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.00511, allocations: 143.4 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.005159, allocations: 13.62 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.005359, allocations: 83.69 kB / 0.9543 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005481, allocations: 43.88 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.005501, allocations: 8 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.005655, allocations: 111.8 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.005709, allocations: 23.91 kB / 0.9545 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.005753, allocations: 31.86 kB / 0.9545 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.006007, allocations: 211.3 kB / 0.9547 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00601, allocations: 3.938 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.61e-07/0.006011, allocations: 0 / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.006016, allocations: 3.938 kB / 0.9547 GB, free: 15.16 MB / 0.9167 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.0007846/0.0068, allocations: 405.1 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.00684, allocations: 8.031 kB / 0.9551 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.00687, allocations: 34.73 kB / 0.9551 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.006989, allocations: 16.89 kB / 0.9551 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.007231, allocations: 166.4 kB / 0.9553 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.007243, allocations: 4.375 kB / 0.9553 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.007254, allocations: 384 / 0.9553 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.007446, allocations: 139 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.007453, allocations: 0 / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.007467, allocations: 7.969 kB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.007472, allocations: 0 / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.007589, allocations: 59.89 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.007758, allocations: 178.5 kB / 0.9557 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.007936, allocations: 115.7 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.008004, allocations: 58.61 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.008021, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.008174, allocations: 117.8 kB / 0.956 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.008175, allocations: 0 / 0.956 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003256/0.0085, allocations: 169.7 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.008559, allocations: 132.5 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.008706, allocations: 203.8 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.00872, allocations: 25.7 kB / 0.9565 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.008766, allocations: 104.1 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.008799, allocations: 31.77 kB / 0.9566 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.008835, allocations: 25.7 kB / 0.9566 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.008916, allocations: 326.8 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.008981, allocations: 31.92 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.009062, allocations: 93.97 kB / 0.9571 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.009192, allocations: 99.36 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009194, allocations: 0 / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.00938, allocations: 145.4 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.009393, allocations: 8.094 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.009399, allocations: 4 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.009412, allocations: 192 / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.009493, allocations: 23.92 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.009498, allocations: 3.938 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.009543, allocations: 11.98 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.009553, allocations: 11.98 kB / 0.9573 GB, free: 12.15 MB / 0.9167 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 7.599e-05/0.009629, allocations: 124.1 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.009649, allocations: 19.84 kB / 0.9575 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.009821, allocations: 127.1 kB / 0.9576 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009824, allocations: 4 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.009828, allocations: 0 / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009832, allocations: 0 / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.009957, allocations: 180.9 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009959, allocations: 4 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.01001, allocations: 19.98 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01001, allocations: 3.938 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.01002, allocations: 0 / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01002, allocations: 7.938 kB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01002, allocations: 4 kB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.01022, allocations: 174.7 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.01024, allocations: 19.83 kB / 0.958 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01026, allocations: 8 kB / 0.958 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.0103, allocations: 7.984 kB / 0.958 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.01034, allocations: 11.98 kB / 0.958 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.01035, allocations: 4 kB / 0.958 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.87e-05/0.01044, allocations: 149.1 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01044, allocations: 4 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001993/0.01064, allocations: 55.86 kB / 0.9582 GB, free: 11.16 MB / 0.9167 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.00118/0.01182, allocations: 1.156 MB / 0.9594 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.01201, allocations: 83.88 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01201, allocations: 4 kB / 0.9594 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.01209, allocations: 48.09 kB / 0.9595 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.01229, allocations: 31.48 kB / 0.9595 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.01374, allocations: 1.773 MB / 0.9613 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.518e-05/0.0138, allocations: 101.2 kB / 0.9614 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.312e-05/0.01387, allocations: 28.47 kB / 0.9614 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.01394, allocations: 48.47 kB / 0.9614 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01394, allocations: 0 / 0.9614 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.03441, allocations: 5.306 MB / 0.9666 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.26, allocations: 0 / 0.9666 GB, free: 2.711 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.137009779922664]