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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008285, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005921/0.005921, allocations: 175.3 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8049, allocations: 142.4 MB / 0.955 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00202/0.807, allocations: 1.384 MB / 0.9564 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.8092, allocations: 1.451 MB / 0.9578 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.8093, allocations: 5.312 kB / 0.9578 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.8096, allocations: 31.86 kB / 0.9578 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.8099, allocations: 54.17 kB / 0.9579 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.8101, allocations: 101.8 kB / 0.958 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.8104, allocations: 117.8 kB / 0.9581 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.8104, allocations: 18.62 kB / 0.9581 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.8106, allocations: 53.53 kB / 0.9582 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.8108, allocations: 50.08 kB / 0.9582 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.8108, allocations: 7.125 kB / 0.9582 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.811, allocations: 57.75 kB / 0.9583 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.811, allocations: 27.16 kB / 0.9583 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.8111, allocations: 68.23 kB / 0.9584 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.8114, allocations: 137.4 kB / 0.9585 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8114, allocations: 1.125 kB / 0.9585 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8114, allocations: 0 / 0.9585 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8114, allocations: 3.938 kB / 0.9585 GB, free: 5.285 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.0006471/0.812, allocations: 428.8 kB / 0.9589 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8121, allocations: 9.625 kB / 0.9589 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.8122, allocations: 14.25 kB / 0.9589 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.8124, allocations: 217.9 kB / 0.9592 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.8124, allocations: 9.688 kB / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.8125, allocations: 6.875 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.8127, allocations: 100.6 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8127, allocations: 0 / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.8127, allocations: 5.375 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8127, allocations: 1.375 kB / 0.9593 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.8129, allocations: 62.27 kB / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.8132, allocations: 202.7 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.8134, allocations: 119.5 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.8135, allocations: 57.81 kB / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.8136, allocations: 13.34 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.8138, allocations: 112.1 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.8139, allocations: 0 / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000502/0.8144, allocations: 177.5 kB / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.8144, allocations: 135.5 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.8146, allocations: 176.1 kB / 0.9603 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.8146, allocations: 29.7 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.8147, allocations: 101.7 kB / 0.9604 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.8147, allocations: 35.66 kB / 0.9604 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.8147, allocations: 15.75 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.8148, allocations: 323 kB / 0.9608 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8149, allocations: 36.09 kB / 0.9608 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.8151, allocations: 68.95 kB / 0.9609 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8153, allocations: 107 kB / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8153, allocations: 0 / 0.961 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003177/0.8156, allocations: 143.8 kB / 0.9611 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.8157, allocations: 4.812 kB / 0.9611 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8157, allocations: 1.188 kB / 0.9611 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.8157, allocations: 6.312 kB / 0.9611 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.8159, allocations: 29.52 kB / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8159, allocations: 1.969 kB / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.816, allocations: 11.67 kB / 0.9612 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.816, allocations: 4.062 kB / 0.9612 GB, free: 2.844 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.8161, allocations: 130.2 kB / 0.9613 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.8161, allocations: 19.16 kB / 0.9613 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.8162, allocations: 18.27 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8162, allocations: 1 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8162, allocations: 1.25 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8162, allocations: 0.9375 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.8163, allocations: 209.2 kB / 0.9615 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8164, allocations: 1.375 kB / 0.9615 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.8164, allocations: 20.36 kB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8164, allocations: 1.375 kB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8165, allocations: 5.375 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8165, allocations: 1.375 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8165, allocations: 5.312 kB / 0.9616 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.8168, allocations: 177.9 kB / 0.9617 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.8169, allocations: 97.78 kB / 0.9618 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.8169, allocations: 2.031 kB / 0.9618 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.817, allocations: 11.42 kB / 0.9618 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.817, allocations: 11.39 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.8171, allocations: 3.812 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001114/0.8172, allocations: 133.1 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8172, allocations: 5.281 kB / 0.962 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002625/0.8174, allocations: 33.39 kB / 0.962 GB, free: 2.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.8185, allocations: 445.7 kB / 0.9624 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.8188, allocations: 91.83 kB / 0.9625 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8188, allocations: 0 / 0.9625 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.819, allocations: 52.94 kB / 0.9626 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.8193, allocations: 43.48 kB / 0.9626 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.8198, allocations: 262.2 kB / 0.9629 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.8199, allocations: 0.7094 MB / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.828e-05/0.82, allocations: 20.47 kB / 0.9636 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.8201, allocations: 16.59 kB / 0.9636 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8201, allocations: 4 kB / 0.9636 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of Templates: time 0.005153/0.8252, allocations: 1.908 MB / 0.9655 GB, free: 15.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches