Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001285/0.001285, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001294/0.001294, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.39/1.39, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.756/2.756, allocations: 377.9 MB / 0.6228 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002076/0.002076, allocations: 70.55 kB / 0.9819 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7451, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002542/0.7477, allocations: 1.681 MB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.7495, allocations: 1.729 MB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.7496, allocations: 0 / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.7499, allocations: 41.02 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.7501, allocations: 106.5 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.7503, allocations: 95.08 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.7505, allocations: 137.4 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.7505, allocations: 11.64 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.7506, allocations: 70.06 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.7508, allocations: 59.48 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.7508, allocations: 8.312 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.751, allocations: 110.4 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.751, allocations: 27 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.7511, allocations: 35.78 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.7513, allocations: 205.4 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7513, allocations: 6.719 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7513, allocations: 3.938 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7513, allocations: 0 / 1.158 GB, free: 30.53 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.0004986/0.7518, allocations: 390.6 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.7518, allocations: 8 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.752, allocations: 23.14 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.7522, allocations: 174.5 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7522, allocations: 3.656 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.7522, allocations: 10.56 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.7524, allocations: 132.7 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7524, allocations: 3.031 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7524, allocations: 4 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7524, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.7526, allocations: 61.81 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.7527, allocations: 153.3 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.753, allocations: 113.6 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.7531, allocations: 52.59 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.7531, allocations: 2.562 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.7533, allocations: 118.7 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.7533, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004282/0.7537, allocations: 171.1 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7537, allocations: 131.3 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.7539, allocations: 208.9 kB / 1.16 GB, free: 29.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.7539, allocations: 25.7 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.7539, allocations: 109.1 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.754, allocations: 29.78 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.754, allocations: 23 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.754, allocations: 327.9 kB / 1.16 GB, free: 28.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.7541, allocations: 32.06 kB / 1.16 GB, free: 28.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.7542, allocations: 94.94 kB / 1.16 GB, free: 28.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.7544, allocations: 102.7 kB / 1.16 GB, free: 28.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7544, allocations: 2.844 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000267/0.7547, allocations: 137.6 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7547, allocations: 10.59 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.7547, allocations: 96 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7547, allocations: 4 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.7548, allocations: 20.59 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.7548, allocations: 6.812 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.7549, allocations: 17 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.7549, allocations: 6.781 kB / 1.161 GB, free: 28.39 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 6.214e-05/0.755, allocations: 121.6 kB / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.755, allocations: 19.81 kB / 1.161 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.7552, allocations: 124.4 kB / 1.161 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7552, allocations: 7.531 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7552, allocations: 3.938 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7552, allocations: 3.375 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.7554, allocations: 147.1 kB / 1.161 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7554, allocations: 0 / 1.161 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.7554, allocations: 18.59 kB / 1.161 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7554, allocations: 3.938 kB / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7554, allocations: 10.3 kB / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7554, allocations: 0 / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7554, allocations: 0 / 1.161 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.7557, allocations: 182.5 kB / 1.161 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.7558, allocations: 25.44 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.7558, allocations: 6.141 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.7559, allocations: 5.688 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.7559, allocations: 13.11 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7559, allocations: 5.062 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.662e-05/0.756, allocations: 151.6 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.756, allocations: 0 / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002611/0.7563, allocations: 49.91 kB / 1.162 GB, free: 27.79 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.001723/0.758, allocations: 0.5436 MB / 1.162 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.7583, allocations: 85.25 kB / 1.162 GB, free: 27.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7583, allocations: 0 / 1.162 GB, free: 27.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.7584, allocations: 47.84 kB / 1.162 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.7586, allocations: 39.2 kB / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.759, allocations: 252.4 kB / 1.162 GB, free: 27.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.7591, allocations: 101.2 kB / 1.163 GB, free: 27.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.7592, allocations: 23.28 kB / 1.163 GB, free: 27.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.7592, allocations: 26.84 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.7592, allocations: 4 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of Templates: time 0.005034/0.7642, allocations: 2.623 MB / 1.165 GB, free: 26.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.208982375916094]