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: "" <> 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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.659/2.659, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001381/0.001381, allocations: 183.3 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.765/1.765, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001142/0.001142, allocations: 98.73 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 13 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.4567, allocations: 153.5 MB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4569, allocations: 83.95 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.4697, allocations: 4.869 MB / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4698, allocations: 0 / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.4698, allocations: 4 kB / 1.378 GB, free: 3.473 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.0006402/0.4704, allocations: 446.7 kB / 1.378 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4705, allocations: 16.03 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.4706, allocations: 34.56 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4706, allocations: 15.77 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.471, allocations: 227.8 kB / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.471, allocations: 4 kB / 1.378 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.471, allocations: 0 / 1.378 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4713, allocations: 109.1 kB / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4713, allocations: 0 / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4713, allocations: 4 kB / 1.379 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4714, allocations: 0 / 1.379 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.4716, allocations: 63.84 kB / 1.379 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.4718, allocations: 219.4 kB / 1.379 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4721, allocations: 127.9 kB / 1.379 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.4721, allocations: 3.984 kB / 1.379 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.4724, allocations: 113.9 kB / 1.379 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 2.855e-06/0.4724, allocations: 4 kB / 1.379 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004992/0.4729, allocations: 185.3 kB / 1.379 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.473, allocations: 136.7 kB / 1.379 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4731, allocations: 173.5 kB / 1.379 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4732, allocations: 25.7 kB / 1.38 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.4732, allocations: 100.1 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4733, allocations: 19.72 kB / 1.38 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.4733, allocations: 4 kB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4734, allocations: 326.8 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.4735, allocations: 43.97 kB / 1.38 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.4737, allocations: 72.2 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4738, allocations: 40.02 kB / 1.38 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4738, allocations: 3.938 kB / 1.38 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003158/0.4741, allocations: 145.4 kB / 1.38 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4742, allocations: 8.094 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4742, allocations: 4 kB / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4742, allocations: 0 / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4743, allocations: 23.98 kB / 1.38 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4743, allocations: 0 / 1.38 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.4744, allocations: 15.92 kB / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.4744, allocations: 4 kB / 1.38 GB, free: 0.5039 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.0001147/0.4746, allocations: 140 kB / 1.38 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4746, allocations: 15.81 kB / 1.38 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.4749, allocations: 115.1 kB / 1.381 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4749, allocations: 320 / 1.381 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4749, allocations: 0 / 1.381 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4749, allocations: 7.984 kB / 1.381 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.4751, allocations: 213.5 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4751, allocations: 0 / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.4752, allocations: 23.92 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4752, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.4752, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4753, allocations: 0 / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.4753, allocations: 7.984 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4756, allocations: 209.9 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.4757, allocations: 96.94 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4757, allocations: 4 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.4758, allocations: 11.94 kB / 1.381 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.4759, allocations: 19.94 kB / 1.381 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.4759, allocations: 7.984 kB / 1.381 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001201/0.476, allocations: 132.5 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.476, allocations: 0 / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002544/0.4763, allocations: 35.98 kB / 1.381 GB, free: 15.36 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.00163/0.4779, allocations: 1.258 MB / 1.383 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4783, allocations: 96.02 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4783, allocations: 4.062 kB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4784, allocations: 51.91 kB / 1.383 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4787, allocations: 23.97 kB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4803, allocations: 1.283 MB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4806, allocations: 0.7082 MB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.851e-05/0.4807, allocations: 20.48 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.4808, allocations: 39.42 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of SimCode: time 2.144e-06/0.4808, allocations: 4 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.4979, allocations: 3.398 MB / 1.388 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.4981, allocations: 209 kB / 1.388 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.186, allocations: 8 kB / 1.388 GB, free: 8.406 MB / 0.8855 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat does not exist to compare? outputFormat=mat