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.001946/0.001946, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002462/0.002462, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.459/1.459, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.671/2.671, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.037e-05, allocations: 6.734 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003464/0.003494, allocations: 1.697 MB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.006702, allocations: 1.74 MB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.006806, allocations: 1.906 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.007128, allocations: 51.58 kB / 0.7898 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.007597, allocations: 103.4 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.007903, allocations: 95.58 kB / 0.79 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.00818, allocations: 148.2 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.008229, allocations: 5.641 kB / 0.7901 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.008478, allocations: 84.48 kB / 0.7902 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.008687, allocations: 46.66 kB / 0.7902 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.008716, allocations: 8 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.008955, allocations: 111.8 kB / 0.7904 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.009021, allocations: 27.86 kB / 0.7904 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.009092, allocations: 33.31 kB / 0.7904 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.009518, allocations: 211.3 kB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009521, allocations: 0 / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009522, allocations: 1.062 kB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.009527, allocations: 0 / 0.7906 GB, free: 8.457 MB / 0.7448 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.0007715/0.0103, allocations: 390.7 kB / 0.791 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01034, allocations: 12.02 kB / 0.791 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.01053, allocations: 24.84 kB / 0.791 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.0109, allocations: 168 kB / 0.7912 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.01092, allocations: 12.36 kB / 0.7912 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.01093, allocations: 384 / 0.7912 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.01124, allocations: 127.3 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01125, allocations: 5.531 kB / 0.7913 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.01126, allocations: 3.984 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.01127, allocations: 0 / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.01148, allocations: 57.64 kB / 0.7914 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.01174, allocations: 155.1 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01208, allocations: 118.2 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.01222, allocations: 46.62 kB / 0.7917 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.01224, allocations: 3.984 kB / 0.7917 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.01253, allocations: 125.8 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.01253, allocations: 0.625 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006194/0.01315, allocations: 179.2 kB / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.01325, allocations: 133.7 kB / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01351, allocations: 196.7 kB / 0.7923 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01353, allocations: 25.7 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.01362, allocations: 109.5 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.01366, allocations: 23.84 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.01372, allocations: 25.72 kB / 0.7925 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01391, allocations: 326.8 kB / 0.7928 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.01404, allocations: 33.67 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01421, allocations: 94.22 kB / 0.7929 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.01447, allocations: 104.9 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01447, allocations: 0.5 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003645/0.01484, allocations: 147.4 kB / 0.7931 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01485, allocations: 4 kB / 0.7932 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01486, allocations: 10.09 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01488, allocations: 0 / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01503, allocations: 19.98 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01503, allocations: 0 / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.01512, allocations: 15.92 kB / 0.7932 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01514, allocations: 8.531 kB / 0.7932 GB, free: 5.543 MB / 0.7448 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.0001281/0.01527, allocations: 122.5 kB / 0.7933 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.01532, allocations: 23.89 kB / 0.7933 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.01562, allocations: 119.6 kB / 0.7935 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01562, allocations: 5.594 kB / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01562, allocations: 0 / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01563, allocations: 0 / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.01582, allocations: 153.2 kB / 0.7936 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01583, allocations: 0.9062 kB / 0.7936 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.01592, allocations: 23.92 kB / 0.7936 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01592, allocations: 0.8438 kB / 0.7936 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01594, allocations: 0 / 0.7936 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.01594, allocations: 13.2 kB / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01595, allocations: 0 / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.01635, allocations: 179.2 kB / 0.7938 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.01639, allocations: 20.64 kB / 0.7938 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.01642, allocations: 4.047 kB / 0.7938 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.01651, allocations: 13.62 kB / 0.7939 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.01657, allocations: 11.98 kB / 0.7939 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.01659, allocations: 7.984 kB / 0.7939 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001802/0.01677, allocations: 156.3 kB / 0.794 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01677, allocations: 0.875 kB / 0.794 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003034/0.01707, allocations: 47.81 kB / 0.7941 GB, free: 4.598 MB / 0.7448 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.002289/0.01936, allocations: 0.5426 MB / 0.7946 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.01969, allocations: 88.81 kB / 0.7947 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01969, allocations: 1.125 kB / 0.7947 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01986, allocations: 48.53 kB / 0.7947 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.02017, allocations: 42.02 kB / 0.7948 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.02075, allocations: 264.1 kB / 0.795 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.02086, allocations: 93.31 kB / 0.7951 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.702e-05/0.02095, allocations: 24.89 kB / 0.7951 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.02101, allocations: 32.48 kB / 0.7952 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.02101, allocations: 0 / 0.7952 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.006816/0.02783, allocations: 2.661 MB / 0.7978 GB, free: 1.043 MB / 0.7448 GB " [Timeout remaining time 300] 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: 7.42906299198512]