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.001236/0.001236, allocations: 111.9 kB / 15.99 MB, free: 5.91 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.00131/0.00131, allocations: 194.8 kB / 16.91 MB, free: 5.754 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.324/1.324, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7423 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 69.14 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003344/0.2946, allocations: 1.746 MB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2967, allocations: 1.479 MB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.2967, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2971, allocations: 39.83 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.2973, allocations: 55.77 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.2976, allocations: 91.83 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2978, allocations: 135.5 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.2979, allocations: 9.125 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.298, allocations: 55.77 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.2983, allocations: 51.72 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2983, allocations: 7.984 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2984, allocations: 63.97 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.2985, allocations: 19.92 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.2986, allocations: 51.66 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2988, allocations: 104.1 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2988, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2988, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2988, allocations: 4 kB / 1.068 GB, free: 11.47 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.0006158/0.2994, allocations: 438.9 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2995, allocations: 11.97 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.2995, allocations: 8.844 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2998, allocations: 224 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2998, allocations: 384 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.2998, allocations: 16.06 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3001, allocations: 97.08 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3001, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3001, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3001, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3003, allocations: 47.95 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.3005, allocations: 211.4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.3008, allocations: 111.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3009, allocations: 58.5 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3009, allocations: 11.97 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.3012, allocations: 102 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3012, allocations: 4 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004472/0.3017, allocations: 165.3 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3017, allocations: 132.5 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3019, allocations: 176.9 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3019, allocations: 29.7 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.302, allocations: 104.4 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.302, allocations: 19.72 kB / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.3021, allocations: 25.7 kB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3022, allocations: 326.8 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.3023, allocations: 27.98 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3024, allocations: 72.2 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3027, allocations: 83.41 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3027, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002827/0.303, allocations: 141.7 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.303, allocations: 9.969 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.303, allocations: 8 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.303, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3032, allocations: 23.98 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3032, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.3032, allocations: 19.83 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3033, allocations: 4 kB / 1.07 GB, free: 8.492 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.0001085/0.3034, allocations: 138.1 kB / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3034, allocations: 11.89 kB / 1.07 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.3035, allocations: 17.41 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3035, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3035, allocations: 192 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3035, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3037, allocations: 209.5 kB / 1.07 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3037, allocations: 0 / 1.07 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.3038, allocations: 11.98 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3038, allocations: 8 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3038, allocations: 0 / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3038, allocations: 7.984 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3038, allocations: 0 / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.3041, allocations: 170.5 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.3042, allocations: 89.02 kB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3042, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3043, allocations: 15.98 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3043, allocations: 4 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3044, allocations: 3.984 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001118/0.3045, allocations: 136.2 kB / 1.071 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3045, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002411/0.3047, allocations: 27.98 kB / 1.071 GB, free: 7.559 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.001036/0.3058, allocations: 467.2 kB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3061, allocations: 84.02 kB / 1.071 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3061, allocations: 0 / 1.071 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3062, allocations: 43.91 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3065, allocations: 38.08 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.307, allocations: 298.7 kB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3072, allocations: 0.708 MB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.3073, allocations: 19.44 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3073, allocations: 3.938 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.003856/0.3112, allocations: 2.192 MB / 1.075 GB, free: 3.84 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/jenkins1/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