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.008322/0.008322, allocations: 106.3 kB / 15.74 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.002131/0.002131, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8337, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002873/0.8366, allocations: 1.673 MB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.8384, allocations: 1.511 MB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.8385, allocations: 1.125 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.8388, allocations: 36.86 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.839, allocations: 65.59 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.8393, allocations: 118.5 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.8395, allocations: 124.3 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.8396, allocations: 7.688 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.8397, allocations: 64.97 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.8399, allocations: 53.69 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.8399, allocations: 9.406 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.8401, allocations: 61.19 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.8401, allocations: 26.66 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.8402, allocations: 40.69 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.8404, allocations: 146.9 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8404, allocations: 0 / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8404, allocations: 4.625 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.8405, allocations: 0 / 1.091 GB, free: 2.684 MB / 0.8575 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.0005439/0.841, allocations: 452.1 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8411, allocations: 9.031 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.8411, allocations: 37.02 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.8411, allocations: 11.98 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.8414, allocations: 216.7 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8414, allocations: 1.875 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.8414, allocations: 6.781 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.8417, allocations: 107.8 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8417, allocations: 0 / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.8417, allocations: 2.094 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8417, allocations: 4.781 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.8419, allocations: 51.88 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.8421, allocations: 211.3 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.8424, allocations: 115.5 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.8425, allocations: 51.42 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.8425, allocations: 10.19 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.8428, allocations: 108.2 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.943e-06/0.8428, allocations: 5.016 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005113/0.8433, allocations: 166.5 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.8433, allocations: 131.5 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.8435, allocations: 181.6 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.8435, allocations: 30.52 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.8436, allocations: 104.3 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.8436, allocations: 30.72 kB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.8436, allocations: 23.42 kB / 1.093 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.8437, allocations: 322.1 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.8438, allocations: 31.28 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.8439, allocations: 64.84 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.8442, allocations: 96.34 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8442, allocations: 4.812 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003049/0.8445, allocations: 129.9 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8445, allocations: 5.375 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.8445, allocations: 1.609 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.8445, allocations: 1.062 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8447, allocations: 25.03 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8447, allocations: 1.562 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.8448, allocations: 19.95 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.8448, allocations: 3.375 kB / 1.094 GB, free: 388 kB / 0.8575 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.931e-05/0.8449, allocations: 128.7 kB / 1.094 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.8449, allocations: 11.48 kB / 1.094 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.845, allocations: 20.53 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.845, allocations: 1.547 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.845, allocations: 5.781 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.845, allocations: 1.531 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.8451, allocations: 209 kB / 1.094 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8452, allocations: 0.6875 kB / 1.094 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.8452, allocations: 17.45 kB / 1.094 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.8452, allocations: 2.266 kB / 1.094 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8453, allocations: 6.422 kB / 1.094 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8453, allocations: 1.469 kB / 1.094 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8453, allocations: 0.7812 kB / 1.094 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.8457, allocations: 171.1 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.8457, allocations: 89.42 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.8458, allocations: 2.828 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.8458, allocations: 11.77 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.8459, allocations: 10.5 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.8459, allocations: 4.562 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001257/0.8461, allocations: 132.2 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8461, allocations: 0.7812 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002664/0.8463, allocations: 27.11 kB / 1.095 GB, free: 15.69 MB / 0.8731 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.001642/0.848, allocations: 1.049 MB / 1.096 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.8484, allocations: 86.08 kB / 1.096 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8484, allocations: 3.938 kB / 1.096 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.8486, allocations: 48.08 kB / 1.096 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.8489, allocations: 34.27 kB / 1.096 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.8513, allocations: 1.692 MB / 1.098 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.8516, allocations: 0.7102 MB / 1.098 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.8517, allocations: 20.91 kB / 1.098 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.8518, allocations: 39.59 kB / 1.098 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.8518, allocations: 0 / 1.098 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.8763, allocations: 3.849 MB / 1.102 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.681, allocations: 3.531 kB / 1.102 GB, free: 11.94 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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