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.001784/0.001784, allocations: 77.86 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.002158/0.002158, allocations: 160.3 kB / 23.02 MB, free: 4.941 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.859/2.859, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] 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.002192/0.002192, allocations: 63.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7946, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002599/0.7972, allocations: 1.691 MB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.7992, allocations: 1.721 MB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.7993, allocations: 2.062 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.7995, allocations: 43.56 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.7998, allocations: 106.6 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.8, allocations: 99.23 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.8002, allocations: 144.9 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.8002, allocations: 11.02 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.8004, allocations: 61.83 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.8005, allocations: 56.98 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.8006, allocations: 10.97 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.8007, allocations: 104.8 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.8008, allocations: 26.83 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.8009, allocations: 42.45 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.8011, allocations: 197.3 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8012, allocations: 1.25 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8012, allocations: 4 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8012, allocations: 0 / 1.191 GB, free: 13.49 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.0005485/0.8017, allocations: 395.1 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.8017, allocations: 9.094 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.8019, allocations: 19.31 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.8021, allocations: 172 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.8021, allocations: 1.562 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.8022, allocations: 11.27 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.8024, allocations: 129.3 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8024, allocations: 1.094 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8024, allocations: 0 / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8024, allocations: 1.062 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.8026, allocations: 56.25 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.8028, allocations: 155.1 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.803, allocations: 115.1 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.8031, allocations: 51.56 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8031, allocations: 2.406 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.8034, allocations: 135.3 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.8034, allocations: 0 / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004821/0.8038, allocations: 174.7 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8039, allocations: 135.4 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.804, allocations: 201 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.8041, allocations: 27.86 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.8041, allocations: 104.8 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.8041, allocations: 27.02 kB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.8042, allocations: 27.23 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.8042, allocations: 327.5 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.8044, allocations: 32.52 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.8045, allocations: 98.41 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.8047, allocations: 100.3 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8047, allocations: 0 / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003023/0.805, allocations: 143.7 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.805, allocations: 9.312 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.805, allocations: 5.969 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.805, allocations: 1.844 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.8052, allocations: 20.75 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.8052, allocations: 1.219 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.8052, allocations: 7.609 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.8053, allocations: 3.875 kB / 1.193 GB, free: 11.37 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.989e-05/0.8053, allocations: 124.5 kB / 1.194 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.8054, allocations: 19.66 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.8056, allocations: 131.6 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8056, allocations: 1.094 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8056, allocations: 1.672 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8056, allocations: 1.953 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.8057, allocations: 151.2 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8057, allocations: 1.031 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.8058, allocations: 17.11 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.8058, allocations: 5.156 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.8058, allocations: 2.828 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.8058, allocations: 5.969 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8058, allocations: 5.031 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.8062, allocations: 182.7 kB / 1.194 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.8062, allocations: 22.52 kB / 1.194 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.8062, allocations: 10.94 kB / 1.194 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.8063, allocations: 7.906 kB / 1.194 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.8064, allocations: 8.672 kB / 1.194 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.8064, allocations: 8.672 kB / 1.194 GB, free: 10.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001154/0.8065, allocations: 151.6 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8065, allocations: 7.938 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002824/0.8068, allocations: 51.89 kB / 1.194 GB, free: 10.74 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.001806/0.8086, allocations: 0.5207 MB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.8089, allocations: 89.58 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8089, allocations: 4.844 kB / 1.195 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.809, allocations: 51.16 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.8093, allocations: 35.62 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.8097, allocations: 261.3 kB / 1.195 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.8098, allocations: 97.2 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.8099, allocations: 21.59 kB / 1.195 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.8099, allocations: 22.62 kB / 1.195 GB, free: 10.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.8099, allocations: 0 / 1.195 GB, free: 10.18 MB / 1.076 GB Notification: Performance of Templates: time 0.006074/0.816, allocations: 2.638 MB / 1.198 GB, free: 9.824 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.473166467039846]