Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.489/2.489, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001111/0.001111, allocations: 195.8 kB / 0.4902 GB, free: 2.086 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001039/0.001039, allocations: 104.2 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 6.812 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.5717, allocations: 154.3 MB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.5721, allocations: 79.95 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.5863, allocations: 4.864 MB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5863, allocations: 4 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.5863, allocations: 4 kB / 1.385 GB, free: 10.12 MB / 0.8855 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.0007484/0.5871, allocations: 458.6 kB / 1.385 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.5872, allocations: 8.562 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.5872, allocations: 34.56 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.5873, allocations: 15.86 kB / 1.385 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.5877, allocations: 218.8 kB / 1.386 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5877, allocations: 0 / 1.386 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.5877, allocations: 4 kB / 1.386 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.588, allocations: 109 kB / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5881, allocations: 0 / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5881, allocations: 0 / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5881, allocations: 0 / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.5883, allocations: 75.78 kB / 1.386 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.5886, allocations: 215.4 kB / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.5889, allocations: 121.1 kB / 1.386 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5889, allocations: 8.062 kB / 1.386 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.5892, allocations: 109.9 kB / 1.386 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 4.799e-06/0.5892, allocations: 0 / 1.386 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.5898, allocations: 189.3 kB / 1.386 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.5899, allocations: 132.8 kB / 1.386 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5901, allocations: 175 kB / 1.387 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.5901, allocations: 25.7 kB / 1.387 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.5902, allocations: 104.1 kB / 1.387 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.5902, allocations: 23.66 kB / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.5902, allocations: 4 kB / 1.387 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5904, allocations: 326.8 kB / 1.387 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5905, allocations: 35.97 kB / 1.387 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5906, allocations: 76.2 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.5908, allocations: 48 kB / 1.387 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5908, allocations: 3.938 kB / 1.387 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003281/0.5911, allocations: 137.5 kB / 1.387 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5911, allocations: 4 kB / 1.387 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.5911, allocations: 4.078 kB / 1.387 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.5912, allocations: 11.98 kB / 1.387 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5913, allocations: 23.92 kB / 1.387 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5913, allocations: 0 / 1.387 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.5914, allocations: 15.91 kB / 1.387 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5915, allocations: 320 / 1.387 GB, free: 7.16 MB / 0.8855 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.0001381/0.5916, allocations: 134.6 kB / 1.388 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.5916, allocations: 15.91 kB / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.5919, allocations: 127 kB / 1.388 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.592, allocations: 0 / 1.388 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.592, allocations: 4 kB / 1.388 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.592, allocations: 0 / 1.388 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.5922, allocations: 217.4 kB / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5922, allocations: 0 / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.5923, allocations: 15.98 kB / 1.388 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5923, allocations: 4 kB / 1.388 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5924, allocations: 8.172 kB / 1.388 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5924, allocations: 4 kB / 1.388 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5924, allocations: 4.016 kB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.5928, allocations: 214 kB / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.5929, allocations: 92.91 kB / 1.388 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.5929, allocations: 8 kB / 1.388 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.593, allocations: 7.984 kB / 1.388 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.5931, allocations: 19.88 kB / 1.388 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5931, allocations: 8 kB / 1.388 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00014/0.5932, allocations: 135.2 kB / 1.388 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5932, allocations: 0 / 1.388 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002998/0.5935, allocations: 39.88 kB / 1.388 GB, free: 6 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.001866/0.5954, allocations: 1.242 MB / 1.39 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.5958, allocations: 99.88 kB / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5958, allocations: 4.188 kB / 1.39 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.596, allocations: 55.91 kB / 1.39 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.5962, allocations: 27.39 kB / 1.39 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.598, allocations: 1.274 MB / 1.391 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.5983, allocations: 0.7089 MB / 1.392 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.5985, allocations: 24.62 kB / 1.392 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.5986, allocations: 43.41 kB / 1.392 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of SimCode: time 3.9e-07/0.5986, allocations: 0 / 1.392 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.6185, allocations: 3.397 MB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.6188, allocations: 230.4 kB / 1.395 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.368, allocations: 0 / 1.395 GB, free: 15.06 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat does not exist to compare? outputFormat=mat