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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.134 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003283/1.055, allocations: 1.689 MB / 1.306 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002394/1.057, allocations: 1.52 MB / 1.307 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/1.057, allocations: 8.938 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/1.058, allocations: 41.16 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/1.058, allocations: 61 kB / 1.307 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/1.058, allocations: 112.1 kB / 1.307 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000201/1.058, allocations: 131.2 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/1.059, allocations: 5.719 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/1.059, allocations: 62.06 kB / 1.307 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/1.059, allocations: 56.56 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/1.059, allocations: 6.188 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/1.059, allocations: 59.89 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/1.059, allocations: 26.33 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/1.059, allocations: 45.5 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/1.059, allocations: 149.9 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.059, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/1.059, allocations: 0.6562 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.059, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 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.0006906/1.06, allocations: 445.2 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.06, allocations: 9.719 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/1.06, allocations: 37.06 kB / 1.308 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/1.06, allocations: 14.44 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/1.061, allocations: 225 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/1.061, allocations: 2.078 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/1.061, allocations: 6.281 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/1.061, allocations: 103.7 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.061, allocations: 1 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.061, allocations: 5.219 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.061, allocations: 4.547 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/1.061, allocations: 52.38 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/1.061, allocations: 213.8 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/1.062, allocations: 113.9 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.062, allocations: 46.89 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/1.062, allocations: 10.03 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/1.062, allocations: 107.8 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/1.062, allocations: 0 / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004875/1.063, allocations: 168.9 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/1.063, allocations: 133.8 kB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/1.063, allocations: 175.1 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.063, allocations: 31.05 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/1.063, allocations: 100.3 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/1.063, allocations: 22.55 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/1.063, allocations: 30.86 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.063, allocations: 326.1 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/1.063, allocations: 31.27 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/1.063, allocations: 60.42 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/1.064, allocations: 96.58 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.064, allocations: 5.125 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003209/1.064, allocations: 137.8 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.064, allocations: 11.98 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.064, allocations: 1.469 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.064, allocations: 1.094 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.064, allocations: 21.22 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.064, allocations: 1.906 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/1.064, allocations: 11.25 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.064, allocations: 4.719 kB / 1.31 GB, free: 10.75 MB / 1.014 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.0001298/1.064, allocations: 135.6 kB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/1.064, allocations: 19.34 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/1.064, allocations: 16.14 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.064, allocations: 2.5 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.064, allocations: 4 kB / 1.311 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.064, allocations: 1.906 kB / 1.311 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/1.065, allocations: 202 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.065, allocations: 4.734 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/1.065, allocations: 13.58 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.065, allocations: 1.188 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.065, allocations: 7.359 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.065, allocations: 6.078 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.065, allocations: 3.984 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/1.065, allocations: 171.5 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/1.065, allocations: 85.84 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/1.065, allocations: 10.55 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/1.065, allocations: 7.266 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/1.065, allocations: 7.672 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.065, allocations: 4.5 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001353/1.066, allocations: 139.2 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.066, allocations: 0 / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000258/1.066, allocations: 31.34 kB / 1.311 GB, free: 10.03 MB / 1.014 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.002323/1.068, allocations: 1.059 MB / 1.312 GB, free: 9.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003253/1.068, allocations: 79.59 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.068, allocations: 0 / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/1.069, allocations: 42.75 kB / 1.312 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/1.069, allocations: 32.83 kB / 1.312 GB, free: 9.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/1.071, allocations: 1.696 MB / 1.314 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/1.072, allocations: 0.7063 MB / 1.315 GB, free: 7.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.052e-05/1.072, allocations: 27.77 kB / 1.315 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/1.072, allocations: 47.98 kB / 1.315 GB, free: 7.113 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.072, allocations: 0 / 1.315 GB, free: 7.113 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/1.099, allocations: 3.888 MB / 1.319 GB, free: 5.168 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/9.643, allocations: 11.73 kB / 1.319 GB, free: 5.16 MB / 1.014 GB " [Timeout remaining time 290] (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 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.944068170152605]