Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_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.008791/0.008791, allocations: 101 kB / 15.73 MB, free: 6.062 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.001848/0.001848, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.683/1.683, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.813, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003732/0.8168, allocations: 1.689 MB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.8194, allocations: 1.507 MB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.8195, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.8199, allocations: 39.77 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.8203, allocations: 71.61 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.8207, allocations: 116.7 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.821, allocations: 123.6 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.8211, allocations: 9.125 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.8212, allocations: 55.77 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.8214, allocations: 55.7 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.8215, allocations: 8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.8217, allocations: 59.97 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.8217, allocations: 27.98 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.8218, allocations: 43.73 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.8221, allocations: 147 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8222, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8222, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.8222, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 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.0006936/0.8229, allocations: 460.7 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.8229, allocations: 8.922 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.823, allocations: 38.73 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.823, allocations: 12.89 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.8233, allocations: 216.1 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8234, allocations: 4.375 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.8234, allocations: 7.922 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.8237, allocations: 101 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.8237, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8237, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.8237, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.8239, allocations: 51.89 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.8242, allocations: 219.4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.8245, allocations: 115.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.8246, allocations: 54.55 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.8246, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.8249, allocations: 109.9 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.8249, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.8255, allocations: 169.5 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.8256, allocations: 128.5 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.8258, allocations: 174.4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.8258, allocations: 25.7 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.8259, allocations: 112.1 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.8259, allocations: 20.09 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.826, allocations: 25.72 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8261, allocations: 322.8 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.8263, allocations: 39.91 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.8264, allocations: 60.22 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.8267, allocations: 103.4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8267, allocations: 3.938 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003083/0.827, allocations: 129.8 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.827, allocations: 8 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.827, allocations: 3.984 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.827, allocations: 4 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.8272, allocations: 19.98 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8272, allocations: 7.938 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.8273, allocations: 11.89 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8273, allocations: 4 kB / 1.173 GB, free: 12.75 MB / 0.9044 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.0001183/0.8274, allocations: 133.8 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.8275, allocations: 11.95 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.8275, allocations: 17.39 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8275, allocations: 0 / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8275, allocations: 4 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8275, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.8278, allocations: 213.5 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8278, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.8279, allocations: 15.98 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8279, allocations: 0 / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.8279, allocations: 8 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8279, allocations: 3.938 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8279, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.8282, allocations: 158.7 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.8283, allocations: 89.02 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.8283, allocations: 12 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.8284, allocations: 7.984 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.8285, allocations: 11.98 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.8285, allocations: 4 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000133/0.8286, allocations: 136.2 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8287, allocations: 4.125 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002559/0.8289, allocations: 31.94 kB / 1.173 GB, free: 11.8 MB / 0.9044 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.002184/0.8311, allocations: 1.054 MB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.8314, allocations: 79.89 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8315, allocations: 0 / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.8316, allocations: 44.16 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8319, allocations: 38.53 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.8342, allocations: 1.709 MB / 1.176 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.8346, allocations: 0.7079 MB / 1.177 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.8347, allocations: 24.47 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.8348, allocations: 43.41 kB / 1.177 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.8348, allocations: 0 / 1.177 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.8639, allocations: 3.827 MB / 1.181 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/9.136, allocations: 12.06 kB / 1.181 GB, free: 4.312 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches