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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.000982, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.432/2.432, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.575, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001782/0.5768, allocations: 1.369 MB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.5786, allocations: 1.402 MB / 0.9838 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.5787, allocations: 4 kB / 0.9838 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.5789, allocations: 23.91 kB / 0.9839 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.5791, allocations: 51.77 kB / 0.9839 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.5794, allocations: 107.7 kB / 0.984 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.5796, allocations: 107.6 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.5796, allocations: 17.11 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.5798, allocations: 55.7 kB / 0.9842 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.5799, allocations: 45.55 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.58, allocations: 4 kB / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.5801, allocations: 63.84 kB / 0.9843 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.5801, allocations: 15.92 kB / 0.9843 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.5802, allocations: 41.64 kB / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.5803, allocations: 110 kB / 0.9845 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5804, allocations: 4 kB / 0.9845 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5804, allocations: 0 / 0.9845 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.5804, allocations: 0 / 0.9845 GB, free: 2.789 MB / 0.7325 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.0005446/0.5809, allocations: 426.8 kB / 0.9849 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.581, allocations: 8.031 kB / 0.9849 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.581, allocations: 34.56 kB / 0.9849 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.5811, allocations: 15.81 kB / 0.9849 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.5813, allocations: 210.9 kB / 0.9851 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5813, allocations: 7.938 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.5813, allocations: 0 / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.5815, allocations: 109 kB / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.5816, allocations: 0 / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5816, allocations: 4 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5816, allocations: 4 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.5818, allocations: 59.89 kB / 0.9853 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.582, allocations: 211.5 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.5822, allocations: 115.8 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.5824, allocations: 58.61 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.5824, allocations: 0 / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.5826, allocations: 125.9 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.5826, allocations: 0 / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004477/0.5831, allocations: 177.5 kB / 0.986 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.5832, allocations: 132.5 kB / 0.9861 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5833, allocations: 174.9 kB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5833, allocations: 29.64 kB / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.5834, allocations: 104.1 kB / 0.9864 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5834, allocations: 23.66 kB / 0.9864 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.5835, allocations: 0 / 0.9864 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.5836, allocations: 326.8 kB / 0.9867 GB, free: 192 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5837, allocations: 35.97 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5838, allocations: 72.27 kB / 0.9868 GB, free: 68 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.5839, allocations: 36.02 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5839, allocations: 4.188 kB / 0.9869 GB, free: 28 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000295/0.5842, allocations: 145.5 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5842, allocations: 7.938 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5843, allocations: 4 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5843, allocations: 3.953 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.5844, allocations: 19.98 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5844, allocations: 7.984 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.5845, allocations: 8 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.5845, allocations: 4 kB / 0.987 GB, free: 15.82 MB / 0.7481 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.0001012/0.5846, allocations: 133.8 kB / 0.9872 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5846, allocations: 11.89 kB / 0.9872 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.5847, allocations: 21.39 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5847, allocations: 7.891 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5847, allocations: 0 / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5847, allocations: 4 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.5849, allocations: 205.4 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5849, allocations: 4 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.585, allocations: 19.98 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.585, allocations: 0 / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.585, allocations: 8 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.585, allocations: 0 / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.585, allocations: 3.953 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.5853, allocations: 170.6 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.5854, allocations: 96.91 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.5854, allocations: 4.312 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.5855, allocations: 8 kB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5855, allocations: 15.94 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5855, allocations: 8 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001168/0.5857, allocations: 137.2 kB / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5857, allocations: 4 kB / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003656/0.586, allocations: 28 kB / 0.9879 GB, free: 14.85 MB / 0.7481 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001347/0.5874, allocations: 1.052 MB / 0.9889 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.5877, allocations: 83.89 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5877, allocations: 0 / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.5878, allocations: 52.09 kB / 0.9891 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.5881, allocations: 40.38 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5893, allocations: 0.797 MB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.5895, allocations: 0.7159 MB / 0.9906 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.513e-05/0.5896, allocations: 28.47 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.5897, allocations: 39.36 kB / 0.9906 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.5897, allocations: 0 / 0.9906 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.6031, allocations: 3.311 MB / 0.9939 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.6033, allocations: 226.3 kB / 0.9941 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.352, allocations: 0 / 0.9941 GB, free: 8.707 MB / 0.7481 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) Environment - environmentSimulation: 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