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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 169.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 96.31 kB / 0.9346 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 8.609 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.4359, allocations: 153.5 MB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4362, allocations: 83.95 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.4493, allocations: 4.861 MB / 1.378 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4494, allocations: 4 kB / 1.378 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.4494, allocations: 0 / 1.378 GB, free: 3.5 MB / 0.8698 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.0006495/0.4501, allocations: 442.7 kB / 1.378 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4501, allocations: 12.03 kB / 1.378 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.4502, allocations: 11.86 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.4506, allocations: 223.8 kB / 1.378 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4506, allocations: 4 kB / 1.378 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4506, allocations: 8 kB / 1.378 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.4509, allocations: 101 kB / 1.378 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4509, allocations: 0 / 1.378 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4509, allocations: 4 kB / 1.378 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4509, allocations: 8 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4511, allocations: 63.84 kB / 1.378 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.4514, allocations: 215.4 kB / 1.379 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.4517, allocations: 123.9 kB / 1.379 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4517, allocations: 0 / 1.379 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.4519, allocations: 125.9 kB / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.452, allocations: 0 / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005039/0.4525, allocations: 177.5 kB / 1.379 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.4526, allocations: 136.5 kB / 1.379 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.4528, allocations: 165.5 kB / 1.379 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4528, allocations: 29.7 kB / 1.379 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.4529, allocations: 104.3 kB / 1.379 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.4529, allocations: 27.64 kB / 1.38 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.4529, allocations: 0 / 1.38 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4531, allocations: 334.7 kB / 1.38 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4532, allocations: 39.97 kB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4534, allocations: 72.2 kB / 1.38 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4535, allocations: 39.98 kB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4535, allocations: 0 / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003613/0.4539, allocations: 145.7 kB / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4539, allocations: 4 kB / 1.38 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4539, allocations: 4 kB / 1.38 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4539, allocations: 64 / 1.38 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4541, allocations: 31.97 kB / 1.38 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4541, allocations: 4.094 kB / 1.38 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.4542, allocations: 19.84 kB / 1.38 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4542, allocations: 4 kB / 1.38 GB, free: 0.5781 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.4544, allocations: 133.7 kB / 1.38 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.4544, allocations: 7.906 kB / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.4547, allocations: 115.1 kB / 1.38 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.4547, allocations: 11.98 kB / 1.38 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4547, allocations: 0 / 1.38 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4547, allocations: 3.984 kB / 1.38 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4549, allocations: 213.5 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4549, allocations: 0 / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.455, allocations: 19.98 kB / 1.381 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.455, allocations: 0 / 1.381 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4551, allocations: 11.98 kB / 1.381 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4551, allocations: 3.938 kB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4551, allocations: 0 / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.4555, allocations: 210 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.4555, allocations: 100.8 kB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.4556, allocations: 4 kB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.4557, allocations: 15.98 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4557, allocations: 11.94 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4557, allocations: 4 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001194/0.4559, allocations: 140.2 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.455e-06/0.4559, allocations: 0 / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002585/0.4561, allocations: 43.94 kB / 1.381 GB, free: 15.43 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001032/0.4572, allocations: 460.8 kB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.4575, allocations: 107.8 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4575, allocations: 0 / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.4577, allocations: 51.97 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.4579, allocations: 30.12 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.4584, allocations: 278.7 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4587, allocations: 0.7082 MB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.099e-05/0.4588, allocations: 20.98 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.4589, allocations: 15.44 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of SimCode: time 2.9e-07/0.4589, allocations: 0 / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.004676/0.4636, allocations: 1.954 MB / 1.385 GB, free: 11.95 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches