Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_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.001002/0.001002, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009415, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4971, allocations: 140.4 MB / 0.9497 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002303/0.4994, allocations: 1.673 MB / 0.9513 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.5008, allocations: 1.501 MB / 0.9528 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.5009, allocations: 5.062 kB / 0.9528 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.5011, allocations: 41.58 kB / 0.9529 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.5013, allocations: 66.14 kB / 0.9529 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.5015, allocations: 124 kB / 0.953 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.5017, allocations: 126.5 kB / 0.9532 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.5017, allocations: 10.3 kB / 0.9532 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.5018, allocations: 61.92 kB / 0.9532 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.502, allocations: 57.75 kB / 0.9533 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.502, allocations: 5.75 kB / 0.9533 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.5021, allocations: 58.7 kB / 0.9533 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.5022, allocations: 29.5 kB / 0.9534 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.5022, allocations: 42.48 kB / 0.9534 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.5024, allocations: 151.7 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5024, allocations: 1.5 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5024, allocations: 0 / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5024, allocations: 0 / 0.9536 GB, free: 6.348 MB / 0.7169 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.0004538/0.5029, allocations: 439.6 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.5029, allocations: 12.91 kB / 0.954 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.5029, allocations: 36.88 kB / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.503, allocations: 13.62 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.5031, allocations: 218.2 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5032, allocations: 1.844 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5032, allocations: 6.781 kB / 0.9543 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.5034, allocations: 99.64 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5034, allocations: 1.031 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5034, allocations: 5.047 kB / 0.9544 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5034, allocations: 0.9375 kB / 0.9544 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.5036, allocations: 48.12 kB / 0.9544 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.5037, allocations: 216.5 kB / 0.9546 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.5039, allocations: 118 kB / 0.9547 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.504, allocations: 48.38 kB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5041, allocations: 2.5 kB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.5043, allocations: 113 kB / 0.9549 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5043, allocations: 0 / 0.9549 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003999/0.5047, allocations: 165.8 kB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.5047, allocations: 133.8 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.5048, allocations: 175.8 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.5049, allocations: 26.98 kB / 0.9554 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.5049, allocations: 105.8 kB / 0.9555 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.5049, allocations: 32.42 kB / 0.9555 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.505, allocations: 20.34 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.505, allocations: 321.8 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.5051, allocations: 33.47 kB / 0.9558 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.5052, allocations: 69.58 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.5054, allocations: 95.56 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5054, allocations: 3.938 kB / 0.956 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002548/0.5057, allocations: 144 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5057, allocations: 5.531 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5057, allocations: 1.031 kB / 0.9561 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5057, allocations: 1.094 kB / 0.9562 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.5058, allocations: 24.45 kB / 0.9562 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5058, allocations: 1.406 kB / 0.9562 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.5059, allocations: 5.406 kB / 0.9562 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.5059, allocations: 11.77 kB / 0.9562 GB, free: 3.855 MB / 0.7169 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 6.419e-05/0.506, allocations: 136 kB / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.506, allocations: 14.44 kB / 0.9563 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.5061, allocations: 22.23 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5061, allocations: 1.188 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5061, allocations: 1.281 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5061, allocations: 0.9688 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.5062, allocations: 209.3 kB / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5062, allocations: 1.156 kB / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.5063, allocations: 14.45 kB / 0.9566 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5063, allocations: 1.094 kB / 0.9566 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.5063, allocations: 6.625 kB / 0.9566 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5063, allocations: 1.125 kB / 0.9566 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5063, allocations: 0 / 0.9566 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.5066, allocations: 166.8 kB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.5066, allocations: 96.17 kB / 0.9568 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.5066, allocations: 3.984 kB / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.5067, allocations: 4.531 kB / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5067, allocations: 11.86 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5068, allocations: 3.719 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.855e-05/0.5068, allocations: 132.4 kB / 0.957 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5069, allocations: 0 / 0.957 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002232/0.5071, allocations: 29.81 kB / 0.957 GB, free: 3.102 MB / 0.7169 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.001153/0.5082, allocations: 1.051 MB / 0.958 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.5085, allocations: 92.69 kB / 0.9581 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5085, allocations: 4 kB / 0.9581 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.5086, allocations: 49.91 kB / 0.9582 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.5089, allocations: 21.36 kB / 0.9582 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.5103, allocations: 1.697 MB / 0.9599 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.5104, allocations: 0.705 MB / 0.9605 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.5104, allocations: 27.72 kB / 0.9606 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.5105, allocations: 42.56 kB / 0.9606 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5105, allocations: 0 / 0.9606 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.5305, allocations: 3.752 MB / 0.9643 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.811, allocations: 13.03 kB / 0.9643 GB, free: 13.97 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches