Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 68.14 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003324/0.318, allocations: 1.73 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3208, allocations: 1.798 MB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.3208, allocations: 7.938 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.3211, allocations: 43.77 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.3215, allocations: 103.5 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3217, allocations: 95.64 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3219, allocations: 139.5 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.322, allocations: 5.641 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3222, allocations: 79.69 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3223, allocations: 55.77 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3224, allocations: 12 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.3226, allocations: 119.8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.3226, allocations: 19.92 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.3227, allocations: 51.72 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3231, allocations: 206.7 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3231, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3231, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3231, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 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.0008664/0.324, allocations: 398.7 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.324, allocations: 12.03 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3241, allocations: 38.75 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.3243, allocations: 24.83 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3247, allocations: 167.1 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3247, allocations: 4.375 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3247, allocations: 7.938 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.325, allocations: 109 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.325, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.325, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.325, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.3252, allocations: 51.89 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.3255, allocations: 194.5 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.3258, allocations: 119.7 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.326, allocations: 46.62 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.326, allocations: 4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.3263, allocations: 105.9 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3263, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005435/0.3268, allocations: 169.5 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.3269, allocations: 128.5 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3272, allocations: 195.8 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3272, allocations: 25.7 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3273, allocations: 108.1 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3273, allocations: 19.86 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.3274, allocations: 29.95 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3276, allocations: 322.8 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3277, allocations: 35.97 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3278, allocations: 56.28 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.328, allocations: 103.6 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.328, allocations: 3.938 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.3284, allocations: 133.6 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3284, allocations: 8 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3284, allocations: 0 / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3284, allocations: 4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3285, allocations: 27.91 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3285, allocations: 0 / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.3286, allocations: 16.08 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3286, allocations: 7.938 kB / 1.29 GB, free: 4.344 MB / 0.9825 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.0001256/0.3287, allocations: 133.7 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3288, allocations: 15.91 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.329, allocations: 111 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3291, allocations: 0 / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3291, allocations: 4 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3291, allocations: 0 / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3293, allocations: 184.6 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3293, allocations: 0 / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.3293, allocations: 12 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3293, allocations: 0 / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3293, allocations: 7.984 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3293, allocations: 4 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3293, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3297, allocations: 174.7 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3298, allocations: 11.91 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3298, allocations: 8 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.3299, allocations: 7.984 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.3299, allocations: 11.98 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3299, allocations: 4 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001455/0.3301, allocations: 149.1 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3301, allocations: 0 / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.3304, allocations: 47.86 kB / 1.291 GB, free: 3.383 MB / 0.9825 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002319/0.3327, allocations: 1.105 MB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.333, allocations: 79.95 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.333, allocations: 0 / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.3331, allocations: 43.91 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3334, allocations: 29.69 kB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3357, allocations: 1.756 MB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.336, allocations: 0.7041 MB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.574e-05/0.3361, allocations: 20.62 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.3362, allocations: 47.41 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3362, allocations: 4 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3696, allocations: 4.539 MB / 1.299 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.19, allocations: 15.38 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.010183472999415]