Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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.005612/0.005612, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001265/0.001266, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.7422 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8402, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003091/0.8434, allocations: 1.686 MB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.8455, allocations: 1.507 MB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.8457, allocations: 3.938 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.8459, allocations: 39.77 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.8462, allocations: 67.67 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.8466, allocations: 114.7 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.8468, allocations: 139.5 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.8469, allocations: 5.125 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.847, allocations: 55.78 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.8472, allocations: 47.77 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.8472, allocations: 4 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.8474, allocations: 67.95 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.8474, allocations: 27.86 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.8475, allocations: 39.73 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.8478, allocations: 147.1 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8478, allocations: 4 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8478, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8478, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 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.0006354/0.8485, allocations: 452.8 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8485, allocations: 12.62 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.8485, allocations: 38.73 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.8486, allocations: 12.84 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.8489, allocations: 220.1 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.8489, allocations: 4.375 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.849, allocations: 7.938 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.8492, allocations: 101.1 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8492, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8492, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.8492, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.8494, allocations: 55.89 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.8497, allocations: 215.4 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.8499, allocations: 115.7 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.8501, allocations: 50.61 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.8501, allocations: 3.938 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.8503, allocations: 117.9 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.8504, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.8509, allocations: 161.5 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.851, allocations: 132.5 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.8511, allocations: 182.6 kB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8512, allocations: 25.7 kB / 1.225 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.8512, allocations: 104.1 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.8513, allocations: 23.84 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.8513, allocations: 21.72 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8515, allocations: 326.8 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.8516, allocations: 27.97 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.8517, allocations: 68.28 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.8519, allocations: 91.33 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.852, allocations: 11.97 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003073/0.8523, allocations: 137.4 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.8523, allocations: 8 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8523, allocations: 0 / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8523, allocations: 3.984 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.8525, allocations: 19.98 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.8525, allocations: 4 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.8526, allocations: 20.17 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8526, allocations: 4 kB / 1.226 GB, free: 11.24 MB / 0.9512 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.000109/0.8527, allocations: 134.2 kB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.8527, allocations: 11.95 kB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.8528, allocations: 21.39 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8528, allocations: 0 / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8528, allocations: 4 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8528, allocations: 0 / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.853, allocations: 209.5 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.853, allocations: 4.312 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.8531, allocations: 19.98 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8531, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8531, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8532, allocations: 4 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8532, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.8535, allocations: 170.6 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.8536, allocations: 89.02 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.8536, allocations: 0 / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.8537, allocations: 11.98 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.8537, allocations: 11.98 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.8538, allocations: 4 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001206/0.8539, allocations: 136.2 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8539, allocations: 4 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002635/0.8542, allocations: 31.94 kB / 1.227 GB, free: 10.28 MB / 0.9512 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.001573/0.8557, allocations: 1.045 MB / 1.228 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.8561, allocations: 95.98 kB / 1.228 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8561, allocations: 8.062 kB / 1.228 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.8562, allocations: 39.92 kB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.8565, allocations: 31.84 kB / 1.228 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.8587, allocations: 1.696 MB / 1.23 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.859, allocations: 0.7041 MB / 1.231 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.8591, allocations: 24.42 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.8592, allocations: 43.36 kB / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8592, allocations: 0 / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.8819, allocations: 3.845 MB / 1.234 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.696, allocations: 14.34 kB / 1.234 GB, free: 2.824 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches