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.001323/0.001323, allocations: 108 kB / 16.41 MB, free: 6.027 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.001263/0.001263, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.382/1.382, 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.457/2.457, allocations: 390.3 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 64.08 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7426, allocations: 140.4 MB / 1.089 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002925/0.7456, allocations: 1.676 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.7475, allocations: 1.509 MB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.7476, allocations: 5.094 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.7479, allocations: 40.47 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.7482, allocations: 65.12 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.7485, allocations: 114.8 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.7487, allocations: 128.6 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.7488, allocations: 11.14 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.7489, allocations: 54.28 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.7491, allocations: 54.39 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.7492, allocations: 6.438 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.7493, allocations: 64.5 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.7494, allocations: 29.67 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.7495, allocations: 41.77 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.7497, allocations: 146.5 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7498, allocations: 0.8438 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7498, allocations: 3.938 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7498, allocations: 0 / 1.092 GB, free: 3.211 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.0005976/0.7504, allocations: 443.4 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7504, allocations: 9.734 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.7505, allocations: 9.906 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.7508, allocations: 226 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.7508, allocations: 2.844 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.7508, allocations: 13.61 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.751, allocations: 95.95 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7511, allocations: 1.219 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.7511, allocations: 4.75 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.7511, allocations: 1.781 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.7513, allocations: 50.95 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.7515, allocations: 206.8 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.7517, allocations: 112 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7519, allocations: 60 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.7519, allocations: 2.734 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.7521, allocations: 111.1 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.993e-06/0.7521, allocations: 1.062 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005005/0.7526, allocations: 166.9 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.7527, allocations: 135.4 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.7529, allocations: 181.5 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.7529, allocations: 26.98 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.7529, allocations: 103.5 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.753, allocations: 26.66 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.753, allocations: 26.91 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.7531, allocations: 328 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.7532, allocations: 29.97 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.7533, allocations: 61.62 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.7535, allocations: 95.89 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7535, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002868/0.7538, allocations: 134 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7538, allocations: 9.969 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7539, allocations: 1.609 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7539, allocations: 1.438 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.754, allocations: 24.16 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.754, allocations: 1.781 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.7541, allocations: 12.58 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.7541, allocations: 7.188 kB / 1.095 GB, free: 0.9609 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.376e-05/0.7542, allocations: 128.4 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.7543, allocations: 14.61 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.7543, allocations: 20.95 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7543, allocations: 1.656 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.7543, allocations: 1.297 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7543, allocations: 2 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.7545, allocations: 209.6 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7545, allocations: 4.703 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.7546, allocations: 13.84 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7546, allocations: 1.094 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7546, allocations: 2.469 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7546, allocations: 5.891 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7546, allocations: 1.062 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.7549, allocations: 170.8 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.755, allocations: 84.97 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.755, allocations: 7.203 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.7551, allocations: 16.03 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.7552, allocations: 6.406 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.7552, allocations: 4.828 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001062/0.7553, allocations: 131.9 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7553, allocations: 0 / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002564/0.7556, allocations: 31.84 kB / 1.096 GB, free: 272 kB / 0.8575 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.001011/0.7566, allocations: 446.7 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.7569, allocations: 82.11 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7569, allocations: 5.031 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.757, allocations: 43.48 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.7573, allocations: 46.64 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.7579, allocations: 271.4 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.7582, allocations: 0.7101 MB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.7583, allocations: 20.61 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.7583, allocations: 0 / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.005099/0.7634, allocations: 2.196 MB / 1.1 GB, free: 14.83 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