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.008966/0.008966, allocations: 100.2 kB / 15.73 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.001653/0.001654, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003208/0.3142, allocations: 1.676 MB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.3165, allocations: 1.499 MB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3166, allocations: 3.938 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.317, allocations: 39.77 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.3173, allocations: 67.67 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.3176, allocations: 113.6 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3179, allocations: 135.5 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.3179, allocations: 17.05 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3181, allocations: 51.78 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.3183, allocations: 55.75 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3183, allocations: 4 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3184, allocations: 67.97 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.3185, allocations: 23.86 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.3186, allocations: 43.73 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3189, allocations: 151.8 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3189, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3189, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3189, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 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.0006731/0.3196, allocations: 438.9 kB / 1.212 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3196, allocations: 16.61 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.3197, allocations: 38.75 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.3197, allocations: 12.75 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3201, allocations: 225.3 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3201, allocations: 4.359 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3201, allocations: 7.938 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3204, allocations: 101.1 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3204, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3204, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3204, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3206, allocations: 55.89 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.3208, allocations: 211.4 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.3211, allocations: 115.7 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3212, allocations: 50.61 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3213, allocations: 7.938 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3215, allocations: 105.9 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3215, allocations: 0 / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004915/0.322, allocations: 169.5 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.3221, allocations: 136.5 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3223, allocations: 174.9 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3223, allocations: 25.7 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.3224, allocations: 104.1 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3224, allocations: 23.7 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3225, allocations: 21.72 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3226, allocations: 330.9 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3227, allocations: 27.97 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3229, allocations: 68.2 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.3231, allocations: 95.38 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3231, allocations: 7.875 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003116/0.3234, allocations: 137.3 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3235, allocations: 4 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3235, allocations: 8.094 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3235, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3236, allocations: 19.98 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3236, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.3237, allocations: 16.25 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3237, allocations: 7.984 kB / 1.214 GB, free: 3.113 MB / 0.9669 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.0001202/0.3239, allocations: 129.7 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3239, allocations: 11.81 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.324, allocations: 33.38 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.324, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.324, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.324, allocations: 4 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3242, allocations: 201.5 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3242, allocations: 7.984 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.3243, allocations: 11.98 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3243, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3243, allocations: 0 / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3243, allocations: 0 / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3243, allocations: 4 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3246, allocations: 170.6 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.3247, allocations: 88.92 kB / 1.214 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3247, allocations: 3.984 kB / 1.214 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3248, allocations: 8 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3249, allocations: 11.98 kB / 1.214 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3249, allocations: 4 kB / 1.214 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001157/0.325, allocations: 135.2 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.325, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002522/0.3253, allocations: 24 kB / 1.215 GB, free: 2.172 MB / 0.9669 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.001579/0.3269, allocations: 1.057 MB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.3272, allocations: 87.88 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3272, allocations: 0 / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3273, allocations: 47.91 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3276, allocations: 25.05 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3297, allocations: 1.69 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.33, allocations: 0.7118 MB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.604e-05/0.3301, allocations: 36.7 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.3302, allocations: 43.34 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3302, allocations: 0 / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3531, allocations: 3.908 MB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.381, allocations: 7.281 kB / 1.222 GB, free: 10.66 MB / 0.9825 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) "" Variables in the reference:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y Variables in the result:combiTimeTable.columns[1],combiTimeTable.columns[2],combiTimeTable.extrapolation,combiTimeTable.nout,combiTimeTable.offset[1],combiTimeTable.shiftTime,combiTimeTable.smoothness,combiTimeTable.startTime,combiTimeTable.t_max,combiTimeTable.t_maxScaled,combiTimeTable.t_min,combiTimeTable.t_minScaled,combiTimeTable.tableOnFile,combiTimeTable.timeEvents,combiTimeTable.timeScale,combiTimeTable.verboseExtrapolation,combiTimeTable.verboseRead,combiTimeTable.y[1],combiTimeTable.y[2],cos.amplitude,cos.f,cos.offset,cos.phase,cos.startTime,cos.y,step.height,step.offset,step.startTime,step.y,time