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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00115/0.00115, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 68.2 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3307, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.0032/0.334, allocations: 1.755 MB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3361, allocations: 1.475 MB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.3362, allocations: 3.938 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3365, allocations: 31.91 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3367, allocations: 55.77 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.337, allocations: 99.77 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3372, allocations: 119.6 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.3373, allocations: 9.109 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3374, allocations: 55.72 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.3376, allocations: 47.77 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3376, allocations: 4 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3378, allocations: 63.95 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.3378, allocations: 19.92 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.3379, allocations: 43.67 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3381, allocations: 147.8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3382, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3382, allocations: 3.938 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3382, allocations: 4 kB / 1.056 GB, free: 4.906 MB / 0.8106 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.0007315/0.3389, allocations: 434.9 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.339, allocations: 8.031 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.339, allocations: 12.84 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3393, allocations: 224.5 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3394, allocations: 384 / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3394, allocations: 12.12 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3397, allocations: 101 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3397, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3397, allocations: 8 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3397, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3399, allocations: 51.89 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3402, allocations: 207.4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3405, allocations: 115.8 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3407, allocations: 50.56 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3407, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.3411, allocations: 117.9 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3411, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.3416, allocations: 161.5 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.3417, allocations: 136.8 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3419, allocations: 178.4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3419, allocations: 29.64 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.342, allocations: 100.1 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.3421, allocations: 27.69 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3421, allocations: 21.72 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3423, allocations: 326.8 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3424, allocations: 35.97 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3425, allocations: 60.27 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3428, allocations: 95.38 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3428, allocations: 0 / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000312/0.3431, allocations: 137.3 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3431, allocations: 7.938 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3431, allocations: 4 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3431, allocations: 0 / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3433, allocations: 32.02 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3433, allocations: 192 / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.3434, allocations: 15.92 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3434, allocations: 7.938 kB / 1.059 GB, free: 1.922 MB / 0.8106 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 9.789e-05/0.3435, allocations: 125.8 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3435, allocations: 11.81 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.3436, allocations: 21.39 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3436, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3436, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3436, allocations: 4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3438, allocations: 201.5 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3438, allocations: 4 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3439, allocations: 15.92 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3439, allocations: 4.312 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3439, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.3439, allocations: 4 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3439, allocations: 4 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3443, allocations: 170.5 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3443, allocations: 92.98 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3443, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3444, allocations: 11.94 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3445, allocations: 7.984 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3445, allocations: 8 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3446, allocations: 136.2 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3446, allocations: 0 / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002612/0.3449, allocations: 28 kB / 1.059 GB, free: 0.9883 MB / 0.8106 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.001122/0.346, allocations: 454.9 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.3463, allocations: 79.89 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3463, allocations: 0 / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3465, allocations: 43.91 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3468, allocations: 36.17 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.3474, allocations: 262.8 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3477, allocations: 0.7043 MB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.3478, allocations: 28.78 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3478, allocations: 23.42 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3478, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004829/0.3527, allocations: 1.922 MB / 1.063 GB, free: 13.59 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches