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.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.6 kB / 326.5 MB, free: 2.238 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.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009439/0.0009442, allocations: 99.12 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2356, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.4067, allocations: 135.5 MB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.407, allocations: 87.94 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.4189, allocations: 4.732 MB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.322e-06/0.419, allocations: 0 / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.419, allocations: 0 / 1.037 GB, free: 3.434 MB / 0.6823 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.0005177/0.4195, allocations: 446.8 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4196, allocations: 8.031 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.4196, allocations: 15.75 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4199, allocations: 222.8 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4199, allocations: 8 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.4199, allocations: 0 / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.4201, allocations: 105.2 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-06/0.4201, allocations: 0 / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4202, allocations: 7.984 kB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-06/0.4202, allocations: 0 / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.4204, allocations: 63.89 kB / 1.038 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.4206, allocations: 223.3 kB / 1.038 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.4209, allocations: 127.8 kB / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4209, allocations: 4.125 kB / 1.038 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.4211, allocations: 117.9 kB / 1.038 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.4212, allocations: 0 / 1.038 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0004895/0.4217, allocations: 181.9 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.4217, allocations: 132.5 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4219, allocations: 166 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.422, allocations: 29.7 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.422, allocations: 100.1 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.4221, allocations: 31.62 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.4221, allocations: 4 kB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4223, allocations: 326.8 kB / 1.039 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4224, allocations: 44 kB / 1.039 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4225, allocations: 68.27 kB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4226, allocations: 44.08 kB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4227, allocations: 0 / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002954/0.423, allocations: 153.4 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.423, allocations: 8 kB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.423, allocations: 3.938 kB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.423, allocations: 0 / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4231, allocations: 23.98 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4232, allocations: 0 / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.4232, allocations: 11.98 kB / 1.04 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.4233, allocations: 4.062 kB / 1.04 GB, free: 0.5117 MB / 0.6823 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.0001129/0.4234, allocations: 136 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4234, allocations: 15.81 kB / 1.04 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4237, allocations: 119.2 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4237, allocations: 0 / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4237, allocations: 3.938 kB / 1.04 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4237, allocations: 4 kB / 1.04 GB, free: 228 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.4239, allocations: 217.5 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4239, allocations: 0 / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.424, allocations: 27.92 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.424, allocations: 0 / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4241, allocations: 4 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4241, allocations: 0 / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4241, allocations: 4 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.4244, allocations: 214 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.4245, allocations: 92.92 kB / 1.04 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4245, allocations: 4 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.4246, allocations: 15.98 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.4247, allocations: 7.984 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4247, allocations: 8 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001204/0.4248, allocations: 135.2 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4248, allocations: 0 / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002465/0.4251, allocations: 35.95 kB / 1.041 GB, free: 15.37 MB / 0.698 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.0009956/0.4261, allocations: 475.5 kB / 1.041 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.4264, allocations: 95.89 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4264, allocations: 4.188 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4266, allocations: 55.91 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.4268, allocations: 33.5 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.4273, allocations: 275 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.4276, allocations: 0.7121 MB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.099e-05/0.4277, allocations: 16.88 kB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.4277, allocations: 19.42 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.4277, allocations: 0 / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of Templates: time 0.004629/0.4324, allocations: 1.946 MB / 1.044 GB, free: 11.88 MB / 0.698 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