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.57/1.57, allocations: 249.3 MB / 261.8 MB, free: 5.953 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.001082/0.001082, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008633/0.0008634, allocations: 82.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.828e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8205/1.064, allocations: 135.5 MB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.064, allocations: 89.56 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01267/1.077, allocations: 4.52 MB / 1.029 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/1.077, allocations: 4 kB / 1.029 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.431e-05/1.077, allocations: 0 / 1.029 GB, free: 11.68 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.0005531/1.078, allocations: 413 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.078, allocations: 16.02 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/1.078, allocations: 11.81 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/1.078, allocations: 221.3 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.078, allocations: 8 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.078, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.078, allocations: 90.28 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.078, allocations: 3.938 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.078, allocations: 0 / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.078, allocations: 4 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/1.078, allocations: 33.8 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/1.079, allocations: 220.6 kB / 1.03 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/1.079, allocations: 105.7 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/1.079, allocations: 49.5 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/1.079, allocations: 3.812 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/1.079, allocations: 105 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/1.079, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002786/1.079, allocations: 108.3 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/1.08, allocations: 140.5 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/1.08, allocations: 167.8 kB / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.08, allocations: 29.14 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/1.08, allocations: 105.7 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/1.08, allocations: 27.14 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.08, allocations: 0 / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.08, allocations: 329.9 kB / 1.031 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/1.08, allocations: 22.69 kB / 1.031 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/1.08, allocations: 58.72 kB / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/1.08, allocations: 34.11 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.08, allocations: 0 / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/1.08, allocations: 118.8 kB / 1.031 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.081, allocations: 10.03 kB / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.081, allocations: 0 / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.081, allocations: 4 kB / 1.031 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.081, allocations: 19.98 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.081, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/1.081, allocations: 15.05 kB / 1.031 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/1.081, allocations: 4 kB / 1.031 GB, free: 9.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 9.451e-05/1.081, allocations: 120 kB / 1.031 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/1.081, allocations: 19.75 kB / 1.031 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/1.081, allocations: 123.2 kB / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/1.081, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.081, allocations: 0 / 1.031 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.081, allocations: 7.984 kB / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/1.081, allocations: 202.5 kB / 1.031 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.081, allocations: 0 / 1.031 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/1.082, allocations: 27.92 kB / 1.031 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.082, allocations: 4 kB / 1.031 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/1.082, allocations: 3.125 kB / 1.031 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.082, allocations: 0 / 1.031 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.082, allocations: 4 kB / 1.031 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/1.082, allocations: 184.8 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/1.082, allocations: 91.69 kB / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/1.082, allocations: 4 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/1.082, allocations: 15.48 kB / 1.032 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/1.082, allocations: 7.984 kB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.082, allocations: 4 kB / 1.032 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001195/1.082, allocations: 141 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.9e-07/1.082, allocations: 288 / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002499/1.083, allocations: 47.17 kB / 1.032 GB, free: 8.152 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.083, allocations: 418.9 kB / 1.032 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001804/1.084, allocations: 74.66 kB / 1.032 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.084, allocations: 0 / 1.032 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/1.084, allocations: 42.67 kB / 1.032 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/1.084, allocations: 26.61 kB / 1.032 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/1.084, allocations: 160.3 kB / 1.033 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.085, allocations: 0.7124 MB / 1.033 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.292e-05/1.085, allocations: 16.88 kB / 1.033 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/1.085, allocations: 23.19 kB / 1.033 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.085, allocations: 0 / 1.033 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.004945/1.09, allocations: 1.973 MB / 1.035 GB, free: 4.84 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