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.157/2.157, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001056/0.001056, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008856/0.0008855, allocations: 88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.086e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2279, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9534/1.181, allocations: 154.3 MB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/1.182, allocations: 84.06 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01229/1.194, allocations: 4.673 MB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.194, allocations: 0 / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.432e-05/1.194, allocations: 4 kB / 1.374 GB, free: 12.02 MB / 0.8386 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.0005269/1.194, allocations: 422.2 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.194, allocations: 8.031 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/1.195, allocations: 49.78 kB / 1.375 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/1.195, allocations: 15.77 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/1.195, allocations: 209.8 kB / 1.375 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/1.195, allocations: 11.25 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/1.195, allocations: 0 / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/1.195, allocations: 95.45 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.195, allocations: 0 / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/1.195, allocations: 3.25 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.195, allocations: 4 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/1.195, allocations: 42.69 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/1.196, allocations: 215.4 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.196, allocations: 100.7 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/1.196, allocations: 48.12 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/1.196, allocations: 3.938 kB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/1.196, allocations: 102.1 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/1.196, allocations: 4 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000273/1.196, allocations: 107.5 kB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.196, allocations: 132.5 kB / 1.376 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.197, allocations: 172.1 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.197, allocations: 25.7 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/1.197, allocations: 105.5 kB / 1.376 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/1.197, allocations: 27.39 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/1.197, allocations: 2.938 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.197, allocations: 329.6 kB / 1.376 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/1.197, allocations: 18.12 kB / 1.376 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/1.197, allocations: 58.97 kB / 1.376 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/1.197, allocations: 26.55 kB / 1.376 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.197, allocations: 4.031 kB / 1.376 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/1.197, allocations: 114.7 kB / 1.376 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.197, allocations: 8 kB / 1.376 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.197, allocations: 0 / 1.376 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.197, allocations: 0 / 1.376 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.197, allocations: 27.92 kB / 1.377 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.197, allocations: 3.984 kB / 1.377 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/1.198, allocations: 16.08 kB / 1.377 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/1.198, allocations: 11.33 kB / 1.377 GB, free: 9.457 MB / 0.8386 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 7.669e-05/1.198, allocations: 109.6 kB / 1.377 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/1.198, allocations: 19.5 kB / 1.377 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/1.198, allocations: 120.5 kB / 1.377 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.198, allocations: 7.938 kB / 1.377 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.198, allocations: 0 / 1.377 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.198, allocations: 7.984 kB / 1.377 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.198, allocations: 207.1 kB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.198, allocations: 0 / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/1.198, allocations: 19.98 kB / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.198, allocations: 0 / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.198, allocations: 4 kB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.198, allocations: 0 / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.198, allocations: 7.984 kB / 1.377 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/1.199, allocations: 188.5 kB / 1.377 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/1.199, allocations: 96.22 kB / 1.377 GB, free: 8.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/1.199, allocations: 4 kB / 1.377 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/1.199, allocations: 11.23 kB / 1.377 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.199, allocations: 19.88 kB / 1.377 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/1.199, allocations: 8 kB / 1.377 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001164/1.199, allocations: 137.1 kB / 1.377 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.199, allocations: 0 / 1.377 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002289/1.199, allocations: 39.73 kB / 1.378 GB, free: 8.449 MB / 0.8386 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.001364/1.201, allocations: 1.163 MB / 1.379 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001663/1.201, allocations: 73.36 kB / 1.379 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.201, allocations: 0 / 1.379 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/1.201, allocations: 38.62 kB / 1.379 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.201, allocations: 27.47 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/1.202, allocations: 226.4 kB / 1.379 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.202, allocations: 0.7163 MB / 1.38 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.935e-05/1.202, allocations: 25 kB / 1.38 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/1.202, allocations: 48.09 kB / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.202, allocations: 0 / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/1.218, allocations: 3.393 MB / 1.383 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.218, allocations: 197.2 kB / 1.383 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.936, allocations: 0 / 1.383 GB, free: 2.801 MB / 0.8386 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