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.15/2.15, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001289/0.001289, allocations: 180.1 kB / 492.3 MB, free: 0.6328 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.471/1.471, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008817/0.0008818, allocations: 94.14 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.121e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.332, allocations: 153.4 MB / 1.362 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.332, allocations: 87.83 kB / 1.362 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01212/1.344, allocations: 4.662 MB / 1.367 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.344, allocations: 7.078 kB / 1.367 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.737e-05/1.344, allocations: 0 / 1.367 GB, free: 34.6 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.0005229/1.345, allocations: 431.1 kB / 1.367 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.345, allocations: 11.16 kB / 1.367 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/1.345, allocations: 37.84 kB / 1.367 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/1.345, allocations: 11.83 kB / 1.367 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/1.345, allocations: 217.1 kB / 1.368 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.345, allocations: 3.875 kB / 1.368 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/1.345, allocations: 3.938 kB / 1.368 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.346, allocations: 100.5 kB / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.346, allocations: 0 / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.346, allocations: 0 / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.346, allocations: 0 / 1.368 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/1.346, allocations: 40.23 kB / 1.368 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/1.346, allocations: 222.5 kB / 1.368 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/1.346, allocations: 104.2 kB / 1.368 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/1.346, allocations: 48.48 kB / 1.368 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/1.346, allocations: 3.844 kB / 1.368 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/1.346, allocations: 101.7 kB / 1.368 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/1.346, allocations: 0 / 1.368 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002563/1.347, allocations: 111.9 kB / 1.368 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.347, allocations: 135.3 kB / 1.368 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/1.347, allocations: 180.7 kB / 1.369 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.347, allocations: 25.7 kB / 1.369 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/1.347, allocations: 99.69 kB / 1.369 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/1.347, allocations: 26.08 kB / 1.369 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/1.347, allocations: 7.406 kB / 1.369 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.347, allocations: 321 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/1.347, allocations: 32.45 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/1.347, allocations: 53.86 kB / 1.369 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/1.347, allocations: 26.81 kB / 1.369 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.347, allocations: 0 / 1.369 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000163/1.347, allocations: 115.8 kB / 1.369 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.347, allocations: 11.62 kB / 1.369 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.347, allocations: 0 / 1.369 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.347, allocations: 4.125 kB / 1.369 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.348, allocations: 24 kB / 1.369 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.348, allocations: 0 / 1.369 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/1.348, allocations: 11.42 kB / 1.369 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/1.348, allocations: 7.312 kB / 1.369 GB, free: 32.62 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 8.46e-05/1.348, allocations: 117.8 kB / 1.37 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/1.348, allocations: 17.66 kB / 1.37 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.348, allocations: 118.8 kB / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.348, allocations: 3.812 kB / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.348, allocations: 0 / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.348, allocations: 0 / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.348, allocations: 218.9 kB / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.348, allocations: 0 / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/1.348, allocations: 18.36 kB / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.348, allocations: 3.875 kB / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.348, allocations: 128 / 1.37 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.348, allocations: 11.23 kB / 1.37 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.348, allocations: 11.88 kB / 1.37 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/1.349, allocations: 181.7 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/1.349, allocations: 95.8 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/1.349, allocations: 7.844 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/1.349, allocations: 6.844 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.349, allocations: 18.05 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/1.349, allocations: 7.016 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001018/1.349, allocations: 136.5 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002496/1.349, allocations: 33.62 kB / 1.37 GB, free: 31.93 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.001342/1.351, allocations: 1.163 MB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.351, allocations: 73.22 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.351, allocations: 0 / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/1.351, allocations: 33.42 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/1.351, allocations: 33.2 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/1.352, allocations: 245.6 kB / 1.372 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/1.352, allocations: 0.7107 MB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.016e-05/1.352, allocations: 19.75 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/1.352, allocations: 43.22 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.352, allocations: 0 / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/1.371, allocations: 3.386 MB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.371, allocations: 194.2 kB / 1.376 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.161, allocations: 0 / 1.376 GB, free: 29.55 MB / 0.8386 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