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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 91.61 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.001377/0.001378, 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6521/0.6524, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001984/0.6544, allocations: 1.348 MB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.6563, allocations: 1.395 MB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.6564, allocations: 3.938 kB / 0.9565 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.6567, allocations: 32.86 kB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.6569, allocations: 60.81 kB / 0.9566 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.6572, allocations: 96.48 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.6574, allocations: 103.3 kB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.6575, allocations: 14.98 kB / 0.9568 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.6576, allocations: 52.3 kB / 0.9569 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.6578, allocations: 49.98 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.6578, allocations: 3.219 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.658, allocations: 49.73 kB / 0.957 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.658, allocations: 29.25 kB / 0.957 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.658, allocations: 35.7 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.6582, allocations: 110.8 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6582, allocations: 0 / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6582, allocations: 1.375 kB / 0.9571 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6582, allocations: 0 / 0.9571 GB, free: 5.5 MB / 0.7169 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.000521/0.6588, allocations: 429.3 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6588, allocations: 22.39 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.6589, allocations: 31.72 kB / 0.9576 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.6589, allocations: 17.55 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.6591, allocations: 207.2 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6592, allocations: 1.469 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.6592, allocations: 10.86 kB / 0.9578 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.6594, allocations: 100.4 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6594, allocations: 0 / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6594, allocations: 5.344 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6594, allocations: 1.125 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.6596, allocations: 70.83 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.6598, allocations: 212 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.6601, allocations: 113.9 kB / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.6602, allocations: 53.58 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.6602, allocations: 1.969 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.6605, allocations: 118.7 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.6605, allocations: 5.219 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004478/0.6609, allocations: 172.7 kB / 0.9586 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.661, allocations: 133.8 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6611, allocations: 174.6 kB / 0.9589 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.6611, allocations: 27.45 kB / 0.959 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.6612, allocations: 105.5 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.6612, allocations: 31.25 kB / 0.9591 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.6612, allocations: 4.156 kB / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.6613, allocations: 330.3 kB / 0.9594 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.6614, allocations: 28.73 kB / 0.9594 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.6615, allocations: 73.95 kB / 0.9595 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.6616, allocations: 33.98 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6616, allocations: 0 / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002617/0.6619, allocations: 147.5 kB / 0.9597 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6619, allocations: 5.5 kB / 0.9597 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6619, allocations: 1.375 kB / 0.9597 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6619, allocations: 1.375 kB / 0.9597 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.662, allocations: 21.86 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.662, allocations: 1.375 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.6621, allocations: 24.19 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.6621, allocations: 2.938 kB / 0.9597 GB, free: 3.082 MB / 0.7169 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 7.321e-05/0.6622, allocations: 127.9 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.6623, allocations: 14.72 kB / 0.9599 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.6623, allocations: 18.89 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6623, allocations: 1.375 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.6623, allocations: 1.375 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6623, allocations: 0 / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.6624, allocations: 214.7 kB / 0.9601 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6625, allocations: 0 / 0.9601 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.6625, allocations: 16.83 kB / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6625, allocations: 0.7812 kB / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6626, allocations: 10 kB / 0.9601 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6626, allocations: 0.9688 kB / 0.9601 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6626, allocations: 1.156 kB / 0.9601 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.6629, allocations: 178.4 kB / 0.9603 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.6629, allocations: 97.06 kB / 0.9604 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.6629, allocations: 5.281 kB / 0.9604 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.663, allocations: 15.33 kB / 0.9604 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.6631, allocations: 12.08 kB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.6631, allocations: 3.75 kB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.316e-05/0.6632, allocations: 133.8 kB / 0.9606 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6632, allocations: 0 / 0.9606 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.6635, allocations: 33.3 kB / 0.9606 GB, free: 2.309 MB / 0.7169 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.001308/0.6648, allocations: 1.056 MB / 0.9616 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6651, allocations: 86.36 kB / 0.9617 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6651, allocations: 5.156 kB / 0.9617 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6652, allocations: 47.56 kB / 0.9618 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.6655, allocations: 36.48 kB / 0.9618 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.6667, allocations: 0.8141 MB / 0.9626 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.6668, allocations: 0.7065 MB / 0.9633 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.6669, allocations: 23.09 kB / 0.9633 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.667, allocations: 41.16 kB / 0.9633 GB, free: 72 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.667, allocations: 0 / 0.9633 GB, free: 72 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.6817, allocations: 3.299 MB / 0.9666 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.6819, allocations: 235.2 kB / 0.9668 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.502, allocations: 0 / 0.9668 GB, free: 14.23 MB / 0.7325 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