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.001292/0.001292, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.001282/0.001282, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.642/2.642, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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: 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.0022/0.0022, allocations: 67.89 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2776, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003237/0.2808, allocations: 1.695 MB / 1.119 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2836, allocations: 1.714 MB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.2836, allocations: 7.938 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.2839, allocations: 39.77 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.2843, allocations: 111.5 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2846, allocations: 95.64 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.2848, allocations: 135.5 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.2848, allocations: 13.56 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.285, allocations: 75.7 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2852, allocations: 47.77 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2852, allocations: 8 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.2854, allocations: 107.9 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.2855, allocations: 35.84 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.2856, allocations: 35.8 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2859, allocations: 195.3 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2859, allocations: 3.938 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2859, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2859, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 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.0006765/0.2866, allocations: 409.1 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2866, allocations: 8.031 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2868, allocations: 24.83 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2871, allocations: 163.1 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2871, allocations: 8.344 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2871, allocations: 12.12 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.2874, allocations: 126.7 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2874, allocations: 0 / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2874, allocations: 8 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2874, allocations: 0 / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2876, allocations: 51.95 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.2878, allocations: 159.1 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.2881, allocations: 111.8 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.2882, allocations: 54.55 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2883, allocations: 4 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.2885, allocations: 113.9 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2885, allocations: 0 / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.289, allocations: 177.4 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.2891, allocations: 132.5 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2893, allocations: 200.1 kB / 1.123 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.2894, allocations: 29.69 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.2894, allocations: 104.1 kB / 1.123 GB, free: 12.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.2895, allocations: 23.84 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.2895, allocations: 29.7 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2897, allocations: 327.1 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2898, allocations: 27.98 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2899, allocations: 97.91 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2902, allocations: 99.64 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2902, allocations: 3.938 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003333/0.2905, allocations: 145.5 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2905, allocations: 8 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.2905, allocations: 0 / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2906, allocations: 0 / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2907, allocations: 20.17 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.2907, allocations: 4 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.2908, allocations: 19.81 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2908, allocations: 8.094 kB / 1.124 GB, free: 11.25 MB / 1.076 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.000117/0.2909, allocations: 129.8 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.291, allocations: 19.84 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.2912, allocations: 119.1 kB / 1.124 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2912, allocations: 4 kB / 1.124 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2912, allocations: 0 / 1.124 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2912, allocations: 0 / 1.124 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2914, allocations: 145.3 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2914, allocations: 0 / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.2915, allocations: 23.92 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2915, allocations: 7.938 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2915, allocations: 3.984 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.2915, allocations: 4 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2915, allocations: 0 / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.2919, allocations: 182.6 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2919, allocations: 19.78 kB / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.292, allocations: 7.984 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.2921, allocations: 12 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2921, allocations: 7.984 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2921, allocations: 15.98 kB / 1.125 GB, free: 10.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000161/0.2923, allocations: 152.3 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2923, allocations: 0 / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002919/0.2926, allocations: 47.88 kB / 1.125 GB, free: 10.29 MB / 1.076 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.001896/0.2945, allocations: 0.5319 MB / 1.126 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.2948, allocations: 87.94 kB / 1.126 GB, free: 9.883 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2948, allocations: 8.062 kB / 1.126 GB, free: 9.875 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2949, allocations: 47.91 kB / 1.126 GB, free: 9.828 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.2952, allocations: 36.61 kB / 1.126 GB, free: 9.801 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.2957, allocations: 265.4 kB / 1.126 GB, free: 9.512 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2959, allocations: 101.4 kB / 1.126 GB, free: 9.391 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.536e-05/0.2959, allocations: 16.97 kB / 1.126 GB, free: 9.375 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.296, allocations: 24.48 kB / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.296, allocations: 0 / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of Templates: time 0.006308/0.3023, allocations: 2.619 MB / 1.129 GB, free: 6.766 MB / 1.076 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 -s ida -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/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: 8.110446964972652]