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.001192/0.001192, allocations: 100.1 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.00137/0.00137, 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 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.333/2.333, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6156, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001572/0.6172, allocations: 1.35 MB / 0.9549 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.6188, allocations: 1.391 MB / 0.9563 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.6189, allocations: 1 kB / 0.9563 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.6192, allocations: 34.8 kB / 0.9563 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.6194, allocations: 53.78 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.6197, allocations: 96.16 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.6199, allocations: 86.23 kB / 0.9565 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.6199, allocations: 5.969 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.6201, allocations: 49.47 kB / 0.9566 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.6202, allocations: 46.58 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.6203, allocations: 3.344 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.6204, allocations: 38.56 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.6204, allocations: 21.69 kB / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.6205, allocations: 43.45 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.6207, allocations: 103.4 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6207, allocations: 4 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6207, allocations: 0 / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6207, allocations: 0 / 0.9568 GB, free: 5.59 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.0005464/0.6212, allocations: 427 kB / 0.9572 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6213, allocations: 9.219 kB / 0.9572 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.6213, allocations: 35.41 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.6214, allocations: 18.08 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.6216, allocations: 224.2 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.6216, allocations: 1.094 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.6216, allocations: 2.281 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.6218, allocations: 99.98 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6219, allocations: 0 / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6219, allocations: 5.188 kB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6219, allocations: 5.422 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.6221, allocations: 63.03 kB / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.6223, allocations: 214 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.6225, allocations: 116.1 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.6225, allocations: 5.984 kB / 0.958 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.6228, allocations: 115.6 kB / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.6228, allocations: 0 / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004395/0.6232, allocations: 177.2 kB / 0.9583 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6233, allocations: 134.2 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.6234, allocations: 178.3 kB / 0.9586 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6234, allocations: 27.73 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.6235, allocations: 107.7 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.6235, allocations: 25.03 kB / 0.9587 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.6235, allocations: 0 / 0.9587 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.6236, allocations: 326.4 kB / 0.959 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.6237, allocations: 31.86 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.6238, allocations: 72.89 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.6239, allocations: 47.7 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6239, allocations: 0 / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002749/0.6242, allocations: 139.5 kB / 0.9593 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6242, allocations: 5.5 kB / 0.9593 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6242, allocations: 0 / 0.9593 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6242, allocations: 2.75 kB / 0.9593 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.6244, allocations: 25.95 kB / 0.9594 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6244, allocations: 1.375 kB / 0.9594 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.6245, allocations: 16.16 kB / 0.9594 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.6245, allocations: 10.69 kB / 0.9594 GB, free: 3.211 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.904e-05/0.6246, allocations: 122 kB / 0.9595 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.6246, allocations: 14.78 kB / 0.9595 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.6246, allocations: 17.52 kB / 0.9595 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6247, allocations: 9.312 kB / 0.9595 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6247, allocations: 1.375 kB / 0.9595 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6247, allocations: 1.375 kB / 0.9595 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.6248, allocations: 212.6 kB / 0.9597 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6248, allocations: 1.375 kB / 0.9597 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.6249, allocations: 16.36 kB / 0.9598 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6249, allocations: 1.375 kB / 0.9598 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6249, allocations: 1.688 kB / 0.9598 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6249, allocations: 5.281 kB / 0.9598 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6249, allocations: 1.344 kB / 0.9598 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.6252, allocations: 202.1 kB / 0.96 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.6253, allocations: 97.12 kB / 0.9601 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.6253, allocations: 2.688 kB / 0.9601 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.6254, allocations: 10.95 kB / 0.9601 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.6254, allocations: 11.27 kB / 0.9601 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.6255, allocations: 7.672 kB / 0.9601 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.071e-05/0.6256, allocations: 133.1 kB / 0.9602 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6256, allocations: 4 kB / 0.9602 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002505/0.6258, allocations: 33.92 kB / 0.9602 GB, free: 2.402 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.001281/0.6271, allocations: 1.22 MB / 0.9614 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.6274, allocations: 86.48 kB / 0.9615 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6274, allocations: 1 kB / 0.9615 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.6275, allocations: 51.84 kB / 0.9616 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.6278, allocations: 25.52 kB / 0.9616 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.629, allocations: 1.26 MB / 0.9628 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.6292, allocations: 0.7108 MB / 0.9635 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.659e-05/0.6292, allocations: 23.97 kB / 0.9635 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.6293, allocations: 37.7 kB / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.6293, allocations: 0 / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.6428, allocations: 3.283 MB / 0.9668 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.643, allocations: 220 kB / 0.967 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.243, allocations: 7.938 kB / 0.967 GB, free: 13.72 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