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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 1.104 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7644, allocations: 168.7 MB / 1.269 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003224/0.7677, allocations: 1.694 MB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.7699, allocations: 1.516 MB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.77, allocations: 4 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.7703, allocations: 35.77 kB / 1.272 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.7705, allocations: 71.61 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.7709, allocations: 111.6 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.7711, allocations: 123.6 kB / 1.272 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.7711, allocations: 9.109 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.7712, allocations: 59.72 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.7714, allocations: 51.77 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.7714, allocations: 11.94 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.7716, allocations: 63.95 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.7716, allocations: 23.92 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.7717, allocations: 39.73 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.772, allocations: 153.2 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.772, allocations: 0 / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.772, allocations: 0 / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.772, allocations: 0 / 1.273 GB, free: 1.129 MB / 0.9669 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.000677/0.7726, allocations: 454.5 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7727, allocations: 12.03 kB / 1.273 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.7727, allocations: 34.73 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.7728, allocations: 12.84 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.7731, allocations: 216.7 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.7731, allocations: 4.359 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7731, allocations: 11.92 kB / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.7734, allocations: 101 kB / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7734, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7734, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.7734, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.7736, allocations: 55.89 kB / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.7738, allocations: 215.4 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.7741, allocations: 111.7 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.7742, allocations: 50.61 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.7743, allocations: 0 / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.7745, allocations: 117.8 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.7745, allocations: 4 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004935/0.775, allocations: 157.7 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7751, allocations: 136.5 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.7753, allocations: 174.4 kB / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7753, allocations: 25.7 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.7754, allocations: 112.3 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.7754, allocations: 19.84 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.7755, allocations: 25.72 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7756, allocations: 322.8 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.7757, allocations: 32.03 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7759, allocations: 72.27 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.7761, allocations: 95.53 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.7761, allocations: 3.938 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003127/0.7764, allocations: 133.5 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7764, allocations: 8 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7764, allocations: 7.922 kB / 1.275 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7765, allocations: 0 / 1.275 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.7766, allocations: 23.92 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7766, allocations: 4 kB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.7767, allocations: 11.89 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7767, allocations: 4 kB / 1.275 GB, free: 14.09 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.0001143/0.7768, allocations: 136.6 kB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.7768, allocations: 11.95 kB / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.7769, allocations: 17.39 kB / 1.275 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7769, allocations: 0 / 1.275 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7769, allocations: 4 kB / 1.275 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7769, allocations: 0 / 1.275 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.7771, allocations: 213.5 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7771, allocations: 0 / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.7772, allocations: 19.92 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7772, allocations: 4 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.7772, allocations: 0 / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7772, allocations: 4 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7772, allocations: 4.062 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.7775, allocations: 162.7 kB / 1.276 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.7776, allocations: 93.02 kB / 1.276 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.7776, allocations: 4 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.7777, allocations: 11.98 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.7778, allocations: 15.92 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7778, allocations: 4 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001286/0.7779, allocations: 136.2 kB / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7779, allocations: 0 / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002629/0.7782, allocations: 31.94 kB / 1.276 GB, free: 13.12 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.002221/0.7804, allocations: 1.059 MB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.7807, allocations: 83.89 kB / 1.277 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7807, allocations: 0 / 1.277 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.7808, allocations: 44.16 kB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.7811, allocations: 34.12 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.7833, allocations: 1.697 MB / 1.279 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.7837, allocations: 0.7041 MB / 1.28 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.119e-05/0.7838, allocations: 24.47 kB / 1.28 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.7838, allocations: 39.41 kB / 1.28 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.7838, allocations: 3.938 kB / 1.28 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.8123, allocations: 3.882 MB / 1.283 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.323, allocations: 6.281 kB / 1.283 GB, free: 5.605 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.493627108633518]