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.001592/0.001592, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001765/0.001765, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.009/3.009, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [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.002126/0.002126, allocations: 67.44 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003266/0.3094, allocations: 1.695 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3122, allocations: 1.716 MB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.3123, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3125, allocations: 47.64 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.3129, allocations: 111.5 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3132, allocations: 95.58 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3134, allocations: 143.5 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.3134, allocations: 5.641 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3136, allocations: 67.77 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3138, allocations: 51.7 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3138, allocations: 8 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.314, allocations: 115.9 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.3141, allocations: 19.92 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.3142, allocations: 39.78 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.3145, allocations: 211.2 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3145, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3145, allocations: 3.938 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3145, allocations: 0 / 1.287 GB, free: 7.605 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.0007029/0.3152, allocations: 389.2 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3153, allocations: 12.02 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.3154, allocations: 20.84 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3157, allocations: 167.1 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3157, allocations: 4.375 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3158, allocations: 8.125 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.316, allocations: 126.7 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.316, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.316, allocations: 3.984 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.316, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3162, allocations: 55.89 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.3165, allocations: 159.1 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.3167, allocations: 119.7 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3169, allocations: 50.62 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3169, allocations: 0 / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.3171, allocations: 125.8 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3171, allocations: 3.938 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.3177, allocations: 173.5 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.3178, allocations: 132.5 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.318, allocations: 199.8 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.318, allocations: 25.7 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.3181, allocations: 108.1 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.3181, allocations: 23.84 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3182, allocations: 25.66 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3183, allocations: 326.8 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3184, allocations: 40.22 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3186, allocations: 89.97 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3188, allocations: 99.33 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3188, allocations: 4 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003231/0.3191, allocations: 141.8 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3192, allocations: 4 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3192, allocations: 4 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3192, allocations: 0 / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3193, allocations: 27.92 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3193, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.3194, allocations: 23.88 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3194, allocations: 4 kB / 1.29 GB, free: 4.676 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.0001105/0.3195, allocations: 123.7 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.3196, allocations: 23.83 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3198, allocations: 123 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3198, allocations: 4 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3198, allocations: 0 / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3199, allocations: 0 / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.32, allocations: 145.3 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.32, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.3201, allocations: 19.98 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3201, allocations: 7.938 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3201, allocations: 4 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3201, allocations: 3.938 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3201, allocations: 7.984 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3205, allocations: 182.8 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3205, allocations: 23.84 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3206, allocations: 0 / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.3206, allocations: 11.98 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3207, allocations: 15.92 kB / 1.29 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3207, allocations: 8 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001562/0.3209, allocations: 157.1 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3209, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002878/0.3211, allocations: 43.88 kB / 1.291 GB, free: 3.711 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 (10): * Single equations (assignments): 8 * 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.001975/0.3231, allocations: 0.5335 MB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.3234, allocations: 91.88 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3234, allocations: 0 / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3236, allocations: 52.09 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3239, allocations: 31.92 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.3246, allocations: 257.4 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3247, allocations: 101 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.3248, allocations: 21.09 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.3248, allocations: 23.42 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3248, allocations: 0 / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.00728/0.3321, allocations: 2.706 MB / 1.294 GB, free: 124 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/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: 8.968088133260608]