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.007214/0.007214, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001673/0.001673, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.72 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2238, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002839/0.2267, allocations: 1.682 MB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2287, allocations: 1.499 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.2288, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.2291, allocations: 43.77 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.2294, allocations: 67.62 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.2297, allocations: 114.5 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.2299, allocations: 123.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.2299, allocations: 13.11 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.23, allocations: 59.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2302, allocations: 55.69 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2302, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2304, allocations: 59.98 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.2304, allocations: 27.91 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.2305, allocations: 43.73 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.2307, allocations: 146.3 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2307, allocations: 3.984 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.61e-07/0.2307, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2307, allocations: 0 / 1.091 GB, free: 14.06 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.0006225/0.2314, allocations: 439.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2314, allocations: 12.03 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2314, allocations: 34.75 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.2315, allocations: 12.84 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.2318, allocations: 224.9 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2318, allocations: 8.359 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2318, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.232, allocations: 105 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2321, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2321, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2321, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2323, allocations: 47.91 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.2325, allocations: 211.4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2328, allocations: 123.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2329, allocations: 42.62 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2329, allocations: 8 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.2331, allocations: 105.9 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.2331, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004495/0.2336, allocations: 173.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.2337, allocations: 128.5 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2338, allocations: 174.9 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2339, allocations: 25.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.2339, allocations: 108.1 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.234, allocations: 31.58 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.234, allocations: 25.66 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2341, allocations: 327 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2342, allocations: 35.97 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2344, allocations: 68.2 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.2346, allocations: 95.62 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2346, allocations: 7.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002803/0.2349, allocations: 129.5 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2349, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2349, allocations: 4.094 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2349, allocations: 4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.235, allocations: 23.92 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.235, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.2351, allocations: 11.89 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2351, allocations: 8 kB / 1.094 GB, free: 11.02 MB / 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 8.516e-05/0.2352, allocations: 121.8 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.2353, allocations: 11.91 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.2353, allocations: 25.39 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2353, allocations: 4 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2353, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2353, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.2355, allocations: 205.5 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2355, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.2356, allocations: 19.92 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2356, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2356, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2356, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2356, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.2359, allocations: 162.5 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.236, allocations: 96.94 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.236, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.2361, allocations: 8 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.2361, allocations: 15.92 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2362, allocations: 4.062 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001065/0.2363, allocations: 132.2 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2363, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002362/0.2365, allocations: 35.94 kB / 1.095 GB, free: 10.08 MB / 0.8575 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.001385/0.2379, allocations: 1.056 MB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2382, allocations: 79.89 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2382, allocations: 0 / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2383, allocations: 39.97 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2386, allocations: 33.84 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2403, allocations: 1.693 MB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.2406, allocations: 0.7002 MB / 1.098 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.763e-05/0.2407, allocations: 24.48 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.2407, allocations: 47.41 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2407, allocations: 0 / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/0.4098, allocations: 3.85 MB / 1.102 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.566, allocations: 7.984 kB / 1.102 GB, free: 2.598 MB / 0.8575 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