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.001178/0.001178, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001456/0.001456, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.342/2.342, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8545, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002924/0.8575, allocations: 1.688 MB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.8596, allocations: 1.503 MB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.8597, allocations: 5.312 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.8601, allocations: 43.88 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.8604, allocations: 61.59 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.8607, allocations: 118.7 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.8609, allocations: 127.7 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/0.861, allocations: 12.44 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.8611, allocations: 56.56 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006865/0.8618, allocations: 49.09 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.8618, allocations: 6.219 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.862, allocations: 64.7 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.8621, allocations: 25.91 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.8621, allocations: 45.44 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.8624, allocations: 148.2 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8624, allocations: 1.547 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8624, allocations: 0 / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8625, allocations: 0 / 1.092 GB, free: 2.922 MB / 0.8575 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.0005954/0.8631, allocations: 440.7 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8631, allocations: 10.27 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.8632, allocations: 10.62 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.8634, allocations: 225.5 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.8635, allocations: 5.969 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8635, allocations: 7.047 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.8637, allocations: 95.92 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8638, allocations: 0 / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.8638, allocations: 1.156 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8638, allocations: 1.531 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.864, allocations: 54.72 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.8642, allocations: 207.3 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.8644, allocations: 116 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8646, allocations: 51.36 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.8646, allocations: 6.828 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.8648, allocations: 115.9 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.8648, allocations: 3.938 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004876/0.8653, allocations: 163.8 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.8654, allocations: 134.5 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.8656, allocations: 186 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.8656, allocations: 27.64 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.8656, allocations: 104.1 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.8657, allocations: 25.73 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.8657, allocations: 24.12 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.8658, allocations: 322 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.8659, allocations: 30.41 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.866, allocations: 72.97 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.8662, allocations: 92.75 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8662, allocations: 4.828 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002947/0.8665, allocations: 137.7 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8666, allocations: 5.906 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8666, allocations: 1.422 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8666, allocations: 1.594 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8667, allocations: 20.19 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8667, allocations: 2.391 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.8668, allocations: 15.38 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.8668, allocations: 7.969 kB / 1.095 GB, free: 0.668 MB / 0.8575 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.069e-05/0.8669, allocations: 128.2 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.867, allocations: 10.69 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.867, allocations: 20.7 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.867, allocations: 1.438 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.867, allocations: 1.25 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8671, allocations: 1.594 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.8672, allocations: 209.5 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8672, allocations: 1.156 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.8673, allocations: 13.25 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8673, allocations: 1.531 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.8673, allocations: 3.719 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8673, allocations: 1.656 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8673, allocations: 0.6875 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.8677, allocations: 174.1 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.8677, allocations: 90.12 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.8677, allocations: 6.125 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.8678, allocations: 8.141 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.8679, allocations: 10.89 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.8679, allocations: 4.891 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001319/0.8681, allocations: 135.2 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8681, allocations: 0 / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002611/0.8683, allocations: 31.56 kB / 1.096 GB, free: 15.98 MB / 0.8731 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.00105/0.8694, allocations: 455.4 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.8697, allocations: 85.08 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8697, allocations: 0 / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8699, allocations: 43.77 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.8702, allocations: 41.47 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.8707, allocations: 267.5 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.871, allocations: 0.7054 MB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.8711, allocations: 24.39 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8711, allocations: 0 / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.005024/0.8761, allocations: 2.19 MB / 1.1 GB, free: 14.55 MB / 0.8731 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/jenkins1/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