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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 108 kB / 15.6 MB, free: 128 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.001678/0.001677, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 62.31 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003144/0.2573, allocations: 1.696 MB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2594, allocations: 1.499 MB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.2595, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2597, allocations: 43.77 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.2599, allocations: 67.62 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2602, allocations: 119.6 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.2604, allocations: 115.6 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.2604, allocations: 17.09 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2605, allocations: 55.72 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2607, allocations: 55.75 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2607, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.2608, allocations: 59.98 kB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.2609, allocations: 27.91 kB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.2609, allocations: 47.73 kB / 1.057 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2612, allocations: 159.7 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.2612, allocations: 0 / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.41e-07/0.2612, allocations: 0 / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2612, allocations: 3.938 kB / 1.057 GB, free: 4.312 MB / 0.8106 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.0004796/0.2617, allocations: 438.9 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.333e-05/0.2617, allocations: 8.625 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2617, allocations: 34.75 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2618, allocations: 12.84 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.262, allocations: 216 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.262, allocations: 4.375 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.262, allocations: 7.938 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.2622, allocations: 97.02 kB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-06/0.2622, allocations: 0 / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2622, allocations: 12 kB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-06/0.2622, allocations: 0 / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2624, allocations: 47.91 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.2626, allocations: 211.4 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.2628, allocations: 127.7 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.263, allocations: 42.62 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.263, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.2632, allocations: 121.9 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.2632, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004439/0.2637, allocations: 157.7 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.2638, allocations: 132.5 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2639, allocations: 180 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2639, allocations: 33.69 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.264, allocations: 100.1 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.264, allocations: 23.73 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.2641, allocations: 21.72 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.2642, allocations: 322.8 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.2643, allocations: 39.97 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2644, allocations: 60.27 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.2646, allocations: 95.38 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2647, allocations: 3.938 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002853/0.2649, allocations: 133.4 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.265, allocations: 9.656 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.265, allocations: 320 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.265, allocations: 4 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2651, allocations: 32.02 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2651, allocations: 192 / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.2652, allocations: 19.92 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2652, allocations: 3.938 kB / 1.059 GB, free: 1.285 MB / 0.8106 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 9.231e-05/0.2653, allocations: 125.8 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.2654, allocations: 15.81 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2654, allocations: 17.39 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2654, allocations: 4 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2654, allocations: 4 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2654, allocations: 0 / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2656, allocations: 205.5 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2656, allocations: 0 / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.2657, allocations: 19.92 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2657, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2657, allocations: 4 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2657, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2657, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.266, allocations: 174.5 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2661, allocations: 89 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.2661, allocations: 4 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.2662, allocations: 8 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.2662, allocations: 15.92 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2662, allocations: 4 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001047/0.2664, allocations: 131.2 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2664, allocations: 0 / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000237/0.2666, allocations: 32 kB / 1.06 GB, free: 356 kB / 0.8106 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.001391/0.268, allocations: 1.047 MB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2683, allocations: 91.88 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2683, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2684, allocations: 47.84 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2687, allocations: 31.67 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2705, allocations: 1.685 MB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2707, allocations: 0.7118 MB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.2708, allocations: 24.52 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.2709, allocations: 47.34 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2709, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.532/2.803, allocations: 3.761 MB / 1.067 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/11.67, allocations: 8.516 kB / 1.067 GB, free: 8.996 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > 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