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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 192.2 kB / 16.14 MB, free: 6.719 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6191, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002452/0.6215, allocations: 1.734 MB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.6231, allocations: 1.471 MB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.6232, allocations: 0 / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.6234, allocations: 37.05 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.6236, allocations: 57.78 kB / 0.9523 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.6238, allocations: 99.14 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.624, allocations: 113.9 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.624, allocations: 18.62 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.6241, allocations: 61.91 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.6243, allocations: 54.47 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.6243, allocations: 2.875 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.6244, allocations: 53.7 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.6245, allocations: 31.08 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.6246, allocations: 34.53 kB / 0.9527 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.6247, allocations: 150.1 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6248, allocations: 2.031 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.01e-07/0.6248, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.6248, allocations: 0 / 0.9529 GB, free: 6.176 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.0005108/0.6253, allocations: 442.2 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.6253, allocations: 9.438 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.6254, allocations: 37.66 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.6254, allocations: 17.34 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.6256, allocations: 213.5 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.6256, allocations: 2.219 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6256, allocations: 9.641 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.6258, allocations: 104.9 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6259, allocations: 0 / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.6259, allocations: 1.125 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6259, allocations: 1.188 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.6261, allocations: 52.33 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.6262, allocations: 217.3 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.6265, allocations: 116.5 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.6266, allocations: 50.31 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.6266, allocations: 5.453 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.6269, allocations: 113 kB / 0.9542 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6269, allocations: 4 kB / 0.9542 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004315/0.6273, allocations: 157.4 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.6273, allocations: 130.5 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.6275, allocations: 176.8 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.6275, allocations: 26.36 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.6275, allocations: 109.4 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.6276, allocations: 23.03 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.6276, allocations: 30.11 kB / 0.9548 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.6277, allocations: 321.4 kB / 0.9551 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6278, allocations: 29.11 kB / 0.9551 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.6279, allocations: 66.42 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.6281, allocations: 98.12 kB / 0.9553 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6281, allocations: 5.469 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002659/0.6284, allocations: 135.1 kB / 0.9554 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6284, allocations: 5.125 kB / 0.9554 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6284, allocations: 5.219 kB / 0.9554 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6284, allocations: 1.375 kB / 0.9554 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.6286, allocations: 24.3 kB / 0.9555 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6286, allocations: 1.156 kB / 0.9555 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.6287, allocations: 13.73 kB / 0.9555 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6287, allocations: 3.906 kB / 0.9555 GB, free: 3.684 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 7.69e-05/0.6288, allocations: 131.5 kB / 0.9556 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6288, allocations: 18.61 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.6288, allocations: 13.94 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6288, allocations: 1.125 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6288, allocations: 1.125 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6289, allocations: 1.312 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.629, allocations: 213.5 kB / 0.9559 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.629, allocations: 1.156 kB / 0.9559 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.6291, allocations: 18.3 kB / 0.9559 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6291, allocations: 5.219 kB / 0.9559 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6291, allocations: 6.266 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6291, allocations: 1.062 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6291, allocations: 0 / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.6294, allocations: 167.5 kB / 0.956 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.6294, allocations: 84.11 kB / 0.9561 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.6295, allocations: 10.12 kB / 0.9561 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.6295, allocations: 9.266 kB / 0.9561 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.6296, allocations: 7.688 kB / 0.9561 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.6296, allocations: 12.86 kB / 0.9562 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.6297, allocations: 133.2 kB / 0.9563 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6297, allocations: 0 / 0.9563 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002515/0.63, allocations: 33.98 kB / 0.9563 GB, free: 2.918 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.001287/0.6313, allocations: 1.05 MB / 0.9573 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.6315, allocations: 80.55 kB / 0.9574 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6315, allocations: 0 / 0.9574 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.6317, allocations: 49.77 kB / 0.9575 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6319, allocations: 28.88 kB / 0.9575 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.6335, allocations: 1.707 MB / 0.9592 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.6337, allocations: 0.7053 MB / 0.9599 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.448e-05/0.6338, allocations: 24.34 kB / 0.9599 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.6339, allocations: 37.33 kB / 0.9599 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.6339, allocations: 0 / 0.9599 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.6486, allocations: 3.541 MB / 0.9634 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.6489, allocations: 250.6 kB / 0.9636 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.481, allocations: 0 / 0.9636 GB, free: 13.71 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