Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001595, allocations: 184.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 99.12 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.47e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9363/1.196, allocations: 135.7 MB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/1.196, allocations: 91.39 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01287/1.209, allocations: 4.391 MB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/1.209, allocations: 4 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.209, allocations: 0 / 1.022 GB, free: 14.61 MB / 0.6511 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.0006227/1.21, allocations: 417 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.21, allocations: 8.031 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/1.21, allocations: 19.8 kB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/1.21, allocations: 220.7 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.21, allocations: 4 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/1.21, allocations: 4 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000128/1.21, allocations: 39.73 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/1.211, allocations: 81.53 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.211, allocations: 0 / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.211, allocations: 0 / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/1.211, allocations: 8 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/1.211, allocations: 187.5 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/1.211, allocations: 109.8 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/1.211, allocations: 33.89 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/1.211, allocations: 7.938 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/1.211, allocations: 104.5 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/1.212, allocations: 0 / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003429/1.212, allocations: 100.1 kB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.212, allocations: 140.6 kB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/1.212, allocations: 168.2 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.212, allocations: 25.7 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/1.212, allocations: 98.83 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/1.212, allocations: 27.33 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/1.212, allocations: 0.75 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.213, allocations: 322.5 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/1.213, allocations: 23.31 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/1.213, allocations: 67.03 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/1.213, allocations: 27.19 kB / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.213, allocations: 0 / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/1.213, allocations: 111.4 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.213, allocations: 8.125 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.213, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.213, allocations: 4 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/1.213, allocations: 23.92 kB / 1.024 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.213, allocations: 4 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/1.213, allocations: 11.98 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.213, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.6511 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.213, allocations: 116.6 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.213, allocations: 15.81 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/1.214, allocations: 113.6 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.214, allocations: 7.984 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.214, allocations: 3.938 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.214, allocations: 0 / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.214, allocations: 176.5 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.214, allocations: 0 / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/1.214, allocations: 19.98 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.214, allocations: 7.953 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.214, allocations: 7.875 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.214, allocations: 4.078 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.214, allocations: 7.984 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/1.214, allocations: 179.5 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/1.214, allocations: 92.5 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/1.214, allocations: 4 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/1.215, allocations: 4 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/1.215, allocations: 11.98 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.215, allocations: 3.984 kB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001051/1.215, allocations: 132.6 kB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.215, allocations: 4 kB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002524/1.215, allocations: 39.92 kB / 1.025 GB, free: 11.2 MB / 0.6511 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009772/1.216, allocations: 394.9 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001674/1.216, allocations: 66.3 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.216, allocations: 0 / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/1.216, allocations: 34.56 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/1.216, allocations: 30.66 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/1.217, allocations: 160.5 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/1.217, allocations: 0.708 MB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.652e-05/1.217, allocations: 16.88 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/1.217, allocations: 22.61 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.217, allocations: 0 / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of Templates: time 0.004922/1.222, allocations: 1.899 MB / 1.029 GB, free: 7.992 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches