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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 60.75 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2932, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003468/0.2967, allocations: 1.676 MB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2989, allocations: 1.514 MB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.2991, allocations: 3.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.2994, allocations: 35.77 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.2996, allocations: 59.69 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.3, allocations: 115.6 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.3003, allocations: 131.5 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.3003, allocations: 17.09 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.3005, allocations: 59.77 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3007, allocations: 43.78 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3007, allocations: 8 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3009, allocations: 63.95 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.301, allocations: 27.86 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.301, allocations: 43.72 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.3013, allocations: 147.8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3013, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3013, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3013, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 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.0006106/0.302, allocations: 438.9 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.302, allocations: 12.03 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3021, allocations: 8.844 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3023, allocations: 224.4 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3023, allocations: 8.375 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3024, allocations: 8.125 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3026, allocations: 101.1 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3026, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3026, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3027, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3028, allocations: 51.89 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.3031, allocations: 211.4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.3033, allocations: 115.8 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3035, allocations: 54.56 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3035, allocations: 7.984 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.3038, allocations: 109.9 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3038, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004775/0.3043, allocations: 161.4 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.3044, allocations: 136.5 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3045, allocations: 174.9 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3046, allocations: 37.64 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.3046, allocations: 100.1 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3047, allocations: 27.95 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3047, allocations: 29.7 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3048, allocations: 318.8 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.305, allocations: 31.98 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3051, allocations: 60.27 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3053, allocations: 99.36 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3053, allocations: 0 / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002989/0.3056, allocations: 141.4 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3057, allocations: 7.938 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3057, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3057, allocations: 4 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3058, allocations: 19.98 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3058, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.3059, allocations: 19.83 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.3059, allocations: 320 / 1.075 GB, free: 3.461 MB / 0.8262 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.000106/0.306, allocations: 129.8 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3061, allocations: 19.89 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.3061, allocations: 13.41 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3061, allocations: 7.938 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3061, allocations: 0 / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3062, allocations: 0 / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3063, allocations: 205.5 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3063, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.3064, allocations: 15.98 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3064, allocations: 3.984 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3064, allocations: 15.98 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3065, allocations: 0 / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3065, allocations: 0 / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3068, allocations: 166.6 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3068, allocations: 88.92 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3069, allocations: 12 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.307, allocations: 7.984 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.307, allocations: 4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.307, allocations: 7.984 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3072, allocations: 132.4 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3072, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002497/0.3074, allocations: 39.92 kB / 1.075 GB, free: 2.504 MB / 0.8262 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.0009607/0.3084, allocations: 443.3 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.3087, allocations: 91.88 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3087, allocations: 4.188 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3089, allocations: 43.91 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3091, allocations: 44.84 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.3096, allocations: 240.8 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.3099, allocations: 0.7002 MB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.437e-05/0.31, allocations: 28.84 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.31, allocations: 15.44 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.31, allocations: 0 / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.004783/0.3148, allocations: 2.037 MB / 1.079 GB, free: 15.01 MB / 0.8419 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