Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001372/0.001372, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001511/0.001511, allocations: 215.6 kB / 22.99 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.443/3.443, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002085/0.002085, allocations: 72.33 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003643/0.358, allocations: 1.699 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.3609, allocations: 1.712 MB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.361, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.3613, allocations: 39.77 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.3617, allocations: 107.5 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.362, allocations: 95.64 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3622, allocations: 143.5 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.3623, allocations: 9.641 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3625, allocations: 71.62 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3627, allocations: 50.12 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3627, allocations: 8 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.3629, allocations: 115.9 kB / 1.369 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.363, allocations: 27.91 kB / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.363, allocations: 39.73 kB / 1.369 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.3634, allocations: 207.2 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3634, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3634, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3634, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 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.0006754/0.364, allocations: 397.2 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3641, allocations: 12.03 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.3642, allocations: 28.83 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3645, allocations: 159.1 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3646, allocations: 4.375 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3646, allocations: 8.125 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3648, allocations: 130.7 kB / 1.37 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3648, allocations: 4 kB / 1.37 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3649, allocations: 0 / 1.37 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3649, allocations: 7.984 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.365, allocations: 55.89 kB / 1.37 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.3653, allocations: 155.1 kB / 1.37 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.3655, allocations: 111.8 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3657, allocations: 50.62 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3657, allocations: 0 / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3659, allocations: 125.8 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3659, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.3664, allocations: 169.5 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.3665, allocations: 132.8 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3667, allocations: 203.2 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3668, allocations: 29.7 kB / 1.371 GB, free: 7.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3668, allocations: 104.1 kB / 1.371 GB, free: 7.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3669, allocations: 23.84 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.3669, allocations: 21.72 kB / 1.371 GB, free: 7.129 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3671, allocations: 330.8 kB / 1.371 GB, free: 6.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3672, allocations: 39.91 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3673, allocations: 89.97 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.3676, allocations: 103.6 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3676, allocations: 0 / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003219/0.3679, allocations: 145.4 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3679, allocations: 4 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.3679, allocations: 8.094 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3679, allocations: 0 / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3681, allocations: 23.92 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.3681, allocations: 0 / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.3681, allocations: 23.86 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3682, allocations: 4 kB / 1.371 GB, free: 6.324 MB / 1.061 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.0001191/0.3683, allocations: 121.8 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.3683, allocations: 19.84 kB / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3686, allocations: 127 kB / 1.372 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3686, allocations: 8 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3686, allocations: 0 / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3686, allocations: 0 / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3688, allocations: 149.2 kB / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3688, allocations: 0 / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.3688, allocations: 15.98 kB / 1.372 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3689, allocations: 7.938 kB / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3689, allocations: 0 / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3689, allocations: 0 / 1.372 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3689, allocations: 4 kB / 1.372 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.3692, allocations: 190.6 kB / 1.372 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.3693, allocations: 15.89 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3693, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.3694, allocations: 11.98 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3694, allocations: 12.27 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3694, allocations: 4 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001518/0.3696, allocations: 153.1 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3696, allocations: 3.938 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002752/0.3699, allocations: 51.8 kB / 1.372 GB, free: 5.371 MB / 1.061 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.001891/0.3718, allocations: 0.5328 MB / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.372, allocations: 87.88 kB / 1.373 GB, free: 4.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3721, allocations: 3.938 kB / 1.373 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3722, allocations: 47.91 kB / 1.373 GB, free: 4.914 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3725, allocations: 32.94 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3731, allocations: 299.4 kB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.447e-05/0.3731, allocations: 105 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.3732, allocations: 19.42 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3732, allocations: 0 / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of Templates: time 0.00486/0.3781, allocations: 2.637 MB / 1.376 GB, free: 1.785 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.996874776203185]