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.001576/0.001576, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001839/0.001839, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.619/2.619, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.205/4.205, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003856, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8057, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002018/0.8078, allocations: 1.362 MB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.81, allocations: 1.386 MB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.282e-05/0.8101, allocations: 3.938 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.8104, allocations: 35.83 kB / 0.9836 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.8106, allocations: 55.86 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.8109, allocations: 95.69 kB / 0.9837 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.8111, allocations: 75.78 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.8112, allocations: 21.08 kB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.8113, allocations: 55.77 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.8115, allocations: 35.84 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.8115, allocations: 4 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.8116, allocations: 43.97 kB / 0.984 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.8117, allocations: 19.91 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.8117, allocations: 41.64 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.8119, allocations: 106 kB / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.812, allocations: 0 / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.812, allocations: 0 / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.812, allocations: 0 / 0.9841 GB, free: 2.93 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.0007902/0.8128, allocations: 442.7 kB / 0.9845 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8128, allocations: 8.031 kB / 0.9845 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.8129, allocations: 30.56 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.8129, allocations: 15.81 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.8132, allocations: 210.8 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.8132, allocations: 4 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.8133, allocations: 8 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.8135, allocations: 105 kB / 0.9849 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.8135, allocations: 0 / 0.9849 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.8136, allocations: 4 kB / 0.9849 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.8136, allocations: 4 kB / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.8138, allocations: 55.95 kB / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.814, allocations: 207.4 kB / 0.9852 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.8143, allocations: 119.8 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.8143, allocations: 8.188 kB / 0.9853 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.8146, allocations: 113.9 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.8146, allocations: 3.938 kB / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.8152, allocations: 185.4 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.8153, allocations: 128.5 kB / 0.9857 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.8155, allocations: 174.9 kB / 0.9859 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.8155, allocations: 25.7 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.8156, allocations: 108.1 kB / 0.986 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.8156, allocations: 23.66 kB / 0.986 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.8156, allocations: 4.156 kB / 0.986 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8158, allocations: 326.8 kB / 0.9863 GB, free: 388 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.8159, allocations: 35.97 kB / 0.9864 GB, free: 352 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.816, allocations: 72.2 kB / 0.9864 GB, free: 264 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.8162, allocations: 39.98 kB / 0.9865 GB, free: 224 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.8162, allocations: 0 / 0.9865 GB, free: 224 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003188/0.8165, allocations: 137.4 kB / 0.9866 GB, free: 80 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8165, allocations: 11.98 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8165, allocations: 3.938 kB / 0.9866 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8165, allocations: 3.953 kB / 0.9866 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8167, allocations: 27.92 kB / 0.9866 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8167, allocations: 0 / 0.9866 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.8168, allocations: 12.09 kB / 0.9867 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.8168, allocations: 4 kB / 0.9867 GB, free: 16 kB / 0.7325 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.0001478/0.817, allocations: 126.7 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.817, allocations: 11.91 kB / 0.9868 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.8171, allocations: 17.39 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.8171, allocations: 0 / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8171, allocations: 7.953 kB / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8171, allocations: 0 / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.8173, allocations: 209.5 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8173, allocations: 0 / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.8174, allocations: 23.92 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.8174, allocations: 0 / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8174, allocations: 4 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8175, allocations: 0 / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8175, allocations: 0 / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.8178, allocations: 206.4 kB / 0.9872 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.8179, allocations: 92.91 kB / 0.9873 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.818, allocations: 12.14 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.8181, allocations: 19.98 kB / 0.9874 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.8181, allocations: 11.88 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.8182, allocations: 7.984 kB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001342/0.8183, allocations: 133.2 kB / 0.9875 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8183, allocations: 0 / 0.9875 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002641/0.8186, allocations: 27.98 kB / 0.9875 GB, free: 15.01 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.001784/0.8204, allocations: 1.217 MB / 0.9887 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.8207, allocations: 91.89 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8207, allocations: 0 / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.8208, allocations: 47.91 kB / 0.9889 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.8211, allocations: 25.86 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.8228, allocations: 1.25 MB / 0.9901 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.8232, allocations: 0.7121 MB / 0.9908 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.523e-05/0.8233, allocations: 24.47 kB / 0.9908 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.8234, allocations: 43.41 kB / 0.9909 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8234, allocations: 0 / 0.9909 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2471/1.07, allocations: 3.287 MB / 0.9941 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/1.071, allocations: 217.2 kB / 0.9943 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.958, allocations: 10.53 kB / 0.9943 GB, free: 8.266 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