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.019/2.019, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009978/0.0009978, allocations: 172.8 kB / 491.2 MB, free: 1.547 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.303/1.303, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008189/0.0008189, allocations: 95.84 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.526e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7833/1.015, allocations: 153.6 MB / 1.362 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.016, allocations: 84.47 kB / 1.362 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01108/1.027, allocations: 4.549 MB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.304e-06/1.027, allocations: 0 / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.027, allocations: 3.938 kB / 1.367 GB, free: 32.62 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.0004281/1.027, allocations: 433.4 kB / 1.367 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.027, allocations: 7.688 kB / 1.367 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/1.027, allocations: 15.7 kB / 1.367 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/1.027, allocations: 208.8 kB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/1.027, allocations: 3.938 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.027, allocations: 3.969 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.919e-05/1.028, allocations: 36.38 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/1.028, allocations: 84.06 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.028, allocations: 3.938 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.028, allocations: 7.484 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.028, allocations: 3.953 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.028, allocations: 189.2 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.028, allocations: 105.8 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/1.028, allocations: 40.08 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.028, allocations: 0 / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/1.028, allocations: 102.2 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/1.028, allocations: 0 / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002157/1.029, allocations: 106.3 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.029, allocations: 132.1 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/1.029, allocations: 164.3 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.029, allocations: 25.7 kB / 1.369 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/1.029, allocations: 109.2 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/1.029, allocations: 30.58 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/1.029, allocations: 0 / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/1.029, allocations: 325.2 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/1.029, allocations: 21.47 kB / 1.369 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/1.029, allocations: 49.34 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/1.029, allocations: 37.17 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.029, allocations: 0 / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001609/1.029, allocations: 108.6 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.029, allocations: 3.812 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.029, allocations: 3.875 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.029, allocations: 0 / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.029, allocations: 28.78 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.029, allocations: 0 / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/1.03, allocations: 14.34 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.03, allocations: 3.875 kB / 1.369 GB, free: 30.74 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 6.868e-05/1.03, allocations: 113.6 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001384/1.03, allocations: 110 kB / 1.369 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/1.03, allocations: 14.28 kB / 1.369 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/1.03, allocations: 126 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.03, allocations: 4.062 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.03, allocations: 0 / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.03, allocations: 6.734 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/1.03, allocations: 179.3 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.03, allocations: 0 / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/1.03, allocations: 17.97 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.03, allocations: 2.906 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.03, allocations: 3.844 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.03, allocations: 0 / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.03, allocations: 3.938 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/1.03, allocations: 181.2 kB / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/1.03, allocations: 95.03 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/1.03, allocations: 128 / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/1.031, allocations: 18.59 kB / 1.37 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/1.031, allocations: 17.95 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/1.031, allocations: 6.844 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.241e-05/1.031, allocations: 133.6 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.031, allocations: 0 / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002353/1.031, allocations: 34.25 kB / 1.37 GB, free: 30.04 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.001086/1.032, allocations: 1.14 MB / 1.371 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000123/1.032, allocations: 64.02 kB / 1.371 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.032, allocations: 0 / 1.371 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/1.032, allocations: 41.06 kB / 1.371 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.032, allocations: 24.14 kB / 1.371 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/1.033, allocations: 233.5 kB / 1.372 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/1.033, allocations: 0.7081 MB / 1.372 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.226e-05/1.033, allocations: 19.19 kB / 1.372 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/1.033, allocations: 44.77 kB / 1.372 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.033, allocations: 0 / 1.372 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/1.054, allocations: 3.016 MB / 1.375 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.055, allocations: 186 kB / 1.376 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.549, allocations: 3.844 kB / 1.376 GB, free: 27.77 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