Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001353/0.001353, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001304/0.001305, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 69.41 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3037, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003149/0.3068, allocations: 1.735 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3091, allocations: 1.479 MB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.3092, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3095, allocations: 35.83 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.3098, allocations: 55.77 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.3101, allocations: 102.2 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3103, allocations: 127.6 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3103, allocations: 9.125 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3105, allocations: 59.7 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3107, allocations: 51.77 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3107, allocations: 8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3109, allocations: 63.91 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.3109, allocations: 27.91 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.311, allocations: 43.67 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3112, allocations: 112.1 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3112, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3112, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3112, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 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.0006868/0.3119, allocations: 438.9 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3119, allocations: 12.62 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.312, allocations: 12.84 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3123, allocations: 219.9 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3123, allocations: 4.375 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3123, allocations: 4.125 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3126, allocations: 101.1 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3126, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3127, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3127, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.3129, allocations: 59.88 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.3131, allocations: 211.4 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3134, allocations: 111.8 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3136, allocations: 54.55 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3136, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.3139, allocations: 113.9 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3139, allocations: 4 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005065/0.3144, allocations: 161.4 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.3145, allocations: 132.5 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3147, allocations: 176.6 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3147, allocations: 25.95 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3148, allocations: 112.1 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3149, allocations: 23.7 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3149, allocations: 21.72 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3151, allocations: 322.8 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3152, allocations: 31.97 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3153, allocations: 68.22 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.3156, allocations: 95.33 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3156, allocations: 3.938 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003266/0.3159, allocations: 137.4 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3159, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3159, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.316, allocations: 7.984 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3161, allocations: 20.3 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3161, allocations: 0 / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.3162, allocations: 15.84 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3162, allocations: 12.09 kB / 1.071 GB, free: 8.184 MB / 0.8419 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 0.0001235/0.3163, allocations: 132.2 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.3164, allocations: 11.91 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.3164, allocations: 25.38 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3164, allocations: 4 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.3165, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3165, allocations: 0 / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3167, allocations: 201.5 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3167, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.3168, allocations: 19.98 kB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3168, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3168, allocations: 4 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3168, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3168, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3172, allocations: 178.5 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3172, allocations: 85.02 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3173, allocations: 4 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3173, allocations: 7.984 kB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.3174, allocations: 11.98 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3174, allocations: 4 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001356/0.3176, allocations: 136.2 kB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3176, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002464/0.3178, allocations: 32 kB / 1.071 GB, free: 7.246 MB / 0.8419 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.001582/0.3194, allocations: 462.9 kB / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.3197, allocations: 95.81 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3197, allocations: 0 / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3199, allocations: 35.98 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3202, allocations: 35.91 kB / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.3207, allocations: 294.8 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3211, allocations: 0.7041 MB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.3211, allocations: 23.42 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3211, allocations: 0 / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.004494/0.3256, allocations: 2.202 MB / 1.075 GB, free: 3.531 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches