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.001624/0.001624, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001902/0.001902, allocations: 208.9 kB / 22.99 MB, free: 4.957 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.221/3.221, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002006/0.002006, allocations: 73.06 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003232/0.3677, allocations: 1.684 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.3705, allocations: 1.726 MB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.3705, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3708, allocations: 35.78 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3712, allocations: 111.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.3714, allocations: 99.66 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3716, allocations: 143.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.3717, allocations: 5.641 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3718, allocations: 67.7 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.372, allocations: 55.75 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.372, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3722, allocations: 111.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.3723, allocations: 31.86 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.3724, allocations: 39.8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.3727, allocations: 203.2 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3727, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3727, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3727, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 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.0007003/0.3734, allocations: 405.1 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3734, allocations: 8.031 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3736, allocations: 28.77 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3739, allocations: 167.1 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3739, allocations: 384 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3739, allocations: 8.125 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3742, allocations: 126.8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3742, allocations: 3.938 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3743, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3743, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.3745, allocations: 59.95 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.3747, allocations: 151.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.375, allocations: 115.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3751, allocations: 46.61 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3751, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3754, allocations: 113.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3754, allocations: 7.938 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005114/0.3759, allocations: 173.4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.376, allocations: 132.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3762, allocations: 203.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3762, allocations: 29.7 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3763, allocations: 108.1 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.3764, allocations: 23.84 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3764, allocations: 33.95 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3766, allocations: 322.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3767, allocations: 31.97 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3769, allocations: 93.97 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.3771, allocations: 99.33 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3771, allocations: 4.031 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003137/0.3774, allocations: 137.4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3774, allocations: 8 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3774, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3774, allocations: 3.984 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3776, allocations: 23.98 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3776, allocations: 4 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.3777, allocations: 15.98 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3777, allocations: 4.188 kB / 1.334 GB, free: 9.688 MB / 1.029 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.0001257/0.3778, allocations: 131.8 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.3778, allocations: 23.78 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.3781, allocations: 123.4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3781, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3781, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3781, allocations: 8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3783, allocations: 145.3 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3783, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.3784, allocations: 27.92 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3784, allocations: 3.938 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3784, allocations: 4 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3784, allocations: 0 / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3784, allocations: 80 / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3788, allocations: 186.6 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3788, allocations: 23.81 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3788, allocations: 7.938 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3789, allocations: 15.98 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.379, allocations: 7.984 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.379, allocations: 4 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001718/0.3792, allocations: 153.2 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3792, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002914/0.3795, allocations: 47.86 kB / 1.335 GB, free: 8.719 MB / 1.029 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.00204/0.3815, allocations: 0.5274 MB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.3818, allocations: 95.88 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3818, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.382, allocations: 47.91 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3823, allocations: 33.66 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.3829, allocations: 257.5 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.383, allocations: 105.3 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.3831, allocations: 25.23 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.3832, allocations: 23.42 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3832, allocations: 0 / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of Templates: time 0.00649/0.3897, allocations: 2.752 MB / 1.338 GB, free: 5.062 MB / 1.029 GB " [Timeout remaining time 300] 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 cvode -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: 9.0673564250028]